Wednesday 27 November 2013

How to keep Remote desktop active for Long Duration

While doing testing/monitoring the server, it is common now days to use access server machine using remote desktop (one of best feature I must say). Even while doing manual testing using remote desktop is common these days. Now some time your remote desktop session get expire soon and monitoring get interrupt for tester.

Before, I share that how we can increase session time of remote desktop service. Let me share a basic idea of remote desktop.

Remote desktop service is technique of feature which enables any system user to access other machine of network using proper authentication without reaching out to the system physically.

Many of you of course already know it. Remote desktop is also known as “Terminal Services”.

Terminal service is windows component which can be installed using “Turn on or off windows components” from control panel.

Using “mstsc” cmd command you can open RD (remote desktop) and enter computer information with authentication information and you can easily connect to another system.

To keep remote desktop connection active for long duration:

Step 1: Go to “Administrative Tools->Terminal Services”
Step 2: Go to “Configuration”
Step 3: Open the “Connection” folder using tree view
Step 4: Select “RDP-TCP” and right click on it
Step 5: Select “Properties”
Step 6: Go To “Session” Tab
Step 7: Make sure that “Override user settings” check box is selected
Step 8: Set “idle session time” as max (2 days) from default value (2 hours)
Step 9: Click on “Apply”
Step 10: Click on “Ok” and a confirmation message will appear then click “Ok” to confirm changes of time.

Please note that connection of RDP which are already established before changing above setting will be not impacted by this.