CitrixTools.Net Articles

Current Articles | Categories | Search | Syndication

XenDesktop Tuning Tips

 

Following the Article written by Paul Wilson on the Citrix Community Blog and my Article related to Terminal Server & XenApp Tuning I decided to also write this little article related to XenDesktop Tuning.
Many values were taken from XenApp Tuning because they can also be applied to Windows XP / Vista / 7.
Do not hesitate to give us your comments for this Article to be updated with your experience and feedback.
Please note that these informations are provided "as is" and that using these tips is at your own risks.
Please also Note that all REG_DWORD values are provided in decimal format.
All Registry Hives are provided for x86 platforms. For x64 Platforms, do not forget to add "WoW6432Node" if hive is in HKLM\Software.
 
Operating System Tuning for XenDesktop
 
Registry Hive
Value
Type
Data
Purpose(s)
Platform(s)
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters
 DisableDHCPMediaSense
 REG_DWORD
 1
Disables Windows AutoSense
 Windows XP / Windows Vista 
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters
 KeepAliveTime
 REG_DWORD
 60000
Determines how often TCP sends keep-alive transmissions
 Windows XP / Windows Vista 
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters
 KeepAliveInterval
 REG_DWORD
 100
Determines how often TCP repeats keep-alive transmissions when no response is received
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters
 TcpMaxDataRetransmissions
 REG_DWORD
 10
Determines how many times TCP retransmits an unacknowledged data segment on an existing connection
 Windows XP / Windows Vista
HKLM\SOFTWARE\microsoft\Windows NT\CurrentVersion\Winlogon
 WaitForNetwork
 REG_DWORD
 1
Enables Netlogon to wait for the Network to be active
 Windows XP / Windows Vista
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
 Debugger
 REG_SZ
 Nothing ("")
Disables Dr Watson
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\wuauserv
 Start
 REG_DWORD
 4
Disables Windows Update Service
 Windows XP / Windows Vista
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects
 VisualFXSetting
 REG_DWORD
 2
Sets Visual effects to "Optimize for Best Performances"
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Control\Print\Providers
 EventLog
 REG_DWORD
 0
Disables Logging of Print Events
 W2K / Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\Spooler
 ErrorControl
 REG_DWORD
 2
Disable Spooler errors from being displayed on the server console
 Windows XP / Windows Vista
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System
 DontDisplayLastUserName
 REG_DWORD
 1
Removes Display of Last Username
 Windows XP / Windows Vista
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
 DeleteRoamingCache
 REG_DWORD
 1
Deletes the Roaming Profiles cache after Logoff
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Control\Windows
 ErrorMode
 REG_DWORD
 2
Disables Console error Messages
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application
 MaxSize
 REG_DWORD
 2097152
Sets Application Event's Log maximum size to 2048
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application
 Retention
 REG_DWORD
 0
Sets Circular Events logging
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Security
 MaxSize
 REG_DWORD
  2097152
Sets Security Event's Log maximum size to 2048
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Security
 Retention
 REG_DWORD
 0
Sets Circular Events logging
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\System
 MaxSize
 REG_DWORD
  2097152
Sets System Event's Log maximum size to 2048
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\System
 Retention
 REG_DWORD
 0
Sets Circular Events logging
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
 fDisableCpm
 REG_DWORD
 1
Disables Terminal Server Client Printers Mapping. This ensures that admin won't upload print drivers when connecting to any server for Administration purposes
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\CiSvc
 Start
 REG_DWORD
 4
Disables the Indexing Service
 Windows XP 
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
 BufferPolicyReads
 REG_DWORD
 1
Optimizes GPO Execution when Opportunistic Locks are Disabled
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem
 NtfsDisableLastAccessUpdate
 REG_DWORD
 1
Sets NTFS not to update the last-access timestamp on each directory when it lists the directories on an NTFS volume
 Windows XP / Windows Vista
 HKLM\SYSTEM\CurrentControlSet\Control\PriorityControl
 Win32PrioritySeparation
 REG_DWORD
 38
Foreground application more reponsive than background
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
 LargeSystemCache
 REG_DWORD
 1
Provides a large virtual address space for the cache.
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
 IoPageLockLimit
 REG_DWORD
 65536
Specifies the maximum number of bytes that can be locked for I/O operations
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
 DisablePagingExecutive
 REG_DWORD
 1
Drivers and the kernel must remain in physical memory
 Windows XP / Windows Vista
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
 MaxWorkItems
 REG_DWORD
 512
