<

Optimizing Win 7 for XenDesktop or Vmware View

Published on
11,119 Points
5,119 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
Comment
1 Comment
 
LVL 14

Author Comment

by:Dhiraj Mutha
Please do not forget to press the "Yes" button if this article was helpful
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Join & Write a Comment

In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
Other articles by this author

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month