Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 31. Remote Desktop Services > Modifying Logon Capabilities with change ...

Modifying Logon Capabilities with change logon

You can enable and disable client logons to RDS or TS servers with the change logon command.

change logon CommandsComments
Disable logons.
C:\>change logon /disable

You can use this to prevent new users from logging on without affecting the users who are currently logged on.

Note

Logons are automatically reenabled when the system is restarted.

Enable logons.
C:\>change logon enable

Reenables user logons after they have been disabled.
Identify current mode.
C:\>change logon /query

Displays the current session logon status.
C:\>change logon /drain

Disables new user logons but allows reconnections to existing sessions.
C:\>change logon /drainuntilrestart

Disables new user logons until the server is restarted but allows reconnections to existing sessions.



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial