XenApp 6.x – How To Disable Microsoft RDS CPU Fair Sharing

XenApp 6.x – How To Disable Microsoft RDS CPU Fair Sharing

Introduction

This article provides the steps required to disable Microsoft Remote Desktop Services CPU Fair Sharing on a Windows 2008 R2 server.

Disabling Microsoft RDS CPU Fair Sharing is required if using the XenApp CPU Management feature on XenApp 6.x servers.

There are two ways which the Microsoft RDS CPU Fair Sharing can be disabled which are by Group Policy or by editing the Registry.  The following sub sections provide the steps to disable it using both methods.

Disabling Using A Group Policy

To disable Microsoft RDS CPU Fair Sharing using a Group Policy perform the following steps :-

  • Create a new Group Policy through the Group Policy ManagementConsole
  • Expand the Computer Configuration section and then expand theAdministrative Templates branch
  • Expand down through the Windows Components branch to the following branch

Remote Desktop Services \ Remote Desktop Session Host \ Connections

  • Enable the setting Turn off Fair Share CPU Scheduling
  • Close the newly created Group Policy and apply it to the relevant Organisational Unit where the XenApp 6.x servers reside

Disabling Via The Registry

To disable Microsoft RDS CPU Fair Sharing via the Registry perform the following steps :-

  • Open regedt32 on the XenApp 6.x server
  • Navigate to the key below

HKEY_LOCAL_MACHINE \ Software \ Policies \ Microsoft \ Windows \ SessionManager \ DFSS

  • Add a new DWORD Setting named EnableDFSS and set it to 0

Update – Known Issue With GPO & Registry Settings Not Functioning

There are known issues with the GPO Setting and Registry Settings above not functioning which can be viewed here.

To disable Microsoft RDS CPU Fair Sharing if the above two methods do not work perform the following steps :-

  • Open regedt32 on the XenApp 6.x server
  • Navigate to the key below

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Quota System

  • Modify the DWORD Setting named EnableCpuQuota and set it to 0

N.B. Once any of the methods above have been implemented a reboot will be required.