Server 2012 R2 Shadow

List connected users and session ID:

From command prompt qwinsta.exe

 

Shadow user:

mstsc /shadow:ID

Shadow user with control:

mstsc /shadow:ID /control

Shadow user with control with no user prompt:

mstsc /shadow:ID /control /noconsentprompt

Grant a non administrator group rights to shadow a user:

wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TSPermissionsSetting WHERE (TerminalName =”RDP-Tcp”) CALL AddAccount “DOMAIN\GROUPNAME”,2

 

 

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

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