<

Optimizing Win 7 for XenDesktop or Vmware View

Published on
11,195 Points
5,195 Views
Last Modified:
Approved
Hi Friends,

These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the user experience and increasing system performance.

For example, some of the changes optimize the user experience by enabling faster logons, reducing unnecessary prompts, and quicker screen updates. Others optimize performance and increase scalability by reducing unnecessary processor, memory, disk and network usage.

All of the configurations recommended in this document are changes to the registry. Registry changes can be implemented in a number of ways and there is not necessarily one way that is best for all deployments. Machine-based modifications can be set anytime during the base image preparation or maintenance cycles.

The simplest way to implement many of these is to modify the registry manually using “regedit.exe” or creating and executing a “.REG” file. Automated ways of modifying the registry, including Group Policy or other third-party tools, are also possible. The registry modifications listed in this document use the “.REG” file syntax so that they it be easily copied and pasted into a customized “.REG” file.

Save the below code in a notepad and name it as 'OptiWin7.reg' and just run that on a Windows 7 system and reboot.

Caution: All of the registry settings mentioned in this document must be analyzed for benefit and risk to your environment. Modifying the registry incorrectly can cause serious problems that may require you to reinstall the operating system. I cannot guarantee that problems resulting from incorrectly modifying the registry can be solved. Modify the registry at your own risk. Backup the registry or disk image before making changes. For example, disabling certain services can make functionality within applications unusable (Disable Windows Search and lose search capabilities in Microsoft Outlook).

 
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisableLastAccessUpdate"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BNNS\Parameters]
"EnableOffload"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DisableTaskOffload"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"ServicesPipeTimeout"=dword:0002bf20

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows]
"ErrorMode"=dword:00000002

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRemoteRecursiveEvents"=dword:00000001

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"ScreenSaveActive"="0"

[HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache]
"Enabled"=dword:00000000

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout]
"EnableAutoLayout"=dword:00000000

[HKLM\SYSTEM\CurrentControlSet\Control\CrashControl]
"CrashDumpEnabled"=dword:00000000
"LogEvent"=dword:00000000
"SendAlert"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"CrashDumpEnabled"=dword:00000000
"LogEvent"=dword:00000000
"SendAlert"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
"DisablePasswordChange"=dword:00000001

[HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application]
"MaxSize"=dword:00010000
[HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Security]
"MaxSize"=dword:00010000
[HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System]
"MaxSize"=dword:00010000

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Force Offscreen Composition"=dword:00000001

[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="150"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects]
"VisualFXSetting"=dword:00000003
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"MinAnimate"="0"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ListviewAlphaSelect"=dword:00000000
"TaskbarAnimations"=dword:00000000
"ListviewWatermark"=dword:00000000
"ListviewShadow"=dword:00000000
[HKEY_CURRENT_USER\Control Panel\Desktop]
"DragFullWindows"="0" "FontSmoothing"="0"
"UserPreferencesMask"=binary:90,12,01,80 ,10,00,00,00

Open in new window


If you find or get any more tweaks which can be added here, please post the same, I will update them.

Just that caution again... Please backup and take precautionary measures before you modify your system settings.

Thanks & Regards.
0
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Get 7 days free