Server Service Optimization
 Windows XP / Windows Vista
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
 MaxMpxCt
 REG_DWORD
 2048
Server Service Optimization 
 Windows XP / Windows Vista
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
 MaxFreeConnections
 REG_DWORD
 100
Server Service Optimization
 Windows XP / Windows Vista
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
 MinFreeConnections
 REG_DWORD
 32
Server Service Optimization
 Windows XP / Windows Vista
HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters
 MaxCmds
 REG_DWORD
 2048
Increases Network capacity
 Windows XP / Windows Vista
HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters
 UtilizeNTCaching
 REG_DWORD
 0
Disable Caching
 Windows XP / Windows Vista
HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters
 MaxThreads
 REG_DWORD
 17
Maximum Concurrent Threads
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\MRXSmb\Parameters
 OplocksDisabled
 REG_DWORD
 1
Disables Opportunistic Locking
 Windows XP / Windows Vista
HLM\SYSTEM\CurrentControlSet\Services\Lanmanworkstation\Parameters
 UseOpportunisticLocking
 REG_DWORD
 0
Disables Opportunistic Locking 
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\Lanmanserver\Parameters
 EnableOplocks
 REG_DWORD
 0
Disables Opportunistic Locking  
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\Parameters
 Size
 REG_DWORD
 3
Optimizes Network Performances for Applications (Along with LargeSystemCache)
 Windows XP / Windows Vista
HKLM\System\CurrentControlSet\Control\Session Manager
 RegistryLazyFlushInterval
 REG_DWORD
 30
Registry Flush Interval
 Windows XP / Windows Vista
HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}
 StubPath
 REG_SZ
 ""
Disable Outlook Express Icon Creation
 Windows XP
HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{7790769C-0471-11d2-AF11-00C04FA35D02}
 StubPath
  REG_SZ
 ""
Disable Windows Address Book Icon Creation
 Windows XP
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
 DefaultDomainName
 REG_SZ
 YourDefaultDomain
Sets Default Logon Domain
 Windows XP / Windows Vista
HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions
 RestGoMenu
 REG_DWORD
 1
Disable 'Mail and News' Menu from Internet Explorer
 Windows XP / Windows Vista
HKLM\Software\Microsoft\Windows\CurrentVersion\Applets\Tour
 RunCount
 REG_DWORD
 0
Disable Windows XP Assistant
 Windows XP
HKLM\SYSTEM\CurrentControlSet\Services\wscsvc
 Start
 REG_DWORD
 4
Disables security Center
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\BNNS\Parameters
 EnableOffload
 REG_DWORD
 0
Recommend Performance Best Practice when Your XenApp Servers are Deployed via Provisioning Server
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Control
 ServicesPipeTimeout
 REG_DWORD
 120000
Increases Services Timeout. recommended when using PVS.
 Windows XP / Windows Vista
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
 DisableTaskOffload
 REG_DWORD
 1
Turns off TCP checksum offloading on the network adapter. Recommended when using Provisioning Server
 Windows XP / Windows Vista
Along with these registry settings, do not forget to install UPHClean (Windows XP) to manage profiles at logoff and ensure no lock will remain leading to profiles corruption and long logoff times.
UPHClean is natively embedded into WindowsVista and later (User Profile Service).
Also with XenDesktop, it is recommended to Disable System Restore.
 
Additional Windows Explorer Tuning
 
The following Tuning Values are an extract from an Helge Klein blog post and were added on June, 1rst 2009 (Thanks to Laurent Falguiere for pointing these settings in his comment)
 
Registry Hive
Value
Type
Data
Purpose(s)
Platform(s)
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
 UseDesktopIniCache
 REG_DWORD
 1
http://support.microsoft.com/kb/840309/EN-US
 Windows XP / Windows Vista
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
 NoRemoteRecursiveEvents
 REG_DWORD
 1
http://support.microsoft.com/?scid=kb%3Ben-us%3B330929&x=9&y=10
 Windows XP / Windows Vista
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
 NoRemoteChangeNotify
 REG_DWORD
 1
http://support.microsoft.com/?scid=kb%3Ben-us%3B812669&x=14&y=12
 Windows XP / Windows Vista
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
 StartRunNoHOMEPATH
 REG_DWORD
 1
http://support.microsoft.com/?scid=kb%3Ben-us%3B264061&x=18&y=9
 Windows XP / Windows Vista
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
 NoRecentDocsNetHood
 REG_DWORD
 1
