Reset session


Applies To: Windows Server 2008,Windows Vista

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

For examples of how to use this command, see Examples.

Syntax


Copy Code

reset session {<SessionName> | <SessionID>} [/server:<ServerName>] [/v]

Parameters

Parameter

Description

<SessionName>

Specifies the name of the session that you want to reset. To determine the name of the session, use the query session command.

<SessionID>

Specifies the ID of the session to reset.

/server:<ServerName>

Specifies the terminal server containing the session that you want to reset. Otherwise, the current terminal server is used.

/v

Displays information about the actions being performed.

/?

Displays help at the command prompt.

Remarks

Examples


Copy Code

reset session rdp-tcp#6


Copy Code

reset session 3

Additional references

Command-Line Syntax Key

Terminal Services Command Reference