Académique Documents
Professionnel Documents
Culture Documents
This guide describes important tuning parameters and settings that you can adjust
to improve the performance and energy efficiency of the Windows 7 operating
system. This guide describes each setting and its potential effect to help you make
an informed decision about its relevance to your system, workload, and
performance goals.
This paper is for information technology (IT) professionals and system
administrators who need to tune the performance of an environment that is running
Windows 7.
This information applies to the Windows 7 operating system.
References and resources discussed here are listed at the end of this guide.
The current version of this paper is maintained on the Web at:
TBD
Feedback: Please tell us whether this paper was useful to you. Submit comments at:
TBD
Page | 1
The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the
date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment
on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication.
This White Paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR
STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of
this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means
(electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of
Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter
in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document
does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places
and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, email
address, logo, person, place or event is intended or should be inferred.
2012 Microsoft Corporation. All rights reserved.
Microsoft, MSDN, SuperFetch, Windows, and Windows 7 are either registered trademarks or trademarks of Microsoft Corporation in
the United States and/or other countries.
The names of actual companies and products mentioned herein may be the trademarks of their respective owners.
2012 Microsoft Corporation. All rights reserved.
Document History
Version
Date
1.0
21 June 2012
1.1
02 July 2012
1.2
10 July 2012
1.3
27 July 2012
1.4
5 August 2012
1.5
6 August 2012
1.6
28 August 28,
2012
Change
Initial
version.
Event Log
section
completed
, adding
Internet
Explorer
section
Minor
version,
services
section
added
Turned
over to for
edit
review
Minor
Changes
Minor
Changes
and peer
review
Document
ing
Windows
Page | 2
1.7
14 September
2012
1.8
20 September
2012
1.9
3 December
2012
Presentati
on
Foundatio
n Font
Cache
3.0.0.0
issues and
possible
resolution
s.
Updated
guidance
on NLA
service.
Removed
an
inapplicabl
e group
policy
setting.
Added
note
about
security
settings.
Added
note
about 8.3
file
system
setting.
Minor
edits
Page | 3
Table of Contents
Introduction................................................................................................................ 4
Acknowledgements..................................................................................................... 5
Contributors................................................................................................................ 5
Implementing Changes............................................................................................... 5
VDI Optimization Checklist......................................................................................... 6
Optimization Categories............................................................................................. 7
1.Visual Effects Settings.......................................................................................... 7
2.Windows Services Optimization Recommendations.............................................9
3.Windows Features Possible Settings................................................................13
4.Windows Group Policy Settings...........................................................................14
5.Windows Event Log Optimization Recommendations.........................................17
6.Virtual Machine Disk Controller Configuration....................................................23
7.Clean up miscellaneous files from the base image before locking down as gold
.............................................................................................................................. 23
8.Apply applicable Microsoft updates and hotfixes................................................25
9.Memory Management Settings:..........................................................................26
10.Networking Recommendations.........................................................................27
11.Scheduled Tasks............................................................................................... 29
12.Increase Service Timeout.................................................................................30
13.Disable Boot Animation.................................................................................... 31
14.Change Hard Error Popup Behavior..................................................................31
15.File System Optimizations................................................................................31
16.Event Trace Sessions........................................................................................ 33
17.Crashdump Recovery Options..........................................................................34
18.Pagefile Settings............................................................................................... 35
19.Miscellaneous Startup Items.............................................................................36
Appendix.................................................................................................................. 36
Boot Startup Time with each group of recommendations......................................36
Works Cited.............................................................................................................. 38
Page | 4
Introduction
Microsoft Desktop Virtualization & Management solutions use key features and tools
found in Windows Server Hyper-V, System Center, MDOP, and other components to
help simplify management of IT operations onto a single infrastructure across
physical and virtual assets. It enables instant provisioning of corporate applications
and desktops, which get users up and running sooner, and equips IT to provide
access to legacy applications during migration to Windows 7. Working with System
Center management tools, Microsoft Desktop Virtualization automatically detects
device configurations and network conditions to deliver the most appropriate
services to each user.
The goal of this paper is to take the Windows 7 operating system, which is very
well tuned out of the box, and refine it further specifically for a corporate VDI
environment. Windows 7 was designed to tune itself as it runs over time, by
collecting telemetry about the applications and services run on the operating
system. In the VDI environment, many background services and tasks are disabled
from the beginning, so no further collection of telemetry is needed, nor is further
optimization necessary. The VDI images themselves run on enterprise class storage
that is sufficiently abstracted from the VDI images that background optimization
tasks for storage are not necessary, nor would they yield quantifiable results for the
overhead cost of optimization cycles.
Further, performance data can be taken at other levels, such as host-level, or
System Center agents, if so equipped, so that ongoing trace capturing is not
necessary on the default scale.
This paper should not be intended as a blueprint, but more of a guide or starting
point. There are some recommendations that may disable functionality that is
desirable to maintain. In most all cases there is no right or wrong decision, only a
cost-benefit analysis.
Page | 5
Acknowledgements
Portions of this paper were derived from information available from the following
sources:
http://social.technet.microsoft.com/wiki/contents/articles/4495.list-ofresources-on-windows-7-optimization-for-vdi-en-us.aspx
Contributors
Thank you to the following folks for contributing to this paper:
Implementing Changes
Where possible, all changes will be implemented using available enterprise tools or
methods, including but not limited to:
User-Interface settings
PowerShell
Scripting
Page | 6
Page | 7
Optimization Categories
1. VISUAL EFFECTS SETTINGS
Windows 7 visual effects settings affect the appearance of Windows 7 by smoothing
screen elements and so on. The visual effects settings are found in the userinterface by going to System Properties (sysdm.cpl), then clicking the Advanced tab,
then clicking the Settings button in the Performance section.
The changes need to be implemented for the default user profile, so that all users
logging on thereafter will receive these changes. The changes here reduce several
small animation effects, but leave the semi-translucent appearance.
The supported method for modifying the default user profile for all subsequent
users is documented in the following KB article:
Customize the default local user profile when preparing an image of Windows
http://support.microsoft.com/kb/973289
The easiest way to accomplish the visual effects changes are to log with the built-in
administrator account, modify the settings directly per the KB article, and then use
the unattended installation method of CopyProfile.
The procedure is to take the base image, run Sysprep against the base image with a
customized Unattend.xml (deployment answer file). The Unattend.xml should be
essentially as follows:
BEGIN UNATTEND.XML
====================
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup"
processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CopyProfile>true</CopyProfile>
<RegisteredOrganization></RegisteredOrganization>
<ComputerName></ComputerName>
<RegisteredOwner />
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/win7entx64.wim#Drive C"
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
====================
END UNATTEND.XML
Page | 8
After creating the Unattend.xml, copy it to the drive of the reference Windows 7
image and then run Sysprep with the answer file parameter pointing to the custom
answer file previously created. Then, create an account and verify that the account
has the desired options, such as display settings, etc.
Note
Ensure that the user profile being customized is the built-in Administrator.
Also, ensure that any other accounts are fully deleted and properly cleaned
up from the Windows registry. The best way to delete a profile is to use the
WMIC command, as follows:
wmic path win32_UserProfile where LocalPath="c:\\users\\user1"
Delete
Where user1 is the name of the account you want to delete
More information can be found in this KB article:
CopyProfile fails with FindLatestProfile failed (0x80070003) error
during Windows 7 deployment
http://support.microsoft.com/kb/2530664
Once complete, logon, then create a new user. Verify that the new user properly
inherits the desired settings from the previous operations.
Visual Element
Animate controls and elements inside Windows
Animate windows when minimizing and maximizing
Animations in the taskbar and the Start Menu
Fade or slide menus into view
Fade or slide ToolTips into view
Fade out menu items after clicking
Show shadows under mouse pointer
Show shadows under windows
Show translucent selection rectangle
Show window contents while dragging
Slide open combo boxes
Page | 9
Service
Background Intelligent
Transfer Services
Desktop Window
Manager (DWM) Session
Manager
Description
Transfers files in the background using idle network
bandwidth.
Services that use BITS are disabled like Windows
Update, as the VDI image has other patching
mechanisms.
DWM enables visual effects on the desktop as well as
various features such as glass window frames, 3-D
window transition animations, Windows Flip and
Windows Flip3D, and high resolution support.
In the virtualization environment, sharing a Graphics
Processor. Unless the VDI solution supports DWM, the
recommendation is disable the service.
P a g e | 10
Service
Diagnostic Policy Service
Disk Defragmenter
Function Discovery
Resource Publication
HomeGroup listener
HomeGroup provider
Indexing Service
Microsoft iSCSI Initiator
Service
Description
Manages and orchestrates built-in Windows diagnostics,
such as networking, audio, Windows Update.
Provides disk defragmentation capabilities. VDI doesnt
interact with storage the same as a computer with a
physical disk, or even a SAN disk, therefore, disable
unless required.
Publishes this computer and resources attached to this
computer so they can be discovered over the network.
Unless this functionality is needed, disable this service.
Homegroups are a feature intended more for ad-hoc file
sharing and not needed for domain joined computers in
most cases.
Homegroups are a feature intended more for ad-hoc file
sharing and not needed for domain joined computers in
most cases.
Functionality is replaced by the Windows Search service
and not available unless the Windows Feature called
Indexing Service is installed, which it is not by default
in Windows 7 Enterprise.
Manages iSCSI sessions. Disable unless required.
Dependency of NLA, this service maintains information
about network such whether a particular network is
categorized within Windows as Public, Home, or
Work. Usually all networks are treated as Public with
VDI computers in a corporate environment, and the VDI
computers do not change from network to network
much, if any.
P a g e | 11
Service
Description
NOTE: Disabling this service will prevent Windows from
being able to detect the correct network profile in multiNIC systems, and could cause Windows Firewall to apply
unexpected rules. This setting should be
thoroughly tested before implementing.
Network Location
Awareness
Program Compatibility
Assistant Service
Offline Files
Security Center
SuperFetch
applications you use the most and preloading those into your
system memory so they will be ready when you need them. In
VDI the telemetry obtained by SuperFetch does not persist,
therefore it cannot add value.
NOTE: Disabling the SuperFetch service is one aspect of PreFetch.
See:
http://msdn.microsoft.com/enus/library/ff794658(v=winembedded.60).aspx
P a g e | 12
Service
Telephony
Windows Backup
Windows Defender
Windows Font Cache
Service
Windows Media Player
Sharing Service
Windows Presentation
Foundation Font Cache
3.0.0.0
Windows Search
Windows Update
Description
Telephony integrates computers with communications
devices and networks. Possible telephony applications
include Multicast multimedia IP conferencing, VoIP calls,
Automatic Call Distribution (ACD) Center client and
server applications, IVR, and real-time collaboration.
This service may be required by subsequent
conferencing software.
http://msdn.microsoft.com/enus/library/windows/desktop/ms733433(v=vs.85).aspx
Provides data backup services for Windows. User data is
protected by various methods in the enterprise, in most
cases users will not be manually running backups with
Windows Backup, so this service can be disabled.
Malware (et al) prevention service. Usually replaced
with specific solutions that replace the functionality
provided by Windows Defender service.
Optimizes performance of applications by caching
commonly used font data.
Disable this service unless the functionality of sharing
media is specifically needed.
Optimizes performance of Windows Presentation
Foundation (WPF) applications by caching commonly
used font data. WPF applications will start this service if
it is not already running. It can be disabled, though
doing so could slightly reduce the performance of WPF
applications.
NOTE: if this service needs to remain enabled, but
problems are experienced with excessive CPU utilization
from the PresentationFontCache.exe process, see this
article for possible resolution:
http://support.microsoft.com/kb/937135
(Delete Font*.dat files)
The Windows Search service provides a great benefit
and the decision to enable or disable is an organizational
one. The ability to search local drives and content is
very helpful to users, but does not come without a price
in CPU cycles and disk I/O, even if moderate and lowpriority.
One possible compromise might be to limit the scope of
Indexed data to a very small subset.
NOTE: If the Windows Search feature is not installed in
the base image, the Search box above the Start menu
is not available, and the Windows Search service is not
available.
Updates to VDI images are tightly controlled and applied
with mechanisms that dont utilize the traditional WU
services directly.
P a g e | 13
Service
WLANAutoConfig
WWAN AutoConfig
Description
Provides the logic required to configure, discover,
connect to, and disconnect from a wireless LAN (WLAN).
This service also has the ability to turn a computer into a
wireless access point.
Service manages mobile broadband (GSM & CDMA) data
card/embedded module adapters. As VMs will not use
WWAN, this service can be disabled.
P a g e | 14
Default State
Recommen
ded State
Off
Off
On
Off
Off
Media Center: Off
DVD Maker: Off
Media Player: On
Off
Off
Internet Printing Client:
On
LPD Print Service: Off
LPR Port Monitor: Off
Scan Management: Off
Windows Fax and Scan:
On
On
Off
Off
Off
Off
Off
Off
Off
Off
Off
Off
Off
Off
Off
On
On
P a g e | 15
Note
Microsoft does NOT recommend any changes that would lower security
settings, or conflict with recommendations or requirements made by
standards bodies such as USGCB. Any setting recommendation in this paper
that is in conflict with standards recommendations should be ignored.
The following are a list of recommended settings for VDI workstations:
Machine Group Policy Setting
Recommen
ded
Setting
Disabled
Disabled
Disabled
Enabled
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Disabled
Enabled
Disabled
Enabled
Disabled
Enabled
Enabled
Enabled
Enabled
Addition
al
Do not execute
any autorun
commands
Requires IE 9.0
or later
Intranet Zone
Go Directly to
home page
P a g e | 16
Recommen
ded
Setting
Addition
al
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Disabled
Disabled
Enabled
Disabled
Disabled
Enabled
Enabled
P a g e | 17
Recommende
d Setting
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Defined by organization
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Additional
scrnsave.scr
500
600
P a g e | 18
Description
Event
Provider
s
Event Providers publish events to event logs. Providers are registered with
the event logging and tracing subsystem of the Windows operating
system. Their definition contains information required to interpret these
events and to display readable strings that are associated with them.
Event
Channel
Primary
Channel
s
The System, Application, Setup, and Security channels are the primary
channels. Each of these channels correspond to an event log that can be
viewed in the Event Viewer. The System and Application channels are
used by publishers to log administrator-level events. Such events indicate
system or application-wide issues. When error or warning events are
published to these channels, the events should indicate that the
administrator should take an action to resolve the issue. The Setup
channel is used for events associated with setup and installations. The
Security channel is the repository of the system audit events.
P a g e | 19
Note
Each of the two following lists encompass Event Log channels that are enabled by
default, in a default installation of Windows 7. This is not the entire list of Event
Log channels available overall in a default Windows 7 installation.
Event Channels to Possibly Disable
HardwareEvents
Microsoft-Windows-BranchCache/Operational
Microsoft-Windows-BranchCacheSMB/Operational
Microsoft-Windows-CodeIntegrity/Operational
Microsoft-Windows-FMS/Operational
Microsoft-Windows-EapHost/Operational
Microsoft-Windows-Help/Operational
Microsoft-Windows-HomeGroup Provider Service/Operational
Microsoft-Windows-International-RegionalOptionsControlPanel/Operational
Microsoft-Windows-Kernel-Power/Thermal-Operational
Microsoft-Windows-MCT/Operational
Microsoft-Windows-MUI/Operational
Microsoft-Windows-MemoryDiagnostics-Results/Debug
Microsoft-Windows-NCSI/Operational
Microsoft-Windows-NetworkLocationWizard/Operational
Microsoft-Windows-NetworkProfile/Operational
Microsoft-Windows-OfflineFiles/Operational
Microsoft-Windows-ParentalControls/Operational
Microsoft-Windows-HomeGroup Listener Service/Operational
Microsoft-Windows-ReadyBoost/Operational
P a g e | 20
Microsoft-Windows-ReadyBoostDriver/Operational
Microsoft-Windows-Recovery/Operational
Microsoft-Windows-ReliabilityAnalysisComponent/Operational
Microsoft-Windows-RemoteAssistance/Operational
Microsoft-Windows-Resource-Exhaustion-Resolver/Operational
Microsoft-Windows-RestartManager/Operational
Microsoft-Windows-Security-Audit-Configuration-Client/Operational
Microsoft-Windows-TerminalServices-LocalSessionManager/Operational
Microsoft-Windows-WER-Diag/Operational
Microsoft-Windows-WFP/Analytic
Microsoft-Windows-WPD-CompositeClassDriver/Operational
Microsoft-Windows-WPD-MTPClassDriver/Operational
Microsoft-Windows-Windows Defender/Operational
Microsoft-Windows-Windows Defender/WHC
Microsoft-Windows-WindowsBackup/ActionCenter
Microsoft-Windows-WindowsSystemAssessmentTool/Operational
Microsoft-Windows-WindowsUpdateClient/Operational
Setup
microsoft-windows-RemoteDesktopServices-RemoteDesktopSessionManager/Admin
P a g e | 21
P a g e | 22
Microsoft-Windows-DriverFrameworks-UserMode/Operational
Microsoft-Windows-EventCollector/Operational
Microsoft-Windows-Fault-Tolerant-Heap/Operational
Microsoft-Windows-Folder Redirection/Operational
Microsoft-Windows-Forwarding/Operational
Microsoft-Windows-GroupPolicy/Operational
Microsoft-Windows-IKE/Operational
Microsoft-Windows-International/Operational
Microsoft-Windows-Iphlpsvc/Operational
Microsoft-Windows-Kernel-EventTracing/Admin
Microsoft-Windows-Kernel-StoreMgr/Operational
Microsoft-Windows-Kernel-WDI/Operational
Microsoft-Windows-Kernel-WHEA/Errors
Microsoft-Windows-Kernel-WHEA/Operational
Microsoft-Windows-Known Folders API Service
Microsoft-Windows-LanguagePackSetup/Operational
Microsoft-Windows-MUI/Admin
Microsoft-Windows-NTLM/Operational
Microsoft-Windows-NetworkAccessProtection/Operational
Microsoft-Windows-NetworkAccessProtection/WHC
Microsoft-Windows-NlaSvc/Operational
Microsoft-Windows-PowerShell/Operational
Microsoft-Windows-PrintService/Admin
Microsoft-Windows-RemoteApp and Desktop Connections/Admin
Microsoft-Windows-RemoteAssistance/Admin
Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Admin
Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational
Microsoft-Windows-Resource-Exhaustion-Detector/Operational
Microsoft-Windows-Resource-Leak-Diagnostic/Operational
Microsoft-Windows-TZUtil/Operational
Microsoft-Windows-TaskScheduler/Operational
P a g e | 23
Microsoft-Windows-TerminalServices-ClientUSBDevices/Admin
Microsoft-Windows-TerminalServices-ClientUSBDevices/Operational
Microsoft-Windows-TerminalServices-LocalSessionManager/Admin
Microsoft-Windows-TerminalServices-PnPDevices/Admin
Microsoft-Windows-TerminalServices-PnPDevices/Operational
Microsoft-Windows-TerminalServices-RDPClient/Operational
Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin
Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational
Microsoft-Windows-TerminalServices-ServerUSBDevices/Admin
Microsoft-Windows-TerminalServices-ServerUSBDevices/Operational
Microsoft-Windows-UAC-FileVirtualization/Operational
Microsoft-Windows-UAC/Operational
Microsoft-Windows-User Profile Service/Operational
Microsoft-Windows-VDRVROOT/Operational
Microsoft-Windows-VHDMP/Operational
Microsoft-Windows-WFP/Operational
Microsoft-Windows-WLAN-AutoConfig/Operational
Microsoft-Windows-WPD-ClassInstaller/Operational
Microsoft-Windows-WinRM/Operational
Microsoft-Windows-Windows Firewall With Advanced Security/ConnectionSecurity
Microsoft-Windows-Windows Firewall With Advanced Security/Firewall
Microsoft-Windows-Winlogon/Operational
Microsoft-Windows-Winsock-WS2HELP/Operational
Microsoft-Windows-Wired-AutoConfig/Operational
Windows PowerShell
You can move and resize the event log channels in one operation. The following is a
sample command that will relocate the event log output file to the F: drive, and
resize to the minimum, which is 1 MB:
wevtutil sl "Microsoft-Windows-API-Tracing/Operational"
/lfn:F:\EventLogs\Microsoft-Windows-API-Tracing%4Operational.evtx /ms:1052672
P a g e | 24
Note
The event log maximum size can be reduced in overall size from the default
setting for each log. The smallest event log size possible in Windows 7 is 1 MB.
Even if a smaller size is specified, the size will remain at 1 MB.
7. CLEAN
DOWN AS GOLD
The base image can be optimized by cleaning up unnecessary files. If the
base image is based on Windows 7 with SP1 embedded, there is little to
cleanup. Otherwise, you can go through and make sure there are no .tmp
files, unnecessary log files, etc. There are two ways to cleanup, first is the
console application, CMD.EXE, and the second is the Disk Cleanup wizard
built-in.
Disk Cleanup of .TMP files
2. In the Drives list, click the hard disk drive that you want to clean up,
and then click OK.
3. In the Disk Cleanup dialog box, on the Disk Cleanup tab, select the
check boxes for the file types that you want to delete, and then click
OK.
4. In the message that appears, click Delete files.
To clean up all files on the computer
System Restore and Shadow Copies. With this option, you can
delete all but the most recent restore point on the disk.
8. APPLY
APPLICABLE
MICROSOFT
Note
This is a list of POST-SP1 hotfixes for Windows 7. Each fix should be
individually evaluated for applicablility. Also, this list can change at any time.
Please check the Microsoft Knowledge Base for the latest list of recommended
hotfixes for Windows 7.
2524478
The network location profile changes from "Domain" to "Public" in
Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2524478/EN-US
982018
An update that improves the compatibility of Windows 7 and Windows
Server 2008 R2 with Advanced Format Disks is available
http://support.microsoft.com/kb/982018/EN-US
2705233
You cannot access offline files that were configured in a DFS
namespace on a Windows 7-based client computer
http://support.microsoft.com/kb/2705233/EN-US
2549311
You cannot access a DFS share by using a valid user account in
Windows Server 2008 R2, in Windows 7, in Windows Vista or in Windows Server
2008
http://support.microsoft.com/kb/2549311/EN-US
2614892
A computer stops responding because of a deadlock situation in the
Mountmgr.sys driver in running Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2614892/EN-US
2689311
SMB commands run serially when the SMB packet-signing feature is
enabled in Windows 7 SP1 or in Windows Server 2008 R2 SP1
http://support.microsoft.com/kb/2689311/EN-US
2646563
SMB2 directory cache is not updated correctly if a file is deleted in
Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2646563/EN-US
2708811
Data corruption occurs when a sparse file undergoes random write
stress in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2708811/EN-US
P a g e | 27
2680906
Robocopy.exe utility incorrectly skips some files during the file copy or
backup process in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2680906/EN-US
2591462
A boot LUN can be disabled if it is claimed for use with MPIO in
Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2591462/EN-US
2709630
Delay occurs when you log on to a domain from a computer that is
running Windows 7 or Windows Server 2008 R2
http://support.microsoft.com/kb/2709630/EN-US
2625434
"""ERROR_SHARING_VIOLATION"" error message in Windows XP or in
Windows Server 2003 when you try to open a file on an SMB share on a server that
is running Windows 7 or Windows Server 2008 R2
http://support.microsoft.com/kb/2625434/EN-US
2654363
Computer crashes when you use Driver Verifier to monitor Storport.sys
if you disable the HBA in Windows 7 or Windows Server 2008 R2
http://support.microsoft.com/kb/2654363/EN-US
2615327
You cannot cancel a shrink operation on a volume in Windows 7 or in
Windows Server 2008 R2
http://support.microsoft.com/kb/2615327/EN-US
2708549
"Stop error when you create a VSS snapshot backup in Windows 7 SP1
or in Windows Server 2008 R2 SP1: ""fvevol!FveFilterDeviceControl+1d0"""
http://support.microsoft.com/kb/2708549/EN-US
Superfetch
SuperFetch is a tool that is intended to improve application startup
performance. It does this by loading application data into memory before it is
demanded. SuperFetch improves on Prefetch by monitoring which
applications you use the most and preloading those into your system memory
so they will be ready when you need them. For the VDI image, Superfetch
should be disabled because some applications may be virtualized. The
following is the registry location that controls the Superfetch behavior:
HKLM\SYSTEM\CCS\Control\Session Manager\Memory
Management\PrefetchParameters
DWORD=EnableSuperfetch
Decimal Value=0
REG ADD "HKLM\System\CCS\Control\Session Manager\Memory
Management\PrefetchParameters" /v EnableSuperfetch /t REG_DWORD /d 0 /f
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
DWORD= NoRemoteRecursiveEvents
Decimal Value=1
(Microsoft Corporation, 2012)
DisableBandwidthThrottling
HKLM\system\CurrentControlSet\Services\LanmanWorkstation\Parameters
\(REG_DWORD)
DisableLargeMtu
P a g e | 29
HKLM\system\CurrentControlSet\Services\LanmanWorkstation\Parameters
\(REG_DWORD)
The default is 1. By default, the SMB redirector does not transfer payloads
larger than approximately 64 KB per request. Setting this registry value to 0
enables larger request sizes, which can improve file transfer speed.
EnableWsd
HKLM\system\CurrentControlSet\Services\Tcpip\Parameters
\(REG_DWORD)
RequireSecuritySignature
HKLM\system\CurrentControlSet\Services\LanmanWorkstation\Parameters
\(REG_DWORD)
FileInfoCacheEntriesMax
HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters
\(REG_DWORD)
DirectoryCacheEntriesMax
HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters
\(REG_DWORD)
P a g e | 30
FileNotFoundCacheEntriesMax
HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters
\(REG_DWORD)
The default is 128 with a valid range of 1 to 65536. This value is used to
determine the amount of file name information that can be cached by the
client. Increasing the value can reduce network traffic and increase
performance when a large number of file names are accessed.
File Client Tuning Example
The following settings for parameters can optimize a machine for accessing
remote file shares in many cases, particularly over some high-latency
networks. The settings are not optimal or appropriate on all machines. You
should evaluate the impact of individual settings before applying them.
Parameter
Value
DisableBandwidthThrottling
EnableWsd
RequireSecuritySignature
FileInfoCacheEntriesMax
32768
DirectoryCacheEntriesMax
4096
FileNotFoundCacheEntriesMax
32768
MaxCmds
32768
TaskName
Application Experience
AitAgent
ApplicationExperience
ProgramDataUpdater
P a g e | 31
Autochk
Proxy
Bluetooth
UninstallDeviceTask
Customer Experience
Improvement Program
Consolidator
KernelCeipTask
UsbCeip
Defrag
ScheduledDefrag
Diagnosis
Scheduled
DiskDiagnostic
Microsoft-WindowsDiskDiagnosticDataCollector
Location
Notifications
MobilePC
HotStart
MUI
LPRemove
MultiMedia
SystemSoundsService
NetTrace
GatherNetworkInfo
PowerEfficiencyDiagnostics
AnalyzeSystem
Rac
RacTask
Ras
MobilityManager
Registry
RegIdleBackupTask
RemoteAssistance
RemoteAssistanceTask
SideShow
GadgetManager
SideShow
SessionAgent
SystemRestore
SR
TextServicesFramework
MsCtfMonitor
WDI
ResolutionHost
WindowsErrorReporting
QueueReporting
WindowsMediaSharing
UpdateLibrary
WindowsBackup
AutomaticBackup
WindowsBackup
WindowsBackupMonitor
P a g e | 32
P a g e | 33
Type: REG_SZ
Value: N
NtfsDisable8dot3NameCreation
Note
Disabling 8.3 file name creation can have a negative effect in the
following circumstances:
P a g e | 34
With Windows 7, you can disable 8.3 name creation on a per-volume basis
without using the global NtfsDisable8dot3NameCreation setting. You can do
this with the built-in fsutil tool. For example, to disable 8.3 name creation on
the d: volume, run fsutil 8dot3name set d: 1 from a command prompt
window. You can view help text by using the command fsutil 8dot3name.
Sample commands:
"fsutil 8dot3name set 1"
"fsutil 8dot3name set C: 1"
NtfsDisableLastAccessUpdate
HKLM\System\CurrentControlSet\Control\FileSystem\(REG_DWORD)
The default is 1. In versions of Windows prior to Windows Vista and Windows
Server 2008, the default is 0 (do not disable last access). A value of 0 can
reduce performance because the system performs additional storage I/O
when files and directories are accessed to update date and time information.
System Diagnostics
System Performance
NOTE: By turning off normal memory dump file creation for VDI machine,
but changing nothing else, the behavior will be that in the event of a stop
error the VDI machine will still log an event and still capture a small memory
dump which is 64 KB for 32-bit OS and 128 KB for 64-bit OS. This small bit of
information can be extremely useful in the event the VDI machines do
experience stop errors. A determination may be made that a larger memory
dump is needed for diagnostic purposes and that change could be
implemented on a subset of VDI machines via group policy for a short period
of time, which would limit the overall I/O demand on the infrastructure as a
whole.
Reference:
How to configure system failure and recovery options in Windows
http://support.microsoft.com/kb/307973
Overview of memory dump file options in Windows 2000, Windows XP,
Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and
Windows Server 2008 R2
http://support.microsoft.com/kb/254649
Windows Mail
Windows Mail (x86)
Sidebar
Task
There are other possible items that can be removed as a startup item.
Task Scheduler:
GatherNetworkInfo. This is a VBScript under Nettrace. This item
can be disabled, or the entry to automatically run this item can be
deleted through Autoruns. You may find that if you try to delete the
P a g e | 38
item there is an error that this item does not exist. However the
automatic running entry will be removed.
Task Scheduler:
Update Library configuration item. Unless the VDI image will be
using the functionality of the Windows Media Player Library, this item
can be deleted through Autoruns.
Appendix
BOOT STARTUP TIME
P a g e | 39
2. Service Optimizations:
Timing bootDoneViaExplorer=18879
UI Change: No change, all elements look the same visually:
Works Cited
Microsoft Corporation. (2006, October 18). Disabling Disk Defragmentation.
Retrieved July 19, 2012, from MSDN: http://msdn.microsoft.com/enus/library/ms932871(WinEmbedded.5).aspx
Microsoft Corporation. (2006, September 22). The Windows Trace Session Manager
service does not start and Event ID 7000 occurs. Retrieved July 19, 2012,
from Microsoft Support: http://support.microsoft.com/kb/839803
Microsoft Corporation. (2009, June 1). Download: Understanding Networking with
Hyper-V. Retrieved July 16, 2012, from Microsoft Download Center:
http://www.microsoft.com/en-us/download/details.aspx?
displaylang=en&id=9843
Microsoft Corporation. (2010, November 17). HOWTO: How To Change Hard Error
Popup Handling in Windows NT. Retrieved July 19, 2012, from Microsoft
Support: 2012
Microsoft Corporation. (2011, May 13). Performance Tuning Guidelines for Windows
Server 2008 R2. Retrieved July 25, 2012, from Dev Center:
http://msdn.microsoft.com/en-US/windows/hardware/gg463392.aspx
Microsoft Corporation. (2011, August 5). Windows Event Log Service. Retrieved July
13, 2012, from TechNet: http://technet.microsoft.com/enus/library/dd315601(v=WS.10).aspx
Microsoft Corporation. (2012 , June 13). Disable Prefetch. Retrieved July 16, 2012,
from TechNet: http://msdn.microsoft.com/enus/library/ff794503(WinEmbedded.60).aspx
Microsoft Corporation. (2012, June 13). Disable SuperFetch. Retrieved July 26, 2012,
from TechNet: http://msdn.microsoft.com/enUS/library/ff794658(v=winembedded.60)
Microsoft Corporation. (2012, June 8). Overview of memory dump file options for
Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows
Server 2008, Windows 7, and Windows Server 2008 R2. Retrieved July 19,
2012, from Microsoft Support: http://support.microsoft.com/kb/254649
Microsoft Corporation. (2012, June 13). Remove Boot Screens. Retrieved July 19,
2012, from MSDN: http://msdn.microsoft.com/enus/library/ff794272(v=winembedded.60).aspx
P a g e | 41
P a g e | 42