http://support.microsoft.com/?scid=kb%3Ben-us%3B264061&x=18&y=9
 Windows XP / Windows Vista
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
 NoDetailsThumbnailOnNetwork
 REG_DWORD
 1
http://support.microsoft.com/?scid=kb%3Ben-us%3B830903&x=17&y=18
 Windows XP / Windows Vista
HKLM\System\CurrentControlSet\Services\MRXSmb\Parameters
 InfoCacheLevel
 REG_DWORD
 16
http://support.microsoft.com/kb/834350/EN-US
 Windows XP / Windows Vista
HKCR\*\shellex\PropertySheetHandlers\CryptoSignMenu
 SuppressionPolicy
 REG_DWORD
 65536
http://support.microsoft.com/kb/829700/EN-US
 Windows XP / Windows Vista
HKCR\*\shellex\PropertySheetHandlers\{3EA48300-8CF6-101B-84FB-666CCB9BCD32}
 SuppressionPolicy
 REG_DWORD
 65536
http://support.microsoft.com/kb/829700/EN-US
 Windows XP / Windows Vista
HKCR\*\shellex\PropertySheetHandlers\{883373C3-BF89-11D1-BE35-080036B11A03}
 SuppressionPolicy
 REG_DWORD
 65536
http://support.microsoft.com/kb/829700/EN-US
 Windows XP / Windows Vista
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\SCAPI
 Flags
 REG_DWORD
 1051650
http://support.microsoft.com/kb/829700/EN-US
 Windows XP / Windows Vista
HKLM\\SYSTEM\CurrentControlSet\Control\Session Manager
 SafeDllSearchMode
 REG_DWORD
 1
http://support.microsoft.com/kb/306850/EN-US
 Windows 2000
HKLM\\SYSTEM\CurrentControlSet\Control\Session Manager
 SafeProcessSearchMode
 REG_DWORD
 1
http://support.microsoft.com/?scid=kb%3Ben-us%3B905890&x=13&y=9
 Windows XP / Windows Vista
 
 
XenDesktop Tuning
 
 
Registry Hive
Value
Type
Data
Purpose(s)
Platform(s)
HKLM\Software\Citrix\Print
 DefaultPrnFlags
 REG_DWORD
 134217728
Disables Logging of Print Events
 XenApp 4.X / 5.X
 
Note : These settings are only working with XenDesktop 3.0 and Later. 
 
User Profile Tuning
 
The following settings are designed to tune the Default user profile. I'm mainly using them within Mandatory Profiles or Template Profile for Citrix Portable Profiles.
 
Registry Hive
Value
Type
Data
Purpose(s)
HKCU\Control Panel\Desktop
 AutoEndTasks
 REG_SZ
 1
 Determines whether user processes end automatically when the user either logs off.
HKCU\Control Panel\Desktop
 WaitToKillAppTimeout
 REG_SZ
 20000
Determines how long the system waits for user processes to end after the user attempts to log off
HKCU\Control Panel\Desktop
 MenuShowDelay
 REG_SZ
 10
Changes the Start menu display interval
HKCU\Control Panel\Desktop
 CursorBlinkRate
 REG_SZ
 -1
Specifies how much time elapses between each blink of the selection cursor
HKCU\Control Panel\Desktop
 DisableCursorBlink
 REG_DWORD
 1
Enables / Disables Cursor Blink
HKCU\Control Panel\Desktop
 DragFullWindows
 REG_SZ
 0
Specifies what appears on the screen while a user drags a window / Only the outline of the window moves
HKCU\Control Panel\Desktop
 SmoothScroll
 REG_DWORD
 0
Scrolls using smooth scrolling
HKCU\Control Panel\Desktop
 Wallpaper
 REG_SZ
 (none)
Sets Wallpaper to "None" 
HKCU\Control Panel\Desktop\WindowsMetrics
 MinAnimate
 REG_SZ
 0
Disabled. Window does not animate while being resized 
HKCU\Control Panel\Desktop
 InteractiveDelay
 REG_DWORD
 40
Optimizes Explorer and Start Menu responses Times
HKCU\\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects
 VisualFXSetting
 REG_DWORD
 2
Sets Visual effects to "Optimize for Best Performances"
HKCU\Software\Microsoft\Internet Explorer\Main
 Force Offscreen Composition
 REG_DWORD
 1
Force Internet Explore to use Offscreen Composition
HKCU\Software\Microsoft\CTF
 Disable Thread Input Manager
 REG_DWORD
 1
Disables Language Bar 1/4
HKCU\Software\Microsoft\CTF\LangBar
 ExtraIconsOnMinimized
 REG_DWORD
 0
Disables Language Bar 2/4
HKCU\Software\Microsoft\CTF\LangBar
 ShowStatus
 REG_DWORD
 2
Disables Language Bar 3/4
HKCU\Software\Microsoft\CTF\MSUTB
 ShowDeskBand
 REG_DWORD
 1
Disables Language Bar 4/4
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz
 NoRun
 REG_DWORD
 1
Disables Desktop Cleanup Wizard
 
 
XenDesktop Client Tuning
 
The following settings are designed to tune / debug the XenApp / XenDesktop ICA Client. These tips are extracted from an article originally published on Jim Moyle's Blog. I'd like to thank him for contacting me and asking me to add them to our existing tuning Article.
 
Description
Key
Value Name
Value
Automatically repair clipboard chain
CTX112434
HKEY_LOCAL_MACHINE\SOFTWARE \Citrix\ICA Client\Engine\Configuration\Advanced \Modules\WFClient
CbChainInterval
<value> 0-2000 valid
Prevent long logon script time breaking session sharing
HKEY_LOCAL_MACHINE\SOFTWARE \Citrix\ICA Client\Engine\Configuration\Advanced \Modules\WFClient\
ucConnTimeout
<string value> needs to be >20
Log the Launch.ica file to a Client Local File
CTX115304
HKEY_LOCAL_MACHINE\SOFTWARE \Citrix\ICA Client\Engine\Configuration\Advanced \Modules\Logging
LogFile=<path to file to log to that you want, use following format C:\ica\ica.log>
LogICAFile=true
Disable selected virtual channels from the client side
CTX116890
HKEY_LOCAL_MACHINE\SOFTWARE \Citrix\ICA Client\Engine\Configuration\Advanced \Modules\ICA 3.0
Remove relevant value
 
Revert to 9.x printing behaviour for a specific driver
CTX115553
HKEY_LOCAL_MACHINE\Software \Citrix\ICA Client
ReprocessEMFDriverList
<driver name>
Allow more than 20 client files open from a client mapped drive
HKEY_LOCAL_MACHINE\ SOFTWARE\Citrix\ICA Client\Engine\Configuration\Advanced \Modules\ClientDrive
MaxOpenContext
<value> eg 50
Prevent a seamless window from permanently hiding a minimized taskbar
HKEY_LOCAL_MACHINE\ SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Seamless Windows
TWIShrinkWorkArea
Value: 5
Allow Custom Virtual Channels in ICA after upgrading from an earlier client
HKEY_LOCAL_MACHINE\ SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC
VirtualChannels
“”
How to use print screen in ICA sessions
HKEY_LOCAL_MACHINE\ SOFTWARE\Citrix\ICA Client\Engine\Configuration\Advanced \Modules\WFClient
ICAPrntScrnKey
<value> eg F12
Make a seamless window the focus as soon as it activates
HKEY_LOCAL_MACHINE\ Software\Citrix\ICA Client\Engine\Configuration\Advanced \Modules\WFClient
TWISeamlessFlag
1
 
 
Microsoft Office Tuning
 
The following settings are designed to tune Microsoft Office Applications for Terminal services / XenDesktop Use.
To use with your Office Version, Replace the #OfficeVersion# token with :
  • 9.0 for Microsoft Office 2000
  • 10.0 for Microsoft Office XP
  • 11.0 for Microsoft Office 2003
  • 12.0 for Microsoft Office 2007
When a token is not specified that's because the Tip do not apply to all versions
 
Registry Hive
Value
Type
Data
Purpose(s)
HKLM\Software\Microsoft\Office\11.0\Excel\Options
 AlwaysSaveToCurrentPath
 REG_DWORD
 1
Always Save in Current Path(Even Remote Documents)
HKLM\Software\Policies\Microsoft\Office\#OfficeVersion#\Word\Options\vpref
 fSplBkg_99_1
 REG_DWORD
 0
Word : Disables Check Spelling as You Type
HKLM\Software\Policies\Microsoft\Office\#OfficeVersion#\Word\Options
 fGramBkg_535_1
 REG_DWORD
 0
