chglogon

Change Logon Utility

Change Logon Utility


chglogon

  • C:\Windows\system32\chglogon.exe /?

STDERR:

Enable, disable, or drain session logins.

CHANGE LOGON {/QUERY | /ENABLE | /DISABLE | /DRAIN | /DRAINUNTILRESTART}

  /QUERY    Query current session login mode.
  /ENABLE   Enable user login from sessions.
  /DISABLE  Disable user login from sessions.
  /DRAIN    Disable new user logons, but allow reconnections to existing sessions.
  /DRAINUNTILRESTART    Disable new user logons until the server is restarted, but allow reconnections to existing sessions.

Return Code: 0


C:\Windows\system32\chglogon.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size23552bytes
Creation Time2019/12/07 18:09:59
LastWrite Time2019/12/07 18:51:00
ProductVersion10.0.19041.1
FileVersion10.0.19041.1 (WinBuild.160101.0800)
HashValue
MD596c637283d92573c121b34513c267987
SHA11556fdc9ee7e3f8c8729932e0d5e660dfd69cc53
SHA2245af9564b035c5677fed5846b469bc9385a03c27876fc822e51e822ff
SHA256a9cc2b03783896c6596d8f4e4cc3db555a9096264bc8253478d1f0f0fbb2b74b
SHA384f4a07779db4957dc86365f6165385b0056d5ca01099bc5be32070da905a00c4afd3b5918e21aa4e5b07a9559071424bc
SHA512a7aa96670c2b1a2cf8511c4bef0f2742fa3e2bbe8b797d380652b8bc8d57182fc97fe1fb41b6de3279febdfec9af280c7c9df9641be0685ffb90219caf68dff2
Built with Hugo
Theme Stack designed by Jimmy