Quick Fix : SBS 2011 Essentials RDP Timeouts (Remote Web Access)
August 4, 2011 5 Comments
If you are using RWA in SBS 2011 you may find that having connected to your Computer, then working on something else for a period of time, you go to switch back to your Computer and find you have been Disconnected! This can be a source of annoyance to those multi-tasking users we look after, and we don’t really want to give them any more reasons to be annoyed right?
Luckily it is relatively simple to increase the period of inactivity before a timeout occurs, likewise you can decrease it if you wish to as well.
The default for a disconnect is 60 Minutes.
To edit these settings, we first have to enable the Remote Desktop Gateway Manager tool.
Even though this ‘Role’ is installed into SBS by default, the management tool itself is hidden
You will need to open an Elevated Command Prompt, to do that, find the CMD.exe icon, right click and click on ‘Run As Administrator’
Next you need to enter:
dism /online /Enable-Feature:Gateway-UI
You will see the status of the Imaging Servicing and Maintenance tool, and after a few moments be returned to a CMD prompt.
Now you can open up the Management tool from your Administrative Tools menu.
Expand your Servername and then expand Policies. In the details pane, right click the policy ‘DOMAIN_CAP_DEFAULT’ and go to properties.
You can see clearly here the ‘Disconnect Session after Idle’ setting, and change the value to suit your needs.
When you have changed the setting click OK. Your settings will be active immediately but may not affect sessions that are already in progress.
To change the timeouts for the entire Remote Web Access site, you can follow Tim Barrett’s blog post for SBS 2008.
Changing this setting will affect the timeouts for the RWA page, for accessing files and folders stored on the Server.
The article mentions ‘Companyweb’ for SBS 2008, but can be transferred for The Default Website on SBS 2011 Essentials to affect the RWA page.