Word : Disables Check Grammar as You Type
HKLM\Software\Policies\Microsoft\Office\#OfficeVersion#\Word\Options\Assist
 fCorrectTyping_16_1
 REG_DWORD
 0
Word : Disables Text Replacement As You Type
HKLM\Software\Policies\Microsoft\Office\#OfficeVersion#\Excel\Options
 fAnimationsOK_129_1
 REG_DWORD
 0
Excel : Disables Provide a Feedback With Animation
HKLM\SYSTEM\Software\Policies\Microsoft\Office\#OfficeVersion#\PowerPoint\Options
 Background spell checking
 REG_DWORD
 0
Powerpoint : Disables Check Spelling as You Type
HKLM\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces\Desktop
 Show
 REG_DWORD
 0 or 1
 Manages the Display of the Desktop link Within Office Places Bar
HKLM\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces\MyComputer
 Show
 REG_DWORD
 0 or 1
 Manages the Display of the My Computer link Within Office Places Bar
HKLM\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces\MyDocuments
 Show
 REG_DWORD
  0 or 1
 Manages the Display of the My Documents link Within Office Places Bar
HKLM\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces\Publishing
 Show
 REG_DWORD
  0 or 1
 Manages the Display of the Network Locations link Within Office Places Bar
HKLM\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces\Recent
 Show
 REG_DWORD
  0 or 1
 Manages the Display of the Recent Documents link Within Office Places Bar
 

posted on Sunday, May 31, 2009 11:59 PM by Pierre Marmignon    

Previous Page | Next Page

COMMENTS

Hi Pierre

Thank you for this article!. I have some tuning tips to share... (I have not tested all of them)

Note that I use Nlite... It's not supported by Microsoft but you can create a very light XP (or vista) installation (by disabling all unneeded stuff)

First, this article is very useful (you did not mention it):
http://community.citrix.com/blogs/citrite/paulwi/2008/10/24/Windows+XP+Performance+Optimizations+for+XenDesktop+and+Provisioning+Server+vDisks

The following registry settings optimize network performances... Actually, some of these values are automatically set just by installing the XA plugin (TCPWindowsSize, TCPTimedWaitDelay)... Citrix recommands to disable TCP Offload (DisableTaskOffload) to avoid Freeze, locking or slow ICA performance with PVS...

; TCP Tuning
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"EnableTCPA"=dword:00000000
"EnableRSS"=dword:00000000
"EnableTCPChimney"=dword:00000000
"DisableTaskOffload"=dword:00000001
"TcpWindowSize"=dword:0000fc00
"TcpTimedWaitDelay"=dword:0000001e
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters]
"DefaultSendWindow"=dword:0000fc00

Explorer tuning / reduce SMB traffic (from Helge Klein / Sepago)

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
“UseDesktopIniCache”=dword:00000001
“NoRemoteRecursiveEvents”=dword:00000001
“NoRemoteChangeNotify”=dword:00000001
“StartRunNoHOMEPATH”=dword:00000001
“NoRecentDocsNetHood”=dword:00000001
“NoDetailsThumbnailOnNetwork”=dword:00000001
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters]
“InfoCacheLevel”=dword:00000010
[HKEY_CLASSES_ROOT\*\shellex\PropertySheetHandlers\CryptoSignMenu]
“SuppressionPolicy”=dword:00100000
[HKEY_CLASSES_ROOT\*\shellex\PropertySheetHandlers\{3EA48300-8CF6-101B-84FB-666CCB9BCD32}]
“SuppressionPolicy”=dword:00100000
[HKEY_CLASSES_ROOT\*\shellex\PropertySheetHandlers\{883373C3-BF89-11D1-BE35-080036B11A03}]
“SuppressionPolicy”=dword:00100000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\SCAPI]
“Flags”=dword:00100c02
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
“SafeDllSearchMode”=dword:00000001
“SafeProcessSearchMode”=dword:00000001

from
http://blogs.sepago.de/helge/2007/11/07/soup-up-your-terminal-server-optimizing-explorers-network-performance/

And Some tips I'have not tested:

;Uload Unused DLL

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer]
"AlwaysUnloadDll"=dword:00000001


;Disabling Prefetch
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
"EnablePrefetcher"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]
"Enable"="Y"

;NTFS performance

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]

"NtfsDisable8dot3NameCreation"=dword:00000001
"NtfsDisableLastAccessUpdate"=dword:00000001
"Win95TruncatedExtensions"=dword:00000001
"Win31FileSystem"=dword:00000000


