Tuesday, February 22, 2011

Terminal Services - Command Reference

The following is a list of Terminal Services command-line tools.
  • Change - Changes terminal server settings for log-on, COM port mappings, and install mode.
  • Change logon - Enables or disables log-on from client sessions on a terminal server, or displays current log-on status.
  • Change port - Lists or changes the COM port mappings to be compatible with MS-DOS applications.
  • Change user - Changes the install mode for the terminal server.
  • Chglogon - Enables or disables log-on from client sessions on a terminal server, or displays current log-on status.
  • Chgport - Lists or changes the COM port mappings to be compatible with MS-DOS applications.
  • Chguser - Changes the install mode for the terminal server.
  • Flattemp - Enables or disables flat temporary folders.
  • Logoff - Logs off a user from a session on a terminal server and deletes the session from the server.
  • Msg - Sends a message to a user on a terminal server.
  • Mstsc - Creates connections to terminal servers or other remote computers.
  • Qappsrv - Displays a list of all terminal servers on the network.
  • Qprocess - Displays information about processes that are running on a terminal server.
  • Query - Displays information about processes, sessions, and terminal servers.
  • Query process - Displays information about processes that are running on a terminal server.
  • Query session - Displays information about sessions on a terminal server.
  • Query termserver - Displays a list of all terminal servers on the network.
  • Query user - Displays information about user sessions on a terminal server.
  • Quser - Displays information about user sessions on a terminal server.
  • Qwinsta - Displays information about sessions on a terminal server.
  • Rdpsign - Enables you to digitally sign a Remote Desktop Protocol (.rdp) file.
  • Reset session - Enables you to reset (delete) a session on a terminal server.
  • Rwinsta - Enables you to reset (delete) a session on a terminal server.
  • Shadow - Enables you to remotely control an active session of another user on a terminal server.
  • Tscon - Connects to another session on a terminal server.
  • Tsdiscon - Disconnects a session from a terminal server.
  • Tskill - Ends a process running in a session on a terminal server.
  • Tsprof - Copies the Terminal Services user configuration information from one user to another.
Ref: http://technet.microsoft.com/en-us/library/cc725766%28WS.10%29.aspx

No comments:

Post a Comment