Thursday, June 15, 2017

Solutions for : RDP Tuning, Speed Up Remote Desktop, RDP Frozen Mouse and Keyboard

Issue:

Combined the below tips to solve an overall slow and slugish RDP session between Win7 and Win2012 Server, These tips generally apply to Win7/Win8 and Win2008/2012:

Solutions

1)  Reg Edit –> Tcpip

    Open RegEdit on the Windows Server machine.
    Navigate to this registry key in the tree on the left:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    Right-click on the right side, and add a new DWORD (32-bit) Value
    Set the value name to DisableTaskOffload and the value data to 1
   Reconnect to the Server via RDP (to a new session) and your performance should be normal.

2) Tune RDP Settings in Gpedit.mscQuestion

On the server:
Computer Config > Windows Settings > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections > Select RDP transport protocol = Use only TCP
On the client:
Computer Config > Windows Settings > Admin Templates > Windows Components > Remote Desktop Services > Remote Desktop Connection Client > Turn off UDP on Client = Enabled

 

3) Disable FIPS  [Optional]

Found the culprit...FIPS security setting is the cause.  Now why the heck 2012 can't handle FIPS and 2008R2 can is beyond me especially since this security setting comes straight from Microsoft's Security Compliance Manager 3.

I've verified it by disabling the setting and rebooting...nice and fast...enable the setting, reboot...slow...disable/reboot...fast again...and it's only the FIPS setting:

Computer Config>>Policies>>Windows Settings>>Security Settings>>Local Policies>>Security Options>>System Cryptography>>Use FIPS compliant algorithms for encryption, hashing, and signing.

 

Reference Articles:
BEST:
https://social.technet.microsoft.com/Forums/ie/en-US/6ed6500d-33f7-4f0c-89fb-8d8442c7a229/extremely-slow-rdp-session-solved?forum=winserverTS
and   
https://social.technet.microsoft.com/Forums/windowsserver/en-US/56b3b9a1-3589-451a-afca-71afcc216fd9/remote-system-input-device-not-working?forum=winserverTS

and See

Performance Tuning Windows 2012: Network Subsystem–Part 1

No comments:

Post a Comment