Showing posts with label Windows Terminal Services. Show all posts
Showing posts with label Windows Terminal Services. Show all posts

Friday, December 19, 2014

How to Fix Local Resources not Mapping with RDP session Windows 2008



How to Fix Local Resources not Mapping with RDP session Windows 2008:


Recently ran into an issue where several servers would not honor the local resources map when running a Remote Desktop Session to a Windows 2008 R2 server. Since this was not controlled by Group Policy I was able to fix the issue. Below are the steps used to correct it.

(read: a check in this box means drive & printer mapping is DISABLED)
  Windows 2008: Click Start, Administrative Tools, Terminal Services, Terminal Services Configuration. On the left pane, select RD Session Host Configuration and then right-click RDP-Tcp within the Connections section of the right-hand pane, then select Properties. In the window that pops up, click the Client Settings tab and make sure that the box next to Drive & Printer is UNCHECKED.

Windows 2008 R2: Click Start, Administrative Tools, Remote Desktop Services, Remote Desktop Host Configuration. On the left pane, select RD Session Host Configuration and then right-click RDP-Tcp within the Connections section of the right-hand pane, then select Properties. In the window that pops up, click the Client Settings tab and make sure that the box next to Drive & Printer is UNCHECKED.

Windows 2003 R2: Click Start, Administrative Tools, Terminal Services Configuration. Select the Connections folder and right-click RDP-Tcp and select Properties. In the window that pops up, click the Client Settings tab and make sure that the box next to Drive & Printer Mapping is UNCHECKED.
And that is all there is to it!

Friday, February 7, 2014

Manage Terminal Sessions Remotely..


How to manage Terminal Services Sessions Remotely?



Have you ever had to remote into a server , but unable to log in as the server had exceed the maximum number of 2 sessions? Frustrating isn’t it?


QWINSTA and RWINSTA to the rescue and their definitions are as follows:

  • QWINSTA: Query WINdows STAtion
  • RWINSTA: Reset WINdows STAtion


                                                            Click to Enlarge


How to use:

  1. Run the command: QWINSTA /server:xxx.xxx.xxx. Where xxx.xxx.xxx is the ip address you wish to RDP into. You can also key in the server name instead. 

  2. Look for the USERNAME, ID, and STATE columns. Mark the ID for the connection your wish to reset (kill). Usually, it is the one with the STATE of disconnected (Disc). If you must reset one that’s active, you should pick up the phone and call that individual. 

  3. To kill the session that you had identified, run the command RWINSTA ID /Server:xxx.xxx.xxx. Where xxx.xxx.xxx is the ip address of the server and ID is the session ID you wish to reset. 

    Example:
    QWINSTA /Server:Server1
    RWINSTA 0 /Server:Server1