Which commands should you run?

Your company has an Active Directory domain.
The company runs Remote Desktop Services.
All Remote Desktop Services accounts are configured to allow session takeover without permission.
A user has logged on to a server named Server2 by using an account named User1.
The session ID for User1 is 1337.
You need to perform a session takeover for session ID 1337.
Which commands should you run?

Your company has an Active Directory domain.
The company runs Remote Desktop Services.
All Remote Desktop Services accounts are configured to allow session takeover without permission.
A user has logged on to a server named Server2 by using an account named User1.
The session ID for User1 is 1337.
You need to perform a session takeover for session ID 1337.
Which commands should you run?

A.
Chgusr 1337 /disable, and then Tscon 1337

B.
Takeown /U User1 1337, and then Tscon 1337

C.
Tsdiscon 1337, and then Chgport /U User1 1337

D.
Tsdiscon 1337, and then Tscon 1337

Explanation:
* tsdiscon
Disconnects a session from a terminal server.
tsdiscon [ | ] [/server:] [/v]
Parameter
Description

Specifies the ID of the session to disconnect.

Specifies the name of the session to disconnect.
/server:
Specifies the terminal server that contains the session that you want to disconnect. Otherwise, the current terminal server is used.
/v
Displays information about the actions being performed.
/?
Displays help at the command prompt.
Source: http://technet.microsoft.com/en-us/library/cc770592(WS.10).aspx
* tscon
Connects to another session on a terminal server.
tscon { | } [/dest:] [/password: | /password:*] [/v]
Parameter
Description

Specifies the ID of the session to which you want to connect. If you use the optional /dest: parameter, this is the ID of the session to which you want to connect.

Specifies the name of the session to which you want to connect.
/dest:
Specifies the name of the current session. This session will disconnect when you connect to the new session.
/password:
Specifies the password of the user who owns the session to which you want to connect. This password is required when the connecting user does not own the session.
/password:*
Prompts for the password of the user who owns the session to which you want to connect.
/v
Displays information about the actions being performed.
/?
Displays help at the command prompt.
Source: http://technet.microsoft.com/en-us/library/cc770988(WS.10).aspx
Wrong answers:
* chgport
Lists or changes the COM port mappings to be compatible with MS-DOS applications.
Source: http://technet.microsoft.com/en-us/library/cc771976(WS.10).aspx
* chgusr
Changes the install mode for the terminal server.
Source: http://technet.microsoft.com/en-us/library/cc755189(WS.10).aspx
* takeown
Enables an administrator to recover access to a file that previously was denied, by making the administrator the owner of the file.
Source: http://technet.microsoft.com/en-us/library/cc753024(WS.10).aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *