Вы находитесь на странице: 1из 34

VMware

Horizon View


Optimization Guide for
Windows 7 and Windows 8
OPT I MI ZAT I ON GUI DE
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
OPT I MI ZAT I ON GUI DE / 2
Table of Contents
About This Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Organization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Process Overview......................................................... 5
Traditional Install Method. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Microsoft Deployment Toolkit Method. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Optimization Aids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Commands.bat. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Microsoft Deployment Toolkit and TS.xml . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Creating an Optimized Windows Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Administrative Rights for Users. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Image Version Tracking and Managing Windows Updates. . . . . . . . . . . . . . . . . . . . . . 7
Creating the Target Virtual Machine. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Virtual Machine Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Disk Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
NIC Adapter Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Video Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Memory Specications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Disable HotAdd/HotPlug. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Choosing Your Windows Installation Method. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Why Use the Microsoft Deployment Toolkit 2012 Update 1?. . . . . . . . . . . . . . . . . 9
Traditional Install of Windows Operating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Install Guest OS from Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Update Windows and Install VMware Tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Install Applications and VMware View Agent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Optimize the Image with Commands.bat. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Using the Microsoft Deployment Toolkit to Optimize Windows. . . . . . . . . . . . . . . . 10
Using Windows System Image Manager with the MDT. . . . . . . . . . . . . . . . . . . . . . 10
Prepare the Microsoft Deployment Toolkit 2012 Update 1 Environment . . . . . . 11
Staging OS Media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Importing Drivers into the Workbench to Support VMware Virtual Machines. . 12
Create a Custom Task Sequence with TS.xml. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Customize the Win8forView Task Sequence (Optional). . . . . . . . . . . . . . . . . . . . . 14
Installing Applications with the Microsoft Deployment Toolkit. . . . . . . . . . . . . . . 14
Installing a New Application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Adding the VMware View Agent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Deploying the Win8 for View OS Instance into the Target Virtual Machine. . . . 16
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
OPT I MI ZAT I ON GUI DE / 3
Using the Target Virtual Machine to Create VMware Horizon View Desktops . . . . 16
Preparation of the Parent Virtual Machine. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Windows 7 and Windows 8 OS Customizations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Windows 7 and Windows 8 Service Modications. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Windows Customizations Available Using Group Policy. . . . . . . . . . . . . . . . . . . . 22
Dedicated OU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Blocking Inheritance on an OU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Loopback Policy Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Windows 7 and Windows 8 Customizations Using the Registry. . . . . . . . . . . . . . . . 26
Creating and Modifying the Default User Prole. . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Modifying the Default User Prole. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Scripted Approach for Modifying the Default User Prole . . . . . . . . . . . . . . . . . . 26
Managing VMware Horizon View Desktops. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
View Manager Idle Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Managing PCoIP Using GPOs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
GPO PCoIPImagingMaximumInitialImageQuality . . . . . . . . . . . . . . . . . . . . . . . . . . 28
GPO PCoIPMaxLinkRate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
References. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
About the Authors and Contributors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Appendix A (Customizations Reference). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Appendix B (Commands.bat) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Appendix C (CommandsDesktopReadyForPersonaManagement.txt). . . . . . . . . . . . . 33
Appendix D (TS.xml). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
OPT I MI ZAT I ON GUI DE / 4
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
About This Guide
ThisguideprovidesguidelinesforconguringastandardWindowsimageforuseinaVMwareHorizonView
infrastructure.ItgivesadministratorstheinformationnecessarytocreateastandardWindowsimage,whether
byleveragingtheMicrosoftDeploymentToolkit(MDT)orbyutilizingascript-basedapproachtooptimize
traditionallyinstalledWindowsvirtualmachines.Therecommendedcongurationsettingsoptimizethe
operatingsystemtoenhanceoverallscalabilityandperformanceinaHorizonViewimplementation.
TheproceduresdescribedinthisguideapplytotheWindows7andWindows8operatingsystems.Scriptsand
tasksequencestooptimizebothoperatingsystemsareincluded.
HorizonView5.2supportsMicrosoftWindows8andtheMetrostyleuserinterface.Windows8ofersmore
optionsforsecurityandpersonalizationaswellasnewbuilt-indesktopvirtualizationcapabilities.Thenew
GroupPolicytemplatesforWindows8enablemorecontrolandconsistencyfordesktopusersandgreatly
enhancetheHorizonViewvirtualdesktopexperience.
HorizonViewalsosupportsbasicgesturesinaViewClientrunningonIntel-basedSurfacetablets.InWindows
8thereisnowaservicesstatechangewhereonlythenecessaryservicesarerunningatsystemstartup,with
mostservicesmarkedasManual(TriggeredStart).Inthisscenario,servicesarestartedonlywhentheuser
accessesacomponentthatrequiresthetriggeredservicetobestarted.ThisimprovesWindowsperformance.
Organization
Thisguideisorganizedintodistinctsections:
AboutThisGuidediscussestheoverallprocessofoptimizationandtheoptimizationaidsprovided.
CreatinganOptimizedWindowsImagegivesstep-by-stepproceduralguidanceforbothmethodsof
optimization,MDTandscript-based.
Windows7andWindows8OSCustomizationsprovidesbackgroundinformationonthespecic
optimizationsandtechniquesusedbytheoptimizationaids.
ManagingVMwareHorizonViewDesktopsofersguidanceandconsiderationsforoptimizingthe
environmentalaspectsonanongoingbasis.
Additionalreferencematerial,les,andotherusefulitemsarelocatedintheAppendixes,andtwoespecially
usefulscriptsareattachedtothePDFle.
OPT I MI ZAT I ON GUI DE / 5
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
ProcessOverview
Youcanaccomplishthegoalofbuildingyourstandardimageandapplyingdesiredcustomizationsinanumber
ofways.ThisguideprovidestwomethodsforITorganizationstoutilize,eachrequiringadiferentlevelofefort
andyieldingdiferentbenets.Figure1illustratestheworkowofbothmethods.
Deploy Image to
Target Virtual
Machine
Create Target
Virtual Machine
Traditional
Install
Automated
Microsoft
Deployment
Kit Build
Install Guest OS
from Media
Prepare MDT
Environment
Install Application
and View Agent
Create Virtual
Machine Template
Optional Automatic
or Manual Application
Installation Using
MDT
Install VMware Tools
and Optimize Image
with Commands.bat
Windows 7 and 8 Build Process for VMware Horizon View
Using a Traditional or MBT-Based Approach
Create MDT Task
Sequence Using a
Custom TS.XML File
Figure1:HorizonViewVirtualMachineWorkowUsingTraditionalandMDTBuildProcess
TraditionalInstallMethod
Youcanoptimizeatraditionalinstallwithaminimumsetoftools.Ittakesverylittleeforttocreate
astandardizedandoptimizedprocessforcustomizingaWindows7orWindows8virtualmachine.
Administratorscreatethevirtualmachinewiththespeciedparameters,loadtheoperatingsystemfrommedia,
andthenuseacommandscriptfortheappropriateoperatingsystemtoapplyoptimizations.TheCommands.
batscript,attachedtothisguide,isdistributedasachoiceofCommandsPersonaManagement.txtor
CommandsNoPersonaManagement.txt(seeAppendixB).
MicrosoftDeploymentToolkitMethod
TheMicrosoftDeploymentToolkit(MDT)providesaframeworkforbuildingandmaintainingadenedprocess
thatismodularandapplicabletobothphysicalandvirtualdesktops.Thebenetsofthissolutionarederived
fromtheprescriptiveguidanceandrepeatableprocessesincludedinthetoolforbuildingandmaintaining
standardizedimages.Whileyoumayinvestmoretimeupfrontwhenusingthismethod,therearelong-term
advantages.Inmanycases,anITorganizationmayalreadyusesomeofthetoolsandprocessesdescribed.
ThismethodinvolvesleveragingtheMDTandWindowsAutomatedInstallationKit(WAIK)tocreateastandard
image-buildandcustomizationprocessthatleveragesarobusttasksequenceengine.YoucanusetheMDT
approachtoautomateapplicationinstallation,managedriverinjectionintodiferentoperatingsystemversions,
anduseaGUItocreatesystembuildsandcustomizeevents.
OPT I MI ZAT I ON GUI DE / 6
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
OptimizationAids
ThisguideprovidestwowaystooptimizetheWindowsimage.AsshowninFigure1,youcanleveragea
scriptleortheMDTtoimplementthecustomizations.Whiletheseoptimizationaidscontainrecommended
congurations,eachITorganizationshouldinvestigateandevaluatethebenetsthereissometimesatrade-
ofbetweenproductivityandoptimization.AppendixAlistsalltheoptimizations,usinganasterisk(*)to
highlightdiscretionarychanges.Youshouldreviewtheseforapplicabilitytoyourorganizationsspecicuse
cases.
Commands.bat
Commands.batisascriptlethatcanbeexecutedmanuallyorbyusinganautomatedscriptingmechanism.
ThescriptutilizesstandardoperatingsystemmechanismstomanipulatetheregistryusingRegistrationEntry
(REG)syntax;adjustservicesusingPowerShell;andoptimizeothermiscellaneousitems,suchasScheduled
Tasks(seeAppendixB.)ThescriptisdistributedasachoiceofCommandsPersonaManagement.txtor
CommandsNoPersonaManagement.txt,includedasattachmentstothisguideforbothWindows7and
Windows8.
Tosavethecommandstextle,gototheAdobeReaderViewmenu,selectShow/Hide>NavigationPanes>
Attachments,andthenSave.Aftersaving,renametheletoCommands.bat.
IfyouareimplementingViewPersonaManagement,orplantouseVMwareHorizonMiragetomanagethe
desktopimage,usetheCommandsPersonaManagement.txtle.IfyouarenotimplementingPersona
Management,usetheCommandsNoPersonaManagement.txtleincludedforbothoperatingsystems.
IfyouhavealreadyoptimizedanimagedesignedforusewithoutPersonaManagement,andyouwantto
deployPersonaManagementorHorizonMirageimagemanagementonthatdesktopimage,createaBATle
onyourvirtualmachinetemplatefromthesuppliedCommandsDesktopsReadyForPersonaManagement.
txtles.Runthisscriptasanadministrator(right-clickRunasAdministrator).Rebootthecomputerwhenthe
BATlecompletes(SeeAppendixC).
MicrosoftDeploymentToolkitandTS.xml
TheTS.xmlleisusedbytheMDTtasksequenceenginetoprovideasequenceoftaskstoexecutewhen
deployingtheWindowsimage.YoucanusetheTS.xmlletoperformtaskssuchasjoiningadomain,
stoppingordisablingaservice,andinstallingapplicationsorpackages.ReplacingthedefaultTS.xmlle
withtheoneprovidedwiththisguideprovidesaGUIinterfaceforviewingandeditingtherecommended
customizations.ThecustomizationsincludedintheprovidedTS.xmlleareequivalenttotheCommands.
batscriptledescribedinCommands.bat.
TheTS.xmlleisreferencedinAppendixDandincludedinthisguideasanattachmentcalledMDT 2012
Task Sequences Files.zip.txt.ThisZIPlecontainsasetofcustomizedTS.xmlles.Tosavethisset
ofTS.xmlles,gototheAdobeReaderViewmenu,selectShow/Hide>NavigationPanes>Attachments,
selectthele,andclickSave.AftertheMDT 2012 Task Sequence Files.zip.txtleissavedtothe
machine,changetheextensionto.zip.Thenunziptheleandusetheappropriatets.xmlle.
Note:IfyouareusingWindowsandhaveleextensionsturnedof,the.txtsufxdoesnotappearinthe
downloadedle.Openacommandwindowandnavigatetothedirectorywhereyousavedthe.zip.txtle
fromAdobeReader.Type
move MDT 2012 Task Sequence Files.zip.txt MDT 2012 Task Sequence Files.zip
OPT I MI ZAT I ON GUI DE / 7
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
Creating an Optimized Windows Image
TheproceduresforcreatinganoptimizedWindowsimagearedescribedinthefollowingsections.
AdministrativeRightsforUsers
Themethodsandoptimizationaidsprovidedinthisguidecustomizetheparentvirtualmachinethatendusers
desktopsarebasedon.Enduserscanundotheseoptimizationsiftheyhaveadministrativerightstostart
servicesandmodifytheregistry.
Note:ItisimportanttouseGroupPolicyObjects(GPOs)toreinforcethesesettingsandcontroldesktopswhere
endusershaveadministrativerights.
ImageVersionTrackingandManagingWindowsUpdates
Optimizingtheoperatingsystemcongurationisaniterativeprocess.Asimagesprogressthroughthenormal
lifecycle,itcanbecomedifculttodeterminewhichimagecongurationandsubsequentoptimizations
aparticularVMwareHorizonViewguestvirtualmachineisleveraging.AstheVMwareViewComposer
RecomposeandRefreshupdatesHorizonViewdesktops,thevirtualmachinesarelinkedtoparentvirtual
machinesandsnapshots.Carefulmanagementofsnapshotnamesenablessometrackingability;butyou
canalsouseanidentierintheoperatingsystemforidentication,usingthescriptorsystemmanagement
processes.Forthisreason,youshouldaddanadditionalregistrysettingtotracktheversionofanimage,as
wellasanyotherhelpfulinformationyourorganizationmaynduseful,suchasdate,type,andauthor.The
modicationsprovidedintheTS.xmlandCommands.batlesincludeamarkerkeyforthispurposeinHKEY
Local Machine\Software\Image.
ApplyingWindowsupdatesisanimportantstepintheprocesstoverifythatyourparentvirtualmachinealways
staysasuptodateaspossible;however,theWindowsUpdateserviceshouldbesettoDisabledbydefaultto
avoidpullingupdatesdowntovirtualmachinesinyourHorizonViewenvironmentaftertheyaredeployed.The
customtasksequenceprovidedwiththisdocumentappliesallapplicableWindowsupdatesthatareavailable
atthetimethetargetvirtualmachineisbuilt.ItsubsequentlydisablestheWindowsUpdateServicetoprevent
yourHorizonViewvirtualmachinesfromdownloadingupdatesfromMicrosoft.Itisconsideredabestpractice
tomanageyourupdatesforyourvirtualmachinesontheparentvirtualmachineandrecomposethatvirtual
machinetoupdatealllinkedclones.Toapplyupdatesmanuallytoyourparentvirtualmachine,re-enablethe
WindowsUpdateService,thenrunWindowsupdatesorapplyupdatesleveragingyourenterprisepatch-
managementprocess.
OPT I MI ZAT I ON GUI DE / 8
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
CreatingtheTargetVirtualMachine
Theinitialvirtualmachineparameterscreateavirtualhardwareprole,whichisusedforsubsequentvirtual
machines.YoucanconvertanexistingphysicalorvirtualmachineusingVMwareConverter,butitisbest
tocreateanewvirtualmachineusingtheVMwarevSphereClient.Administratorscanusethebuilt-in
VMwarevCenterwizardtocreateanewvirtualmachineorselecttheparametersontheirown.Specic
recommendationsarelistedinTable1anddescribedintheparagraphsthatfollow.
PARAMETER COMMENTS
GuestOperatingSystem MicrosoftWindows7(32-bitor64-bit)
SCSIController LSILogicSAS
HardDisk DisksfortemplatesorparentvirtualmachinescanutilizeThinProvisioning.
VideoCard NoneedtospecifyassettingsareprovidedbyViewManager.
Floppy Removetheoppydrive
CD/DVD SettoclientdeviceusedforVMwareToolsinstall,Windows7ISO,orWindows
PEbootISOwithMDT.
NICAdapterType VMXNET3.ApplytheMicrosofthotxpatch(seeVMwareHorizonView
Administration).
MemorySpecications 32-bit,13GB(nomorethan3GB)
64-bit,14GB(dependsonusecase,suchasKiosk,TaskWorker,orKnowledge
Worker)
BIOSDisablePorts GototheOptionstabofVirtualMachinePropertiesandselectforceentryinto
BIOStodisableunnecessaryLPTandCOMports.
Table1:VirtualMachineParameters
VirtualMachineParameters
Theparametersareexplainedinfurtherdetailinthefollowingparagraphs:
Disk Controller
VMwarerecommendsusingtheLSILogicSAScontrollerforWindows7andWindows8virtualmachines.
NIC Adapter Type
TheNetworkInterfaceCard(NIC)needstobeVMXNET3.FailuretosettheproperNICtypepreventsWindows
PreinstallationEnvironment(WindowsPE)fromcorrectlyacquiringanIPaddressandgainingaccesstothe
networkforresourcesrequiredduringimaging.ThetraditionalinstallmethodusestheVMXNET3virtual
networkadaptertoprovidethemostefcientnetworkingstackforWindows7andWindows8.Applythe
Windowshotx(seeVMwareHorizonViewAdministration).
OPT I MI ZAT I ON GUI DE / 9
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
Video Parameters
Settingspecicvideoparametersofthevideocardisnotnecessaryinthevirtualmachineproperties.Leave
thevideocardsettingsatAuto-detectvideosettings.Thevaluesusedforvideomemoryaresetandmanaged
byVMwareViewManager.
Memory Specifications
Forx86Windows7and8operatingsystems,nomorethan3GBofmemoryshouldeverbeallocated.Memory
specicationsaredependentuponthesupportingvirtualizationinfrastructure.However,youshouldprovide
atleast1GBofmemorytothestandardvirtualmachinetemplateleveragedforWindows7and8.Anideal
allocationis2GBofmemory,providingformoreburstingofmemorywhenneededforheavierend-user
applications.Thissettingiscompletelydependentupontheenvironmentandusecasescenarios.Sufcientuse
casemappingsshouldbedonetodeterminetheoptimummemorysettingsforyourorganization.
DisableHotAdd/HotPlug
IfHotAdd/HotPlugisenabledforthebaseimagevirtualmachine(thedefault),theendusercanejectcritical
components,suchastheNICandSCSIcontroller.Topreventthisfromhappening,disableHotAdd/HotPlug
forthebaseimagevirtualmachinebysettingthedevices.hotplugparameterforthatvirtualmachineto
false,eitherthroughthevSphereClientorbydirectlyeditingthevirtualmachines.vmxle.Fordetailson
usingeitherofthesetwomethods,seetheVMwareKnowledgeBasearticle,DisablingtheHotAdd/HotPlug
capabilityinESX/ESXi4.xandESXi5.0virtualmachines(KB1012225).
ChoosingYourWindowsInstallationMethod
Atthispoint,youshoulddeterminewhethertodoatraditionalinstallationofWindowsbymountingthe
mediatothevirtualmachine(seeTraditionalInstallMethod)ortoutilizetheMDT(seeUsingtheMicrosoft
DeploymentToolkittoOptimizeWindows)toinstallWindowsintothetargetvirtualmachine.
WhyUsetheMicrosoftDeploymentToolkit2012Update1?
TheMicrosoftDeploymentKit(MDT)canbestbedescribedasacollectionofscriptsandprocessesthat
supportsadenedframeworktocreateastandard,repeatable,andexibleimageforanorganization.This
approachcreatesaprescriptive,standardizedbuildprocessthatis:
FlexibleYoucanenable,disable,orbuildonlogicwhencertaincommandsareexecuted,dependingupon
existingscenarios.
EasyTheTaskSequencerprovidespre-builtcomponentsforaddingreboots,partitioning,commandlines,
andotherlogicinanintuitiveGUIinterface.
UpdatableAsdrivers,applications,andotherupdatesareneededwithinthestandardbuildprocess,you
canupdatetheTaskSequencerinapoint-and-clickcongurationforallnewimagebuildsinoneinterface.
Cross-platformYoucanleveragethesameMDTframeworkforbothvirtualandphysicalmachinebuilds.
Note:FordetailsonhowtousetheMDT,seeUsingtheMicrosoftDeploymentToolkittoOptimizeWindows.
TraditionalInstallofWindowsOperatingSystems
ThefollowingsectionoutlinestheprocessforatraditionalinstallofWindowsusinganISOimagemountedon
adatastoreaccessiblebythetargetvirtualmachine.Aftertheinstallationoftheoperatingsystemiscomplete,
Commands.batisusedtooptimizetheconguration.InstallationofapplicationsandtheViewAgentcanbe
performedeitherautomaticallyormanually.
InstallGuestOSfromMedia
1. Verify that the CD/ROM device is set to Connect at Power on and directed to the Windows ISO image.
2. Connect to the virtual machine console and answer the prompts for the operating system Setup Wizard.
3. Restart as necessary.
4. Remove any unnecessary components, such as Tablet PC components, from the operating system.
OPT I MI ZAT I ON GUI DE / 1 0
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
UpdateWindowsandInstallVMwareTools
1. Once the operating system installation is complete, perform Windows Update as necessary.
2. From the virtual machine console menu or from VMware vCenter, initiate and complete the installation of
VMware Tools.
3. Restart as necessary.
4. Execute the optimization le from the desktop after the installation of the operating system has been
completed.
InstallApplicationsandVMwareViewAgent
1. Install applications as needed in the base image.
2. You can either join the Active Directory domain or not to install applications. If you do not join the domain,
mount the application installers on a protected share outside the domain so that you can load them while
not in the domain.
3. Install the VMware View Agent manually or utilize a silent installation command as provided, substituting
the appropriate values, such as the following:
VMware-viewagent.exe /s /v/qn VDM_VC_MANAGED_AGENT=1 ADDLOCAL=ALL
4. Restart as necessary.
5. In vCenter, edit the properties of the virtual machine to disconnect the installation media and remove the
CD/DVD drive from the virtual machine.
FormoreinformationonhowtoinstalltheVMwareViewAgent,seeInstallViewAgentSilentlyinVMware
HorizonViewAdministration.
OptimizetheImagewithCommands.bat
1. Use the Adobe attachment panel to save and copy the appropriate script to the Commands.bat le.
a.Use the CommandsNoPersonaManagemant.txt le for pools not using Persona Management.
b.Use the CommandsPersonaManagemant.txt le for pools using Persona Management.
c.Use the CommandsDesktopsReadyForPersonaManagemant.txt le to modify a base image
already optimized for no Persona Management so it can be used with Persona Management.
2. Open a command prompt window with administrative privileges, execute the Commands.bat le, and
monitor for errors.
3. Restart to afect the changes in Windows services.
4. Go to Using the Target Virtual Machine to Create VMware Horizon View Desktops.
UsingtheMicrosoftDeploymentToolkittoOptimizeWindows
TheMDT2012Update1isafreetoolkitprovidedbyMicrosofttoorganizationswantingtobuildanddeploya
standardimageinaLite-Touchprocess.Thetoolkitenablesorganizationstostandardizeandautomatethe
processofcreatinggoldenmasterimages.
UsingWindowsSystemImageManagerwiththeMDT
SomeorganizationsmayalreadybeleveragingtheWindowsSystemImageManagertocustomizetheir
Windowsimageswiththeunattend.xmlle.ThisismostoftendonethroughtheMDTframeworkand
canbeintegratedintothisprocess.Someofthesettingsreferencedinthisdocumentcanbeaccommodated
throughthattoolandapplieddirectlytounattend.xmlifdesired.Formoreinformationonthefeaturesand
capabilitiesofWSIM,seetheWindowsSystemImageManagerTechnicalReference.
OPT I MI ZAT I ON GUI DE / 1 1
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
PreparetheMicrosoftDeploymentToolkit2012Update1Environment
PreparationofanMDTenvironmentmayrequirethecreationofaseparatevirtualmachinethatutilizestheMDT,
WindowsDeploymentServices(WDS),WindowsAutomatedInstallationKit(WAIK),andthesetofcustomized
TS.xmllesincludedwiththisguide.ThissectioncoverstheMDTinstallation,creatingtheDeploymentShare,
stagingtheOSmedia,andinjectingdriversfromVMwareToolsintotheimage.Thedeploymentshareisused
forstoringallthestandardcongurationsandcustomizationsleveragedforbuildingaWindows7orWindows
8image.ThisprocesswastestedonbothMDT2010andMDT2012withUpdate1.
1. Create a separate virtual machine for the MDT, unless an MDT environment already exists.
2. Review the system requirements, and verify that the system being leveraged meets the minimum. See the
Microsoft Download Center for Microsoft Deployment Toolkit (MDT) 2012 Update 1.
Note:ChecktheSolutionAcceleratorssiteforthelatestlinksandinformationonMDT.
DownloadandinstalltheWindowsAutomatedInstallationKit,latestPowerShellversion,andtheappropriate
versionoftheMDTforyouroperatingsystem(x86,x64)fromthelinkabove.
Note:PaycloseattentiontotheinstallationdirectoryforMDTduringtheinstall.Verifythatitisonadrivewith
sufcientspacetoholdimages,sourcemedia,andanylineofbusinessapplicationsneededforyourstandard
image.
3. Once the installation for MDT is complete, launch the Workbench by going to the Start Menu and
navigating to Start > All Programs > Microsoft Deployment Toolkit and selecting Deployment
Workbench.
4. Validate that all required components are installed by navigating to Information Center > Components
in the Deployment Workbench and ensuring that any item marked with Required in the Status column is
showing under the Installed section.
Note:YoucandownloadandinstallcomponentsfrominsidetheWorkbenchifnotalreadyinstalled.
5. Navigate to the node Deployment Shares in the Deployment Workbench, right-click and select New
Deployment Share.
6. Name the Deployment Share, for example, MDS1.
7. You can leverage defaults for this wizard, but pay close attention to Deployment Share Path to verify that
you are placing your source les in a location with sufcient space. If you selected an OS drive for the
installation of the MDT, select a data volume (non-boot partition) during this step to store deployment
data.
8. Select the Deployment Share you just created, and click Properties. On the Rules tab, add or edit the
following lines, and click Apply.
These settings streamline the process of building the target virtual machine.
SkipCapture=Yes
SkipUserData=Yes
SkipBitLocker=Yes
DoNotCreateExtraPartition=Yes
This line prevents adding the 100300MB system partition for BitLocker.
OPT I MI ZAT I ON GUI DE / 1 2
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
Staging OS Media
ThissectiondescribestheprocessofimportingVolumeLicensesourcemediaforWindows.Inordertobuildthe
initialWindowsimage,sourcemedianeedstobeobtainedandimportedintotheDeploymentWorkbench.
1. To import Volume License media for Windows 7 or Windows 8, navigate to Deployment Shares > MDT
Deployment Share > Operating Systems, right-click Operating Systems, and select Import Operating
System.
2. Select Full set of source fles, and click Next.
3. Mount the Windows 7 or Windows 8 ISO to the MDT virtual machine, or point to a network location that
houses the extracted Windows source les.
4. The media are validated on import to verify that les at the root directory represent an install source for
the Windows operating system les.
5. You can select Move the fles to the deployment share instead of copying them.
This is useful if you are leveraging a virtual machine for your MDT server and want to avoid copying data,
because moves are instantaneous, while copying can take several minutes. Select Next to continue.
6. The destination directory is the directory to be created under the Deployment Share\Operating
Systems directory.
7. Name the directory, for instance OS-Win8forView or OS-Win7forView, and select Next on the
remaining screens to nish the import.
ImportingDriversintotheWorkbenchtoSupportVMwareVirtualMachines
TosuccessfullyconnecttothenetworkandseestoragewhenbootingtoWindowsPE,youmayneedtoimport
NICandstoragedriversintotheworkbench.Afterdriversareimported,theyareinjectedintotheWindowsPE
bootmediawhentheDeploymentShareisupdated(discussedinstep12ofCreateaCustomTaskSequence
withTS.xmlbelow).
1. For vSphere 5.0 and later versions, locate the drivers by browsing to the C:\Windows\System32\
DriverStore\FileRepository directory on an existing Windows 7 or Server 2008 virtual machine
installed with VMware Tools.
Note:ForvSphereVMwareToolsearlierthanversion5.0,thedirectoryislocatedatC:\Program fles\
VMware\VMware Tools\Drivers.
2. From the File Repository directory, locate and copy the vm driver directories (especially the
network directories, vmxnet3ndis6.inf_x86 or x64) to a location that can be accessed from the
virtual machine running MDT.
3. In the Deployment Workbench, navigate to Deployment Shares > MDT Deployment Share > Out-of-Box
Drivers. Right-click Out-of-Box Drivers, and select Import Drivers.
4. Point to the directory containing the VMware drivers, and select Next to import the drivers into the
Deployment Workbench.
Note:Thisprocessautomaticallyinterrogatesthe.infand.cablestolocateandimporttheappropriate
driverles.
OPT I MI ZAT I ON GUI DE / 1 3
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
CreateaCustomTaskSequencewithTS.xml
ThissectiondiscussesleveragingtheMDTtocreateatasksequence.Atasksequenceisaseriesofcommands
combinedtocreateanautomatedprocess,directlyfromtheDeploymentWorkbenchinterface,thatiseasy
toupdateastheenvironmentchanges.Atasksequencealsoremovesmuchofthemanualefortrequired
togenerateacustomizedimageforaVMwareHorizonViewenvironment.Thefollowingstepsguideyou
throughtheprocessofcreatingatasksequenceforaWindowsoperatingsystemimage.Theyutilizethesetof
customizedTS.xmllesincludedinthisdocumenttoimportacustomizedtasksequencethatoptimizesthis
operatingsystemimageforHorizonViewenvironments.
TheprocessdescribedbelowisidenticalforWindows7andWindows8operatingsystemimages.
1. In the Deployment Workbench, navigate to Deployment Shares > MDT Deployment Share > Task
Sequences.
2. Right-click Task Sequences, and select New Task Sequence.
3. Enter a task sequence ID. This ID must be unique. It determines the directory name that is created with
customizations in the \\MDT\MDS1\control folder. For example, using Win8forView as the task
sequence ID creates the \\MDT\MDS1\control\Win8forView directory.
4. Enter a task sequence name, then click Next.
This name must be unique. It is the name that shows up in a list of task sequences to choose from when
you build the golden image. For example, use Win8forView as the task sequence name.
5. Select Standard Client Task Sequence, and click Next.
6. Select the operating system that you imported, as described in Staging OS Media, then click Next.
7. Answer the remaining questions, and complete the task sequence denition.
8. Replace the default TS.xml (created in the Win8forView custom task sequence directory) with the
customized TS.xml attached to this guide.
The TS.xml le is referenced in Appendix D and included in this guide as an attachment called MDT
2012 Task Sequences Files.zip.txt. This ZIP le contains a set of customized TS.xml les. To
save this set of TS.xml les, go to the Adobe Reader View menu, select Show/Hide > Navigation Panes
> Attachments, select the le, and click Save. After the MDT 2012 Task Sequence Files.zip.txt
le is saved to the machine, change the extension to .zip. Then unzip the le and use the appropriate
ts.xml le.
Note:IfyouareusingWindowsandhaveleextensionsturnedof,the.txtsufxdoesnotappearinthe
downloadedle.Openacommandwindowandnavigatetothedirectorywhereyousavedthe.zip.txt
lefromAdobeReader.Type
move MDT 2012 Task Sequence Files.zip.txt MDT 2012 Task Sequence Files.zip
Move the customized TS.xml to the correct location, such as \\MDT\MDS1\control\Win8forView.
9. Return to the Deployment Workbench, select the Task Sequence, and right-click to see the properties.
10. Select the Task Sequence tab (this generates an error). Click OK, then navigate to Install > Install
Operating System, and set Operating System to Install to the imported OS media referenced in Staging
OS Media.
11. Verify that the Deployment Share is updated.
This step generates the boot image to be used for booting to Windows PE and initiating the OS build.
To update the Deployment Share, navigate to Deployment Shares > MDT Deployment Share, right-click
Deployment Share, and select Update Deployment Share.
12. Click Next twice to start the process of updating the Deployment Share.
OPT I MI ZAT I ON GUI DE / 1 4
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
CustomizetheWin8forViewTaskSequence(Optional)
Thissectiondiscussestheoptionalprocessofimplementingyourowncongurationchangesdirectly
intheMDTTaskSequencer.Itletsyouapplycustomizationstotheregistry,services,andapplications
programmaticallytoaWindows7orWindows8image.
TheTaskSequenceralsoletsyouapplychangestocongurationsthatcustomizeHKEYCurrentUser(HKCU)
andHKEYLocalMachine(HKLM)settingsandthoseservicestatesthatneedtobedisabled.ThesetofTS.xml
lesprovidedwiththisguidecreatesastartingpointforcustomizations.
1. In the Deployment Workbench, navigate to Deployment Shares > MDT Deployment Share > Task
Sequences, right-click Task Sequences, and select Win8ForView.
2. Right-click Task Sequence to modify in the right-hand pane, and select Properties.
3. Select any of the recommended customizations, and enable, disable, or change the settings by editing
the Properties tab. You can also add tasks or settings that are particular to your environment to the
appropriate phase.
These changes are written to the TS.xml le and become part of the standardized build process.
4. You can add a custom task, using the Task Sequence editor to navigate to the State Restore > Custom
Tasks section. Highlight Custom Tasks, click Add, and navigate to Add > General > Run Command Line.
This option provides the ability to run command lines during OS installation.
InstallingApplicationswiththeMicrosoftDeploymentToolkit
Whethertoincludesoftwarepackagesintoastandardimagedependsupontheorganizationalneedand
strategyforapplicationdeploymentandmanagement.Itmaybebenecialtocreateacustomimagewith
thepackagesalreadyinstalledintotheimage.TheMDTcanaccommodateexistingpackagesthathavebeen
createdwithinyourorganizationandenablethemtobedeployed,usingatasksequence,toastandard
image.Ideally,thesepackagesaresilentlydeployableandcreatedleveragingMicrosoftInstallerPackage(MSI)
technologyincaseswhereHKCUapplication-specicsettingsneedtobeincluded.
TheMDTprovidestheabilitytodeploysoftwaretoatargetsystemduringOSdeploymentaslongthe
installationsupportssilentswitches.TheprocessdetailedbelowaddsVMwareToolsandVMwareViewAgent
asapplicationstobeusedlaterbyatasksequenceforautomatedinstallation.
Theorderinwhichyouaddapplicationsisimportantthetasksequenceinstallstheminthatorderbydefault.
VMwareToolsmustbeaddedrstinorderfortheViewAgenttobeinstalledcorrectly.
InstallingaNewApplication
1. In the Deployment Workbench, navigate to Deployment Shares > MDT Deployment Share > Applications.
Right-click Applications, and select New Application.
2. Select Application with source fles, and click Next.
3. Provide details about the VMware Tools, and click Next.
Publisher: VMware
Application Name: VMware Tools
Version: v9.0.0 (Use the current version number)
Language: English
4. Select your source directory by mounting the Windows.ISO image to the MDT virtual machine.
OPT I MI ZAT I ON GUI DE / 1 5
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
5. Mount the Windows.ISO image by browsing the Datastores to \vmimages\tools-isoimages, and
click Connected.
6. Select the root of the drive where Windows.ISO is mounted.
7. Specify the name of the directory, such as VMwareTools, to create in your Deployment Share.
8. Specify the command line, and click Next.
For vSphere versions before 5.0, use the following command:
msiexec /i VMware Tools.msi /qn /norestart
For vSphere 5.0 and later versions, use this command instead:
Setup.exe /S /v /qn REBOOT=R ADDLOCAL=ALL REMOVE=Hgfs
9. Check Reboot the computer after installing this application.
10. Click Next, and Finish to complete the process.
11. Select the VMware View Tools application, right-click to view Properties, select the Details tab, and place
a check on Reboot the computer after installing this application.
AddingtheVMwareViewAgent
FollowasimilarprocesstoaddtheVMwareViewAgentapplication.
1. In the Deployment Workbench, navigate to Deployment Shares > MDT Deployment Share > Applications,
right-click Applications and select New Application.
2. Select Application with source fles, and click Next.
3. Provide details about the VMware View Agent application, and click Next.
Publisher: VMware
Application Name: View Agent
Version: (Current version number)
Language: English
4. Select your source directory, and click Next.
5. Browse to the location of the VMware View Agent application.
6. Specify the name of the directory, such as VMwareViewAgent52, to create in your Deployment Share.
7. Specify the command line, for instance:
VMware-viewagent-BUILDXXXXX.exe /s /v/qn VDM_VC_MANAGED_AGENT=1
8. Click Next to complete the process.
9. Select the VMware View Agent application.
10. Right-click to view Properties, select the Details tab, and check Reboot the computer after installing this
application.
FormoreinformationonhowtoinstalltheVMwareViewAgent,seeInstallViewAgentSilentlyinVMware
HorizonViewAdministration.
OPT I MI ZAT I ON GUI DE / 1 6
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
DeployingtheWin8forViewOSInstanceintotheTargetVirtualMachine
WhentheDeploymentSharehasbeenupdatedandthetasksequenceforthebuildhasbeenprepared,deploy
theOSinstanceintothetargetvirtualmachineandapplytheoptimizations.
1. From the MDT virtual machine, copy the appropriate Lite-Touch PE ISO (x86 or x64) from the deployment
share (D:\DeploymentShare\Boot) to a datastore that can be utilized by the target virtual machine.
2. From the target virtual machine created in the Creating an Optimized Windows Image section, modify the
CD/DVD properties to locate and connect at power on the appropriate platform Lite-Touch PE boot CD.
3. Boot your virtual machine from the bootable media selected above.
4. Select Run the Deployment Wizard, enter credentials to connect to the Microsoft Deployment Share, and
then press Enter.
5. Select the Win8 for View task sequence, and click Next.
6. Enter Product Key information.
7. Specify a computer name, and click Next.
8. Select Join a Workgroup.
VMwareViewComposerorvCentercustomizationwilljointhevirtualmachinetothedomainatalatertime.
9. Click Next on Language and other preferences.
a. Select Time Zone, and click Next.
b. Click to select the VMware Tools and View Agent applications from the Application Install window.
10. Enter Administrator Password to be used for login after restart.
11. Click Next to begin the process of installing the operating system.
The virtual machine restarts as necessary and provides visual updates as it progresses through the various
stages.
12. Right-click the target virtual machine in vCenter.
13. Under the Guest submenu, install VMware Tools, then shut down the virtual machine.
14. In vCenter, edit the properties of the virtual machine.
15. Disconnect the WinPE bootable ISO, and remove the CD/DVD drive from the virtual machine.
UsingtheTargetVirtualMachinetoCreateVMwareHorizonViewDesktops
Atthispoint,thetargetvirtualmachineisanoptimizedWindows7orWindows8installationthatisreadyto
beusedintheHorizonViewenvironment.Whenusingthisimageforfull-orlinked-clonepoolsinHorizonView,
youneedtojointhevirtualmachinetothetargetdomainandcustomizetheoperatingsystemtogeneratea
uniqueinstanceforeachuser.YoucanusetheMicrosoftSystemPreparationTool(Sysprep),VMwarevCenter
customizationssettings,ortheVMwareViewManagerQuickPreptool.
PreparationoftheParentVirtualMachine
Tousethisvirtualmachineasaparentvirtualmachineforfullclones,run ipconfg/release,powerdown
thevirtualmachine,andconvertittoatemplate.YoucanthenuseViewManagertoselectthisvirtualmachine
astheparentvirtualmachineforafull-clonedesktoppool.
Tousethetargetvirtualmachineasaparentvirtualmachineforlinkedclonepools,run ipconfg/release,
powerdownthevirtualmachine,andcreateasnapshot.Forlinkedclone-basedpools,selecttheparentvirtual
machineandthespecicsnapshottouseforcreatingorrecomposingdesktoppools.
SeeVMwareHorizonViewAdministrationfordetailsonpreparingtheparentvirtualmachineforthecreationof
desktoppools.
OPT I MI ZAT I ON GUI DE / 1 7
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
Windows 7 and Windows 8 OS Customizations
Thefollowingmodicationsareprovidedasrecommendationsforhowtooptimizethecongurationofthe
Windows7orWindows8operatingsystemsinaHorizonViewdesktopinfrastructure.AppendixAprovidesa
completereferenceoftherecommendedcustomizationsandliststhemethodsavailableforimplementation
(GPO,registry,service,commandline).
Ifyouapplycustomizationstothemasterimage,theyarepersistentonlyifuserscannotchangethem.
Ifindividualusershaveadministrativerights,theycanoverridethesecustomizations.Topreserveyour
customizations,modifythedesktopsbyGPOsothatthecustomizationsareenforced.
Windows7andWindows8ServiceModifcations
Table2outlinestherecommendedstateofservicesforWindows7andWindows8virtualmachines.Services
arecommontobothoperatingsystemsexceptwherenoted.BeginningwithWindows8,mostunneeded
servicesareinamanual(TriggeredStart)state.Evenifaserviceisconguredasmanualbydefault,youshould
stilldisabletheservicetoavoidanypotentialissues.Youcandisablealloftheseservicesinyourinitialimage
beforecapturing.
Analyzeeachserviceforapplicabilityinyourcorporateenvironment.SomeWindows7andWindows8services
detailedbelow,suchasWindows7Themes,mayactuallybedesiredandleftatdefaultvalues.
Discretionarychangesaremarkedwithanasterisk(*).Non-applicableservicesforWindows8aredesignated
notapplicableunderComments.
SERVI CE NAME DEFAULT STATE COMMENTS
Application
Experience
LookupService
AeLookupSvc ManualWin8
Manual
(Triggered
Start)
Disable Automaticallyappliessoftware
updatestoprogramstomake
surethattheyrunonnewly
releasedservicepacks.
*Background
IntelligentTransfer
Service
bits Manual Disable Transferslesinthebackground
usingidlenetworkbandwidth.If
theserviceisdisabled,Windows
UpdateandMSNExplorer
cannotautomaticallydownload
programsandotherinformation.
BitLockerDrive
Encryption
Service
dbesvc Manual Disable Notrecommendedtoencrypt
VDIvirtualmachines.
BlockLevel
BackupEngine
Service
wbengine Manual Disable Leveragedforbackingupdata
onaworkstation.
BranchCache PeerDistSvc Manual Disable Usedforcachinglesonserver
inabranchofce.
Computer
Browser
Browser Manual Disable Usedforbrowsingcomputerson
thesamenetwork.
OPT I MI ZAT I ON GUI DE / 1 8
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
SERVI CE NAME DEFAULT STATE COMMENTS
*DesktopWindow
ManagerSession
Manager
UxSms Auto Disable DisableifAeroisnotnecessary
ordesired.
NotapplicableforWindows8.
DiagnosticPolicy
Service
DPS Auto Disable Problemdetectionand
troubleshootingresolution
(disabledonWindows8).
DiagnosticService
Host
WdiServiceHost Manual Disable Problemdetectionand
troubleshootingresolution.
DiagnosticSystem
Host
WdiSystemHost Manual Disable Problemdetectionand
troubleshootingresolution.
DiskDefragmenter Defragsvc Manual Disable Providesdiskdefragmenting
servicesforharddrivesandcan
impactperformanceifrunona
virtualmachine.
NotapplicableonWindows8.
Function
DiscoveryProvider
Host
fdPHost Manual Disable TheFDPHOSTservicehoststhe
FunctionDiscovery(FD)
networkdiscoveryproviders.
TheseFDproviderssupply
networkdiscoveryservicesfor
theSimpleServicesDiscovery
Protocol(SSDP)andWeb
ServicesDiscovery(WS-D)
protocol.
Function
Discovery
Resource
Publication
FDResPub Manual Disable Publishesthiscomputerand
resourcesattachedtothis
computersotheycanbe
discoveredoverthenetwork.
GroupPolicy
Client
gpsvc Auto Manual/
Triggered
Responsibleforapplying
settingsconguredby
administratorforthecomputer
andusersthroughtheGroup
Policycomponent.
HomeGroup
Listener
HomeGroupListener Manual Disable LeveragedforHome
Networking.
HomeGroup
Provider
HomeGroupProvider Manual Disable LeveragedforHome
Networking.
OPT I MI ZAT I ON GUI DE / 1 9
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
SERVI CE NAME DEFAULT STATE COMMENTS
Hyper-VData
ExchangeService
vmickvpexchange Manual Disable Allowsdataexchangebetween
virtualmachineandoperating
systemrunningonphysicalhost
machine.
Windows8only.
Hyper-VGuest
ShutdownService
vmicshutdown Manual Disable Facilitatesshutdownofthe
virtualmachinefromthe
managementinterfaceonthe
physicalcomputer.
Windows8only.
Hyper-V
HeartbeatService
vmicheartbeat Manual Disable Monitorsthestateofthevirtual
machinebyreportinga
heartbeatatregularintervals.
Windows8only.
Hyper-VRemote
Desktop
Virtualization
Service
vmicrdv Manual Disable Providesaplatformfor
communicationbetweenthe
virtualmachineandoperating
systemrunningonthephysical
computer.
Windows8only.
Hyper-VTime
Synchronization
Service
vmictimesync Manual Disable Synchronizessystemtimeofthe
virtualmachinewiththesystem
timeofthephysicalcomputer.
Windows8only.
Hyper-VVolume
ShadowCopy
Requestor
vmicvss Manual Disable Coordinatesthe
communicationsthatare
requiredtouseVolumeShadow
CopyServicetobackup
applicationsanddataonthe
virtualmachinefromthe
operatingsystemonthe
physicalcomputer.
Windows8only.
FamilySafety WPCSvc Manual Disable StubforWindowsParental
Controlfunctionalitythatexisted
inWindowsVista.
Windows8only.
OPT I MI ZAT I ON GUI DE / 2 0
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
SERVI CE NAME DEFAULT STATE COMMENTS
Windows
BiometricService
wbiosrvc Manual Disable Givesclientapplicationsthe
abilitytocapture,compare,
manipulateandstorebiometric
datawithoutgainingdirect
accesstoanybiometric
hardwareorsamples.
Windows8only.
WindowsStore
Service
WSService Manual
(Triggered
Start)
Disable Providesinfrastructuresupport
forWindowsStore.Startedon
demandandifdisabled
applicationboughtusingthe
WindowsStorewillnotbehave
correctly.
Windows8only.
Interactive
ServicesDetection
UI0Detect Manual Disable Displaysadialogboxwhena
servicetriestosendamessage
totheconsole.
*IPHelper *IPHelper Auto Disable DisableifIPv6isnotleveraged.
MediaCenter
Extender
Mcx2Svc Manual Disable AllowsMediaCenterExtenders
tolocateandconnecttothe
computer.
NotapplicableonWindows8.
MicrosoftiSCSI
InitiatorService
MSiSCSI Manual Disable Notneededforvirtualmachines.
Microsoft
SoftwareShadow
CopyProvider
swprv Manual Disable/
Enable
LeveragedbytheVSSfor
backups.Disableifyouarenot
usingSystemRestoreandnot
usingHorizonViewPersona
Management.Requiredfor
PersonaManagement,butmust
beenabledwhenusingPersona
Management.
*OfineFiles CscService Manual Disable UsedformaintenanceofOfine
Filescache.Shouldnotbe
disabledforlocalmode
desktops.
ParentalControls wpcsvc Manual Disable Restrictsusageofcertain
programsbasedontimeofday
andduration.
OPT I MI ZAT I ON GUI DE / 2 1
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
SERVI CE NAME DEFAULT STATE COMMENTS
Reportsand
SolutionsControl
PanelSupport
wercplsupport Manual Disable Providessupportforviewing,
sendinganddeletionofsystem-
levelproblemreportsforthe
ProblemReportsandSolutions
controlpanel.
SecureSocket
TunnelingProtocol
Service
SstpSvc Manual Disable UsedtoprovideVPNcapability.
SecurityCenter wscsvc Auto Disable Monitorscongurationof
security-relatedservices.
SSDPDiscovery SSDPSRV Manual Disable UsedtodiscoverUPnPdevices.
*Superfetch SysMain Auto Disable Loadsapplicationsintomemory
forfasterreloadovertime.Non-
persistentvirtualmachineswill
likelynotbenetfromthis
settingbeingenabled.
TabletPCInput
Service
TabletInputService Manual Disable TabletPCServices.
*Themes Themes Auto Disable Onlyifyouwanttorunas
Classicinterface(noOrbfor
startbutton)onWindows7.
NotapplicableonWindows8.
UPnPHostService upnphost Manual Disable DependentonSSDPService.
VolumeShadow
CopyService
VSS Manual Disable/
Enable
Disableifyouarenotusing
SystemRestoreandnotusing
HorizonViewPersona
Management.Enableifusing
PersonaManagement.
WindowsBackup SDRSVC Manual Disable Backsupworkstationdata.
*Windows
Defender
WinDefend Auto Disable DisableifAntiSpyware/
Malwareisntneeded.
WindowsError
ReportingService
WerSvc Manual Disable WindowsErrorReporting.
*WindowsFirewall MpsSvc Auto Auto Donotdisableservice.Disable
rewallproles.
OPT I MI ZAT I ON GUI DE / 2 2
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
SERVI CE NAME DEFAULT STATE COMMENTS
WindowsMedia
CenterReceiver
Service
ehRecvr Manual Disable UsedbyMediaCenter.
NotapplicableonWindows8.
WindowsMedia
CenterScheduler
Service
ehSched Manual Disable UsedbyMediaCenter.
NotapplicableonWindows8.
WindowsMedia
CenterNetwork
SharingService
WMPNetworkSvc Manual Disable UsedbyMediaCenter.
NotapplicableonWindows8.
*WindowsSearch WSearch Auto Disable Disableifyouarenotdoingalot
ofsearchingonavirtual
machine.
*WindowsUpdate wuauserv Auto Disable Disableunlessneededfor
updates.
WLANAutoCong Wlansvc Manual Disable Formanagingwirelessnetworks.
WWAN
AutoCong
WwanSvc Manual Disable UsedforMobileBroadband
Devices.
Table2:Windows8and7ServiceParameters
YoucanuseascripttodisableanyoftheservicesaboveprogrammaticallybeforerunningSysprepand
capturinganimageifyouexecutethefollowingPowerShellsyntaxforeachservice:
Powershell Set-Service Service name -startuptype disabled
Forproperresults,verifythatyouareusingtheServiceName,nottheDisplayName.
TheCommandsNoPersonaManagementscriptdisablesallserviceslistedinTable2,andthe
CommandsPersonaManagementscriptdisablesallexcepttheMicrosoftSoftwareShadowCopyProvider
serviceandVolumeShadowCopyservice.Editthosescriptsifyouprefernottodisablesomeoftheseservices.
InWindows7andWindows8,theRemoteRegistryserviceissettomanualbydefault.TousethePerfmon
oftheVMwarePCoIPLogViewertooltotroubleshootadesktopremotely,restarttheRemoteRegistryservice
manuallyonthatdesktop.
WindowsCustomizationsAvailableUsingGroupPolicy
Customizationscanbedynamicallyappliedpost-buildthroughtheuseofGPOs.Manyorganizationsprefer
touseGPOsbecauseexistingpoliciesthatmanagephysicalmachinescanbeleveragedforvirtualdesktops
aswell.GPOsprovidemanybenetsfordesktopmanagement,butcareshouldbetakenintheirdesignand
implementation.ThefollowingsectionsdescriberecommendedpracticesforutilizingGPOsforHorizonView
desktops.
DedicatedOU
TherecommendedapproachistoplacevirtualmachinesinadedicatedOrganizationalUnit(OU)withinActive
Directory,blockinheritance,andenforceloopbackprocessingforuser-basedGPOs,sothatanyuserGPOs
appliedatyourdedicatedOUoverrideanyotheruser-basedGPOsappliedpreviously.
OPT I MI ZAT I ON GUI DE / 2 3
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
BlockingInheritanceonanOU
Blockinginheritanceisapotentiallyimportantstepifyouwanttomanagevirtualmachines.Insomecases,
aGroupPolicybeingappliedforcomputeraccountsinotherOUsmayhaveadirectconictwithasetting,
suchasawallpaperpolicy,thatyouwanttoapplyinyourenvironment.Foradditionalinformationdescribing
inheritanceforGroupPolicies,seeMicrosoftsGroupPolicyBlogentryTalesfromtheCommunity:Enforcedvs.
BlockInheritance.
LoopbackPolicyProcessing
LoopbackpolicyprocessingisusefulwhenyouwanttohaveGroupPoliciesappliedtousersaccordingto
wherethecomputeraccountislocatedinActiveDirectory.IfacomputeraccountislocatedinaspecialOUthat
hascertainGroupPolicysettingsappliedforendusersofthosesystems,leverageloopbackpolicyprocessing
toverifythatGroupPoliciesareappliedintheexpectedandpreferredfashion.Formoreinformationon
implementingloopbackpolicyprocessing,seetheLoopbackProcessingsectionoftheMicrosoftTechNetStep-
by-StepGuidetoUnderstandingtheGroupPolicyFeatureSet.
POLI CY POLI CY LOCATI ON SETTI NGS
ActionCenterIconRemoval UserConguration>Administrative
Templates>StartMenuandTaskbar
RemovetheActionCentericon=
Enabled
EventLogs ComputerConguration>
AdministrativeTemplates>Event
LogService>SpecicEventLog
Maximumapplicationlogsize=1024
Maximumsecuritylogsize=1024
Maximumsystemlogsize=1024
Ifyouareattemptingtosetthe
Securitylogsizeto1024withthis
GroupPolicysetting,youare
restrictedto20480unlessyouset
thisusingthepreviousGroupPolicy
SettingvalidforWindowsXPSP2
andServer2003andhigher,located
underComputerConguration>
WindowsSettings>Security
Settings>EventLog.
*Firewall ComputerConguration>Windows
Settings>SecuritySettings>
WindowsFirewallwithAdvanced
Security>WindowsFirewall
Properties
FirewallState=On(Recommended),
orOf
Note:DonotdisabletheFirewall
Service.Disabletherewallproles
asneeded.
InternetExplorerSettings
(cache)
UserConguration>
AdministrativeTemplates>Windows
Components>InternetExplorer>
InternetControlPanel>Advanced
Page
EmptyTemporaryInternetFiles
folderwhenbrowserisclosed=
Enabled.
InternetExplorerSettings
(IEFirstRunWizard)
ComputerConguration>
AdministrativeTemplates>
WindowsComponents>Internet
Explorer
PreventperformanceofFirstRun
Customizesettings=Enabled.
OPT I MI ZAT I ON GUI DE / 24
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
POLI CY POLI CY LOCATI ON SETTI NGS
RecycleBin UserConguration>Administrative
Templates>WindowsComponents
>WindowsExplorer
Donotmovedeletedlestothe
recyclebin=Enabletoeliminate
userundeletecapabilitiestosaveon
diskstorage,orDisabletopreserve
userundeletefromtherecyclingbin
functionality.Theattachedbatchle
scriptsdisablethisparameterwhich
meanstheyenabledeletedlesto
bestoredintherecyclingbin.
RemoteDesktop ComputerConguration>
AdministrativeTemplates>
WindowsComponents>Remote
DesktopServices>RemoteDesktop
SessionHost>Connections
Enablesuserstoconnectremotely
usingRemoteDesktopServices=
Enabled.
RemoteDesktop ComputerConguration>
AdministrativeTemplates>
WindowsComponents>Remote
DesktopServices>RemoteDesktop
SessionHost>Security
Requireuserauthenticationfor
remoteconnectionsbyusing
NetworkLevelAuthentication=
Enabled.
RSSFeeds UserConguration>Administrative
Templates>WindowsComponents
>RSSFeeds
Turnofbackgroundsyncforfeeds
andWeb.
Slices=Enabled.
*ScreenSaver UserConguration>Administrative
Templates>ControlPanel>
Personalization
Passwordprotectthescreensaver=
Enabled.
Screensavertimeout=600.
Forcespecicscreensaver=
%windir%\system32\scrnsave.scr.
SystemRestore ComputerConguration>
AdministrativeTemplates>System
>SystemRestore
TurnofSystemRestore=Enabled.
OPT I MI ZAT I ON GUI DE / 2 5
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
POLI CY POLI CY LOCATI ON SETTI NGS
UserAccessControl ComputerConguration>Windows
Settings>SecuritySettings>Local
Policies>SecurityOptions
UserAccountControl:Behaviorof
theelevationpromptfor
administratorsinAdminApproval
Mode=Elevatewithoutprompting.
UserAccountControl:Detect
applicationinstallationsandprompt
forelevation=Disabled.
UserAccountControl:Onlyelevate
UIAccessapplicationsthatare
installedinsecurelocations=
Disabled.
UserAccountControl:Runall
administratorsinAdminApproval
Mode=Disabled.
Wallpaper UserConguration>Administrative
Templates>Desktop>Desktop
DesktopWallpaper=.
Note:Aspaceisrequiredtoset
thewallpapertononeintheabove
setting.Optionally,settingtoale
thatdoesnotexistwillactually
preventauserfromsetting
wallpaperatall.
WindowsDefender ComputerConguration>
AdministrativeTemplates>
WindowsComponents>Windows
Defender
TurnofWindowsDefender=
Enabled.
WindowsSideshow ComputerConguration>
AdministrativeTemplates>
WindowsComponents>Windows
Sideshow
TurnofWindowsSideshow=
Enabled.
*WindowsUpdate ComputerConguration>
AdministrativeTemplates>System
>InternetCommunication
Management>Internet
CommunicationSettings
TurnOfAccesstoAllWindows
UpdateFeatures=Enabled.
TurnofWindowsUpdateDevice
DriverSearching=Enabled.
Note:IftheWindowsUpdate
Serviceisdisabled,thissettingisnot
necessary.
Table3:Windows7andWindows8GroupPolicies
OPT I MI ZAT I ON GUI DE / 2 6
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
Windows7andWindows8CustomizationsUsingtheRegistry
Manyoptimizationscanbeprogrammaticallyappliedthroughmodicationoftheregistry.Mostofthe
modicationsthatdirectlyafecttheoperatingsystemarecontainedintheHKEYLocalMachine(HKLM)hive.
Otherscanbemadeintheusersregistrytoreducerepetitivetasksandimprovevisualdesktopcharacteristics.
Thevisualdesktopsettings,suchasscreensaversandbackgrounds,canunnecessarilyintroducesignicant
bandwidthintothedisplaystream,whichiswhytheyareincludedasrecommendedoptimizations.
CreatingandModifyingtheDefaultUserProfile
Foryears,administratorshavebeencustomizingthedefaultproleforastandardimagebycustomizingthe
proleofthelocaladministrator,andthencopyingthatproletothedefaultuserproledirectory,complete
withallcustomizationsrequiredforeachuserwhologsintoasystem.Thisprocesswasproblematicandnot
ofciallysupportedbyMicrosoft.Thereisonemethod,however,thatcanbeleveragedtoalterthedefault
userproleusingtheattachedcommandscriptles.Thebestmethodforanorganizationisdeterminedby
reviewingtheavailablesupportedsolutionsandpickingtheonethatismostsuitedforitsneeds.
ModifydefaultuserprolesettingsbeforerunningSysprepandcapturingtheimage.
ModifyingtheDefaultUserProfile
Thefollowingmethodsformodifyingthedefaultuserprolearesupported:
AutomatedProleCopywithSysprep(CopyProle)
http://technet.microsoft.com/en-us/library/cc748953(WS.10).aspx
http://support.microsoft.com/kb/973289
ScriptedApproach
http://support.microsoft.com/?id=284193
Thescriptsattachedtothisdocumentusethemethodrecommendedinthefollowingblogpost:
http://blogs.technet.com/b/deploymentguys/archive/2009/10/29/conguring-default-user-settings-full-
update-for-windows-7-and-windows-server-2008-r2.aspx
GroupPolicyPreferences
http://www.microsoft.com/downloads/details.aspx?FamilyID=42e30e3f-6f01-4610-9d6e-
f6e0fb7a0790&displaylang=en
ScriptedApproachforModifyingtheDefaultUserProfile
Commands.batandTS.xmlusethefollowingapproachtomodifythedefaultuserprole.
Thisprocessisonlyintendedtoincorporatedefaultusersettingsintoastandardimage.
1. Identify the HKCU settings that need to be included in the default user prole for a Windows 7 standard
image. Keep these settings specic to Windows, such as those presented here (default screensaver
settings, default wallpaper behavior, and so on).
MicrosoftstatesthatnotallHKCUsettingscanbeappliedprogrammaticallyusingregistryinserts,soyour
resultsmayvary.Forconsistentresults,establishdefaultsforyourHorizonViewvirtualmachines,usingGroup
Policywheneverpossible.
2. Create a batch le, script, or PowerShell command that initiates loading the NTUser.DAT le for the
default user prole into regedit in order to update.
REG LOAD hku\Test %USERPROFILE%\..\Default User\NTUSER.DAT
This example assumes the hive for default is loaded into Test under HKEY_Users in the registry. Execute
the command exactly as it is shown, changing only the hku\Test to another location, such as hku\
TEMP, if desired.
OPT I MI ZAT I ON GUI DE / 2 7
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
3. While the hive is open for editing, insert any registry updates required for the \Default User\
NTUSER.DAT le using either REG, PowerShell, or regedit /S commands. REG is used below to
illustrate one way of inserting values.
REG ADD
hku\Test\Software\Microsoft\Windows\CurrentVersion\Policies \
System /v Wallpaper /d /f
4. Finally (very important), the registry hive needs to be unloaded to save the changes imported into the
default user prole. Failure to do this holds the hive open by the currently loggedon user and prevents
updates from being appended.
REG unload hku\Test
The batch le should now resemble the following:
REG LOAD hku\Test %USERPROFILE%\..\Default User\NTUSER.DAT
REG ADD hku\Test\Software\Microsoft\Windows\CurrentVersion\Policies \
System /v Wallpaper /d /f
REG unload hku\Test
Verifythatthereisnodomain-widedefaultuserhiveinthe\\domain.local\netlogon\Default
User.v2\directory,wheredomain.localisthelocaldomainnameforthedesktoppool.Ifsuchadomain-
widedefaulthiveleexists,itwillbeusedtoapplyuserregistrysettingstonewusers,andthelocal
\Default Users\ntuser.datlewillbeignored.

OPT I MI ZAT I ON GUI DE / 2 8


VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
Managing VMware Horizon View Desktops
ThegoalofoptimizingWindowsoperatingsystemsextendsbeyondtheinitialbuildanddeploymentof
optimizedvirtualmachines.Thissectionreviewssettingsthatarerelevanttotheongoingmanagementof
HorizonViewdesktopsandoptionalsettingstomodifythedefaultbehaviorofthePCoIPdisplayprotocol.
ViewManagerIdleSettings
VMwareViewManagerprovidessettingsthatdeterminethelengthoftimethatidleordisconnectedHorizon
Viewdesktopscontinuetoconsumesystemresourcesbeforegoingintosuspendedmodeorpoweringdown.
ThesesettingscanbemodiedperdesktoppoolormanagedbyHorizonViewpolicies.Determiningan
acceptablelengthoftimecansignicantlyreducetheloadonthesystemhardware.However,puttingmachines
intosuspensionorsettingupuserstoconstantlypowerontheirdesktopsiscounterproductive,soaddress
thesesettingscarefully.
ManagingPCoIPUsingGPOs
Insomecases,partofoptimizationcanincludelimitingortuningthePCoIPprotocolforcertainnetwork
environments.ThePCoIP.ADMleisprovidedwithVMwareHorizonViewandcanbeusedtodeploy
thesesettingstoViewClients,usingGPOs.Forfurtherdetails,seetheHorizonView5withPCoIPNetwork
OptimizationGuide.
GPOPCoIPImagingMaximumInitialImageQuality
Inalimitedbandwidthscenario,thissettingcanbeusedtocongureapreferencebetweenhigherinitialimage
quality,withlargerpeaksinbandwidthduringlargescreenchanges,orlowerinitialimagequality,withsmaller
peaksinbandwidthduringlargescreenchanges.
Ifused,consideradjustingthemaximumimagingqualitybeforeapplyingabandwidthlimit.Settoavalue
between0100(defaultis90).ThisvaluemustbesetlowerthanthePCoIPImagingMinimumInitialQuality
value.
GPOPCoIPMaxLinkRate
ThePCoIPprotocolisdesignedtotakeadvantageofavailablenetworkbandwidthandsharebandwidthfairly
acrossactiveusersonalink.Youshouldnotchangethissettingunlessyouhavecarefullydeterminedthe
overallefecttobebenecial.Becarefulnottosetamaximumbandwidthlimitsolowthatindividualsessions
cannottakeadvantageofadditionallinkbandwidthwhenavailable.
Ifyouusethissetting,congureitforalluserswhoshareaparticularnetworklink.
SetPCoIPMaxLinkRatetothedesiredmaximumPCoIPsessionbandwidthinkilobitspersecond(thatis,
1000=1000Kbps=1Mbps).Thedefaultis1Gbps;0=nobandwidthconstraints.
OPT I MI ZAT I ON GUI DE / 2 9
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
References
ConguringPCoIPforUsewithViewManager,VMwareKnowledgeBasearticle
GroupPolicySettingsReferenceforWindowsandWindowsServer
GroupPolicyRegistryTable
UsingREGtoUpdatetheRegistry
HorizonView5withPCoIPNetworkOptimizationGuide
HorizonViewPersonaManagementDeploymentGuide
About the Authors and Contributors
CharlesA.WindomSr.,SeniorProductMarketingManagerinEnd-UserComputingatVMwareupdatedthis
documentforView5.2toincludeadditionalcustomizationsinthescripts.
TinadeBenedictis,SeniorTechnicalMarketingManagerinEnd-UserComputingatVMware,updatedthis
documenttoaccommodatethePersonaManagementand3DgraphicsfeaturesinView5.0.
JimBrittofEnsynch,Inc.wrotetheoriginalversionofthispaperwithAaronBlackofVMware.JimisaSolutions
ArchitectatEnsynch.
AaronBlackiscurrentlyaProductManagerinEnd-UserComputingatVMware.
CharlesacknowledgesthefollowingVMwaretechnicalstaffortheirinputandtestingofthescripts:Phillip
Helmling,ToddDayton,JefBirnbaum,JohnDodge,MarilynBasanta,RoryClements,AaronBlack,Timothy
Federwitz,RasmusJensen,ErikHaire,LinusBourque,JasonMiles,andWarrenPonder.

OPT I MI ZAT I ON GUI DE / 3 0


VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
Appendix A (Customizations Reference)
Table4listsallrecommendedsettingstooptimizeWindows7andWindows8operatingsystemsforyour
HorizonViewdesktopinfrastructure.TheMethodcolumnrepresentstheavailablemechanismstoapplythese
settings.Themethodchosenshouldbebaseduponorganizationalrestrictionsandpreferences.Discretionary
changesaremarkedwithanasterisk(*).
TYPE DESCRI PTI ON STATUS METHOD HIVE
Customization ActionCenterIcon Disable GPO,Registry HKCU
Customization SetBoottoNoGUI Disable CommandLine HKLM
Customization CrashDump Disable Registry HKLM
Customization AutomaticallyRebootafter
crash
Enable Registry HKLM
Customization CrashDump Disable Registry HKLM
Customization Logcrashevent Disable Registry HKLM
Customization Alertoncrashevent Disable Registry HKLM
Customization DiskTimeoutValue Modify Registry HKLM
Customization EventLogs Modify GPO,Registry HKLM
Customization Hibernation Disable CommandLine HKLM
Customization IECache Disable GPO,Registry HKCU
Customization IEFirstRunWizard Disable GPO,Registry HKLM
Customization IERSSFeeds Disable GPO,Registry HKCU
Customization Start_PowerButtonAction Modify Registry HKCU
Customization VisualEfects Modify Registry HKCU
Customization MenuShowDelay Modify Registry HKLM
Customization TerminalServerClientsend
interval
Modify Registry HKLM
Customization FastSendDatagramThreshold Modify Registry HKLM
OPT I MI ZAT I ON GUI DE / 3 1
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
TYPE DESCRI PTI ON STATUS METHOD HIVE
Customization ServiceStartupTimeout Modify Registry HKLM
Customization Viewagentdebug Modify Registry HKLM
Customization Viewagenttrace Modify Registry HKLM
Customization BackgroundLayoutService Disable Registry HKLM
Customization MachineAccountPassword
Changes
Disable Registry HKLM
Customization TCP/IPTaskOfoad Disable Registry HKLM
Customization HardErrorMessages Disable Registry HKLM
Customization CIFSChangeNotications Disable Registry HKLM
Customization CustomerExperience
ImprovementProgram
Disable Registry,Command
Line
HKLM
Customization LanguageBar Disable CommandLine HKLM
Customization WindowsUpdateUninstall
folders
Delete CommandLine
Customization ImageRevision Modify/
Create
Registry HKLM
Customization LastAccessTimestamp Modify CommandLine HKLM
Customization NetworkLocationDialogue Modify Registry HKLM
Customization RecycleBin Enable
DeletedFile
Retention
GPO,Registry HKLM
Customization RegistryIdleBackup Disable CommandLine HKLM
Customization Screensaver Enableand
Congure
GPO,Registry HKCU
Customization Wallpaper Disable GPO,Registry HKCU
Customization WinSAT(WindowsSystem
AssessmentTool)
Disable CommandLine HKLM
OPT I MI ZAT I ON GUI DE / 3 2
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
TYPE DESCRI PTI ON STATUS METHOD HIVE
Feature UserAccessControl Turnofor
Congure
GPO,Registry HKLM
Feature WindowsSideshow Disable GPO,Registry HKLM
Feature IPv6 Disable Registry HKLM
Feature/Service SystemRestore Disable GPO,Registry,
Services,Command
Line
HKLM
WindowsService *DesktopWindowManager
SessionManager
Disable Services HKLM
WindowsService *IPHelper Disable Services HKLM
WindowsService *Superfetch Disable Registry,Services HKLM
WindowsService *Themes Disable Services HKLM
WindowsService *WindowsDefender Disable GPO,Services,
CommandLine
HKLM
WindowsService TabletPCInput Disable Services HKLM
WindowsService *WindowsFirewall Congure/
Disable
GPO,Services,
CommandLine
HKLM
WindowsService ApplicationExperience
Lookup
Disable Services HKLM
WindowsService BranchCache Disable Services HKLM
WindowsService BlockLevelBackupEngine
Service
Disable Services HKLM
Table4:CustomizationReferenceTable
OPT I MI ZAT I ON GUI DE / 3 3
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
Appendix B (Commands.bat)
TooptimizeaWindows8orWindows7desktoptemplate,youcancreateaCommands.bat
lefromoneoftwolesattachedtothisguide:CommandsPersonaManagement.txtor
CommandsNoPersonaManagement.txt.Tosaveoneofthesetextles,gototheAdobeReaderView
menu,selectShow/Hide>NavigationPanes>Attachments,thenselectthetextleofyourchoice,and
selectSave.ChoosetheCommandsPersonaManagement.txtleifyouplantoimplementHorizonView
PersonaManagement.ChooseCommandsNoPersonaManagement.txtifyoudonotplantoimplement
HorizonViewPersonaManagement.RenametoCommands.batforbatchleexecution.AnyHKEYuser
settingappliedtothedefaultuserappliesonlytonewprolescreated.Theadministratorsdefaultproleisleft
untouched.Toseetheefectsofmodicationstothedefaultuserprole,logintoadiferentuseraccountthan
thelocaladministratorsaccount.
IfyouareimplementingPersonaManagement,thefollowingtwolineshavebeendeletedfromthe
CommandsNoPersonaManagement.txtletocreatetheCommandsPersonaManagement.txtle:
Powershell Set-Service VSS -startuptype disabled
...
vssadmin delete shadows /All /Quiet
Bydeletingtheselines,thesedesktopsarereadyforPersonaManagementenablement.
Appendix C
(CommandsDesktopReadyForPersona
Management.txt)
IfyouhaveanexistingdesktopimagewithoutPersonaManagement,andyouwanttodeployPersona
Managementonthatdesktopimage,createaBATleonyourvirtualmachinetemplatefromtheattached
CommandsDesktopsReadyForPersonaManagement.txtle.FromtheAdobeReaderViewmenu,
selectShow/Hide>NavigationPanes>Attachments>Save,andsavetheTXTleasaBATle.Runthisscript
asanadministrator(right-clickandRunasAdministrator).RebootthecomputerwhentheBATlecompletes.
VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com
Copyright 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at
http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be
trademarks of their respective companies. Item No: VMW-OG-WIN78OPTIMGD-20130724-WEB
VMware Horizon View Optimization Guide
for Windows 7 and Windows 8
Appendix D (TS.xml)
TheTS.xml le,whichcontainsanexampletasksequence,isincludedinthisguideasanattachmentcalled
MDT 2012 Task Sequences Files.zip.txt.ThisZIPlecontainsasetofcustomizedTS.xmlles.
TosavethissetofTS.xmlles,gototheAdobeReaderViewmenu,selectShow/Hide>NavigationPanes>
Attachments,selectthele,andclickSave.AftertheMDT 2012 Task Sequence Files.zip.txtleis
savedtothemachine,changetheextensionto.zip.Thenunziptheleandusetheappropriatets.xmlle.
Note:IfyouareusingWindowsandhaveleextensionsturnedof,the.txtsufxdoesnotappearinthe
downloadedle.Openacommandwindowandnavigatetothedirectorywhereyousavedthe.zip.txtle
fromAdobeReader.Type
move MDT 2012 Task Sequence Files.zip.txt MDT 2012 Task Sequence Files.zip
Forstep-by-stepguidance,seeUsingtheMicrosoftDeploymentToolkittoOptimizeWindows.

Вам также может понравиться