Enables or disables logons from client sessions, or displays current logon status. This utility is useful for Terminal Services system maintenance.
Only administrators can use this command.
CHANGE LOGON /?
CHANGE LOGON /disable
CHANGE LOGON /enable
CHANGE LOGON /query
Logons are re-enabled when you restart the system. If you are connected to the terminal server from a client session and disable logons, and then log off before re-enabling logons, you will not be able to reconnect from your session. Log on at the console in order to re-enable logons from client sessions.Examples