Monday, June 01, 2009 5:35 PM
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