;DNS cache

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]

"CacheHashTableBucketSize"=dword:00000001
"CacheHashTableSize"=dword:00000180
"MaxCacheEntryTtlLimit"=dword:0000fa00
"MaxSOACacheEntryTtlLimit"=dword:0000012d

;bandWidth management
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
"NonBestEffortLimit"=dword:00000000


;Boot Optimization
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]
"Enable"="N"




User Profile (Mandatory Profile in my case)... these settings can be also applied using standard Windows GPO but I figured out that it's better to apply it once and not to have to manage the GPO caching at every logon with a standard vdisk...

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
;Hide Drives ans restrict access
NoDrives =dword:
NoViewOnDrive = dword:
;Hide taskbar
NoSetTaskbar =dword:00000001
;Classic Start menu
NoSimpleStartMenu=dword:00000001
;Hide Display Control panel
NoDispSettingsPage=dword:00000001
;Hide Run from Start Menu
NoRun=dword:00000001

;Disable Desktop Cleanup Wizard
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001

;Disable Balloon tips
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"EnableBalloonTips"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"FolderContentsInfoTip"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\tips]
"Show"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"StartButtonBalloonTip"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowInfoTip"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSMBalloonTip"=dword:00000000


;Désactive l'affichage des catégories du panneau de configuration
[HKEY_USERS\S-1-5-21-1177238915-884357618-725345543-500\Software\Microsoft\Windows\CurrentVersion\Explorer\WebView\BarricadedFolders]
"shell:ControlPanelFolder"=dword:00000000


;Delete Recent Docs list from Start menu
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsMenu"=dword:00000001

;Disable low disk space Warning
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001

;Hide Help from start menu

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSMHelp"=dword:000000

;Disable media player Codec upgrade
[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]
"UpgradeCodecPrompt"=dword:00000000

;Disable description
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion]
"ShowInfoTips" =dword:00000001

;Classic Search
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]

"FullPath"=dword:00000001
"FullPathAddress"=dword:00000001
"Use Search Asst"="no"
"Settings"=hex:0c,00,02,00,1b,01,e7,77,60,00,00,00


posted @ Monday, June 01, 2009 5:35 PM by Laurent


Dear Laurent,

First thanks for sharing with us !

Actually Paul's Article is linked at the beginning of this document ;)

I've updated the Tuning Tips and added the DisableTaskOffload Value as I forgot to add it :)

Best Regards and Thanks again Laurent !

posted @ Monday, June 01, 2009 5:53 PM by Pierre Marmignon


lol.. I guess it's time for me to get some rest!!! (feria of Nimes is over)....

posted @ Monday, June 01, 2009 6:34 PM by Laurent


Nice article Pierre!

Would it be too much to ask to get these tuning tips in a copy-paste ready format for input into a .reg file? (Or is there one available somewhere already?) It's taking me ages to go through every one in regedit and editing manually.

I know this creates the additional risk that someone will just import the whole bunch without knowing what they do, but then again, that risk is already there.

- Puderzo

posted @ Wednesday, August 12, 2009 3:11 PM by Puderzo


I'm sorry Pierre, the value LargeSystemCache should be set to 0 on the XenDesktop XP vm, but should be set to 1 on the PVS server (Citrix article CTX119849) ...

Matthieu

posted @ Friday, April 16, 2010 2:59 PM by mfecteau


Dear Matthieu,

Thanks for mentionning it.

This is now fixed.

posted @ Friday, April 16, 2010 8:57 PM by Pierre Marmignon


Hi Pierre,

I'm really sorry to have cause confusion. I think you were right in the first place by assigning the value 0 on LargeSystemCache on the XenDesktop image. The value 1 on LargeSystemCache should be done, according to CTX119849 on the PVS server. I just don't know if it'll cause problems if this setting (1) is done on the XenDesktop image ...

So I suggest that you change the setting back to it's original value.

posted @ Tuesday, May 11, 2010 2:41 PM by mfecteau


Hi,

I've done some researches and it seems that 1 is better because allows more memory to the file subsystem so disk performances are better.

posted @ Wednesday, May 12, 2010 7:25 PM by Pierre Marmignon


Hi Pierre,

Thank you for this great article, can you tell me if there has been any updates since last year on this article?

Just about to deploy first major XD 5.0 project.

Thanks

posted @ Tuesday, May 17, 2011 5:12 PM by Eugenzo


Only registered users may post comments.