Terminal Services commands

Posted on

• Change logon

Enables or disables logons from client sessions, or displays current logon status. This utility is useful for system maintenance.

• Change port

Lists or changes the COM port mappings to be compatible with MS-DOS applications.

• Change user

Changes the setting for .ini file mapping.

• Cprofile

Cleans specified profiles of wasted space and, if user-specific file associations are disabled, removes these associations from the registry. Profiles that are currently in use are not modified.

• Flattemp

Enables or disables flat temporary folders.

• Logoff

Logs off a user from a session and deletes the session from the server.

• Msg

Sends a message to a user.

• Mstsc

Creates connections to terminal servers or other remote computers, edits an existing Remote Desktop Connection (.rdp) configuration file, and migrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.

• Query process

Displays information about processes running on a terminal server. You can use this command to find out which programs a specific user is running, and also which users are running a specific program.

• Query session

Displays information about sessions on a terminal server. The list includes information not only about active sessions but about other sessions that the server runs.

• Query termserver

Displays a list of all terminal servers on the network.

• Query user

Displays information about user sessions on a terminal server.

• Register

Registers a program so that it has special execution characteristics.

• Reset session

Enables you to reset (delete) a session from the terminal server.

• Shadow

Enables you to remotely control an active session of another user.

• Tscon

Connects to another session.

• Tsdiscon

Disconnects a session from a terminal server.

• Tskill

Ends a process.

• Tsprof

Copies the user configuration information, which is displayed in the Terminal Services extensions to Local Users and Groups and Active Directory Users and Computers, from one user to another. Tsprof can also set the profile path for a user.

• Tsshutdn

Enables an administrator to remotely shut down or reboot a terminal server. You can also choose to power off the server if the computer supports software control of AC power.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s