Tag Archives: logoff

Windows: GPO Logon/logoff scripts

Hi,

User GPO logon/logoff script definitions are stored in an extra place. They are not part of C:\windows\System32\grouppolicy\user\registry.pol nor they can be exported my secedit.
Continue reading Windows: GPO Logon/logoff scripts

Advertisment to support michlstechblog.info

Windows: Howto terminate a RDP Session remotely by command line

Hi,

when a RDP sessions hangs there are multiple ways to destroy it. The command line way:

Identify the RDP Session ID. Use quser


C:\>quser /Server:YourWindowsServer
 USERNAME              SESSIONNAME        ID  STATE   IDLE TIME  LOGON TIME
 winuser               rdp-tcp#6           2  Active          3  24.09.2014 22:26

Continue reading Windows: Howto terminate a RDP Session remotely by command line