First published on TECHNET on Mar 06, 2012
Good morning AskPerf! There are several issues that have been associated with a high number of inactive Terminal Server ports. Delayed logon times to RDP sessions, failure of printers to redirect, and slow server performance due to registry bloat from all the ports. These inactive TS ports accumulate because the Remote Desktop Services Device Redirector service creates a new port every time an RDP session is established, but the ports are not always recycled. Every RDP session can possibly create a new port, and every ended session means a new inactive port. Performance degradation is known to occur when 250 or more TS ports exist in the registry. Increasingly large numbers of redirected devices will exacerbate performance delays.
Because the Hotfix and the FixIt perform two different functions, you must install the Hotfix and run the FixIt one time on your 2008 R2 Remote Desktop Server.
For down-level operating systems such as Server 2003, Server 2008 Terminal Servers and Windows 7 in a
scenario, we highly recommend a scheduled task be created to execute the Inactive TS Port FixIt on a bi-weekly basis, since the hotfix only supports Windows Server 2008 R2 at this time.
The FixIt is an MSI package so you can run it silently with no user interaction required. Follow these simple steps:
1. Locate the MSI file in Windows Explorer and note the exact path to it
2. Click Start and type in the following:
msiexec /package “path” /quiet
For example, if the MSI file MicrosoftFixit50833.msi is located in the “temp” folder of your C drive, then the path would be C:tempMicrosoftFixit50833.msi and the command would look like this: