WindowsXPDeploymentGuideForVMwareViewWHITEPAPERWHITEPAPER/2VMwareViewtransformsthewaycustomersuseandmanagedesktopoperatingsystems.
Desktopinstancescanbedeployedrapidlyinsecuredatacenterstofacilitatehighavailabilityanddisasterrecovery,protecttheintegrityofenterpriseinformation,andremovedatafromlocaldevicesthataresusceptibletotheftorloss.
Isolatingeachdesktopinstanceinitsownvirtualmachineeliminatestypicalapplicationcompatibilityissuesandimprovesusers'personalcomputingenvironments.
AboutThisGuideThisguidesuggestsbestpracticesforcreatingWindowsXP–basedtemplatesforusewithView5andlater.
CreatingtheInitialVirtualMachineTheinitialvirtualmachineestablishesavirtualhardwareprofileforrapiddeploymentofothervirtualdesktopinstances.
Youcancreatetheinitialvirtualmachinefromscratch,asdescribedinthisguide,orconvertaphysicalmachinetoavirtualmachine,usingeitherthestandaloneversionofVMwarevCenterConverterortheversionintegratedwithVMwarevCenter.
VMwareConverterimagesthetargetPCandmigratesitintoVMwarevSphere.
Whenthemigrationiscomplete,youcanconvertthevirtualmachinetoatemplateandthenuseitasthebasisfordeployingfuturevirtualdesktops.
Tocreatetheinitialvirtualmachinefromscratch,followthesesteps:1.
UsethevSphereClienttoconnecttoyourvCenterserver.
2.
Usetheconsoletoconfiguretheinitialvirtualmachineortemplate.
3.
InstalltheOSusingtheconsole.
WhenyouestablishaconnectionwithyourvSpheredatacenter,createanewvirtualmachinefrominventory.
Whenyoucreateavirtualmachine,theNewVirtualMachinewizardappears.
UsethecustomconfigurationparametersinTable1asbaselinesettingsforthetemplate.
IfyouuseView5.
xasyourvirtualdesktopmanagerfordeployingpooledvirtualdesktops,youcanchangethesesettingsatdeploymenttime.
Table1.
CustomConfigurationParametersParameterCommentsNameandLocationThiscanbeagenericname,suchasxptemplate.
Thelocationcanbeanyfolderwithinyourdatacenterinventory.
Host/ClusterTheVMwareESX/VMwareESXiserverorclusterofserverresourcesthatwillrunthisvirtualmachine.
Itcanbechangedatanytime.
Thislocationdoesnotnecessarilyspecifythelocationoffuturevirtualmachinescreatedfromthistemplate.
ResourcePoolIfthephysicalESX/ESXiserverresourcesaredividedgranularlyusingresourcepools,theycanbeassignedtothisvirtualmachine.
DatastoreThelocationwhereyouwanttostorethefilesassociatedwiththevirtualmachine.
GuestOperatingSystemTheoperatingsystemthatwillbeinstalled.
CPUsThenumberofvirtualprocessorsthatwillbepresentedtothevirtualmachine.
FormostViewusers,asingleprocessorissufficient.
WHITEPAPER/3ParameterCommentsMemoryTheamountofmemorytoallocatetoeachvirtualmachinecreatedfromthistemplate(inmostcases,512MB,forWindowsXP).
NetworkThenumberofvirtualnetworkadaptersthatwillbeused.
Oneisusuallyenough.
Asabestpractice,makethenetworknameconsistentacrossvSphere.
Anincorrectnetworknameinatemplatecancausefailuresduringtheinstancecustomizationphases.
I/OAdaptersTheLSILogicadapterissuedfordeploymentsbasedonViewisrecommended;however,theLSILogicdriverisnotincludedaspartoftheWindowsXPinstallationprocedure.
DownloadandadditduringtheOSinstallation.
DiskCreatesanewdiskwhenyoucreatetheinitialvirtualmachineortemplate.
Specifytheamountoflocalstoragetoallocatetoeachuser.
AllowatleastenoughfortheOSinstallation,patches,andlocallyinstalledapplications.
Abestpracticeistostoreasmuchoftheuser'sinformation,profile,anddocumentsonnetworksharesaspossible,ratherthanlocally.
Doingsocangreatlyreducetheneedfordiskspaceandmanagementoflocaldata.
InstallingWindowsXPVirtualmachinesbehavelikephysicalmachines,soWindowsXPinstallationisessentiallythesameonboth.
Althoughitispossibletoimageyourvirtualmachineusingsometypeofcloningtechnology,thisguidefocusesonafreshWindowsXPinstallation.
PreparationLSIstoragecontrollerdriversarenotavailableontheWindowsXPinstallationCD,sobesuretocompletethefollowingtasksbeforestartingtheinstallation:1.
DownloadtheLSI53C1030driversfromtheLSIWebsite.
2.
UsingMagicISOorotherthird-partysolutions,createan.
flpimagecontainingtheLSILogicdrivers.
3.
UseSCPtotransferthefloppyimagetothevirtualmachine'sESX/ESXihost.
IfyouareusingvCenter,youcanusethevSphereClienttouploadthefiletothedatastore.
4.
BesureyouhaveaWindowsXPCDorISOimagethatisaccessiblefromthevirtualmachine.
PreinstallationModificationstotheVirtualMachineMakethefollowingmodificationstothevirtualmachinehardwareprofilebeforestartingtheWindowsXPinstallation:1.
UsingthevSphereClient,connecttovCenter.
2.
Locatethevirtualmachineyoucreatedearlier.
3.
Editthefollowinghardwaresettings:a.
Ensurethatthereisafloppydrivepresent.
b.
Configurethefloppydrivetoconnectatpoweron.
c.
Ifusingafloppyimage,ensurethatthedevicetypeissettouseafloppyimageandispointingtotheLSIDriverimage.
d.
CheckthattheCD/DVDdriveispresentandconfiguredtoconnectatpoweron.
e.
ConfiguretheCD/DVDdevicetypetopointtotheWindowsXPCDorISOimage.
WHITEPAPER/4InstallationAfteryoucompletethepreinstallationpreparationandmodifications,youcaninstallWindowsXP:1.
FromthevSphereClient,connecttovCenter.
2.
Poweronthevirtualmachinecreatedearlier.
3.
Usetheconsoletoviewthebootprocessandtosendinputtothevirtualmachine.
4.
AstheWindowssetupprocessbegins,pressF6toaddanotherSCSIdriver.
ThisletsyouspecifytheLSILogicdriveronthefloppyimage.
TheWindowssetupprocesscopiesallthenecessaryfilestothevirtualdisk.
CompletethesetupjustasyouwouldforanynormalWindowsXPinstallation.
Becausethisimagewillbeusedasatemplate,however,itisagoodideatomaketheconfigurationasgenericaspossible.
(Forinformationoncustomization,seeCreatingaGuestCustomization.
)AftercompletingtheWindowssetup,performthefollowingtasksbeforeyoufinalizetheimage.
Someofthesestepswillvaryfromorganizationtoorganization,dependingonyourWindowsimagingstandards;someareoptional.
Manycanbemanagedusingagrouppolicy(seeManagingVirtualDesktopsUsingCommonGPOs).
RecommendedSteps1.
IfSP2hasnotbeenappliedtotheinstallationCD,installSP2andthemostrecentMicrosoftupdates.
2.
InstallandconfiguretheVMwareTools.
3.
InstallViewAgent.
4.
Installandconfigureanyadditionalthird-partyorin-houseapplicationsneeded.
5.
SettheWindowsscreensaverto"blank.
"6.
ConfigurethedefaultcolorsettingfortheWindowsRemoteDesktopClientConnection.
Bydefault,WindowsXPuses16-bitcolorforRemoteDesktop.
Youcanenableandmanage24-bitcolorcentrallybyusingagrouppolicyorbymakingthefollowingregistrychange:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-TcpChangethecolordepthto4.
OptionalSteps1.
Disableanyunusedhardware,suchasCOM1andCOM2.
2.
Turnoffthemeenhancements.
3.
AdjustMyComputer>Properties>Advancedtab>Performancesection>Settingsforbestperformance.
4.
SettheblankscreensavertoPasswordprotectonresume.
5.
Ensurethathardwareaccelerationisenabled.
Start>ControlPanel>Display>Settingstab>Advancedbutton>Troubleshootingtab6.
DeleteanyhiddenupdateuninstallfoldersintheC:\Windowsdirectory.
Forexample:$NtUninstallKB893756$7.
DisableIndexingServices:Start>ControlPanel>AddRemoveWindowsComponents>IndexingServiceNote:Indexingimprovessearchesbycatalogingfiles.
Foruserswhosearchalot,indexingmaybebeneficialandshouldnotbedisabled.
8.
DisableindexingoftheC:driveinProperties.
9.
RemoveorminimizeSystemRestorepoints:Start>ControlPanel>System>SystemRestore10.
Disableanyunwantedservices.
11.
RunDiskCleanup:MyComputer>C:driveinproperties12.
RunDiskDefrag:MyComputer>C:properties>ToolsAfterthepreparationsandinstallationarecomplete,youcanpoweroffthevirtualmachineandgetreadytoenableitasadeploymenttemplateforothervirtualdesktops.
WHITEPAPER/5ConvertingaVirtualMachinetoaTemplateTemplatesstandardizethecreationofvirtualdesktopsandreducetheriskofhumanerror.
Manyorganizationsuseseparatetemplatesfordifferenttypesofusersorworkgroups,suchasFinance,HR,andSales,whereeachgrouptypicallyusesauniquesoftwareorvirtualhardwareconfiguration.
Templateshelpyouautomateandmanagedesktopprovisioning.
Anyvirtualmachinecanbeconvertedtoatemplate:justconnecttovCenterusingthevSphereClient,locatethevirtualmachineintheinventory,andselectConverttoTemplate.
Anyvirtualmachinecanalsobeclonedtoatemplate.
Cloningcreatesacopyofthevirtualmachine,leavingtheoriginalinplace.
Cloningishelpfulifyouupdatethetemplateandredeploydesktopsoften—forinstance,ifyoudeploynonpersistentdesktopsorifyouuseaprofilesolutiontoseparatetheuserprofilesfromthedesktopenvironment.
Cloningenablesyoutoconvertatemplatetoavirtualmachine,updateit,andthenconvertitbacktoatemplateatanytime.
CreatingaGuestCustomizationGuestcustomizationenablesyoutocustomizevirtualdesktopsastheyarecreated.
UsingMicrosoftSysprep,vCenterguestcustomizationautomatesconfigurationtaskssuchasthefollowing:AddingregistrationinformationAssigningauniquecomputernameAddingyourproductkeySettingtheadministratorpasswordSettingthetimezoneAddinganycustomrun-oncescriptsDefiningthenetworkconfigurationJoiningadomainGeneratinganewSIDVMwareViewworkswithanyexistingpredefinedguestcustomizationspecification.
Youcanselectwhichguestcustomizationfiletouse,ifany,tocustomizethepoolofvirtualdesktops.
Tocreateaguestcustomizationspecification,followthesesteps:1.
ConnectwithvCenterusingthevSphereClient.
2.
SelectEdit>CustomizationSpecifications.
3.
WhentheCustomizationSpecificationManagerstarts,selectNew.
Ifyouprefer,youcanimportanexistingcustomsysprep.
inifileanduseitintheGuestCustomizationwizard.
AsabestpracticewhenusingViewandaguestcustomizationspecification,settheComputerNameportionoftheguestspecificationtoUsetheVirtualMachineName.
ThisensuresthatthecomputernameisconsistentacrossView,vCenter,ActiveDirectory,andLocalComputerName.
Whenyourinitialvirtualmachine,template,andguestcustomizationarecomplete,thevirtualdesktoptemplateisready,andyoucanuseitwhendeployingvirtualdesktops.
ManagingWindowsXPViewDesktopsThefollowingsectionsfocusonbestpracticesforsimplifyingandstandardizingsomecommondesktopmanagementtasks.
AddingUserstotheLocalRemoteDesktopUsersGroupYouneedtoadduserstotheWindowsXPlocalgroupRemoteDesktopUsers,sothattheywillbeabletoaccessindividualorpooleddesktops.
ThereareseveralwaystoaddusersorgroupstothelocalRemoteDesktopUsersgroup.
Oneapproachistousealoginscript.
AnotherapproachleveragestheRestrictedGroupsGPOinActiveDirectory.
WHITEPAPER/6WhenleveragingRestrictedGroups,youcanaddusersindividually,oryoucancreateagroup,adduserstoit,andthenaddthatgrouptotheRestrictedGroupyouaremanaging.
HerearethestepsforconfiguringaRestrictedGroupusingtheDefaultDomainPolicy:1.
UsingyourMicrosoftManagementConsole(MMC)withtheGroupPolicyconsoleforyourdomain,createanewgroupcalledViewUsersunderActiveDirectory>UsersandComputers.
2.
Adduserstothisgroupwhoneedtoaccessthevirtualdesktops.
3.
EdityourDefaultDomainPolicy.
4.
UnderComputerConfiguration>WindowsSettings>RestrictedGroups,addtheRemoteDesktopUsersGroup.
5.
AddtheViewUsersgrouptotheRestrictedRemoteDesktopUsersgroup.
ThisapproachensuresthattheViewUsersgroupisalwaysaddedtothelocalRemoteDesktopUsersgroupofeachvirtualdesktopjoinedtothedomain.
Whenprovisioningnewusers,anadministratororhelpdesktechnicianmustonlyensurethatusersareaddedtotheViewUsersgroupinActiveDirectory.
ManagingVirtualDesktopsUsingCommonGPOsThereareseveralGroupPolicyobjects(GPOs)thatcanbeusedforcentralcontroloftheconfigurationofyourvirtualdesktops.
BecauseusersaccesstheirvirtualdesktopswithRemoteDesktop,themostcommonlyusedGPOsaretheTerminalServerGPOsunderComputerorUserConfiguration>AdministrativeTemplates>WindowsComponents>TerminalServices.
SeveraloftheGPOsarespecifictoTerminalServeranddonotapplytoRemoteDesktopsessions.
SomeofthecommonlyusedGPOsfordeployingWindowsXPinaViewenvironmentaredescribedinTable2andTable3.
ManyoftheseGPOsareoptionalbutrecommended.
Naturally,usecasesandenvironmentsvarydependingonyourorganization'sstandardsandpolicies.
Table2.
GPOsUnderTerminalServicesSERVICEDESCRIPTIONEnforceremovalofRemoteDesktopwallpaper=EnableThissettingcangreatlyenhancetheuserexperience,especiallyoverlow-bandwidthconnections.
Limitmaximumcolordepth=EnableThissettingletsyousetthecolordepthforRemoteDesktopsessions.
AllowuserstoconnectremotelyusingTerminalServices=EnableThissettingensuresthatthelocalpolicyenablingRemoteDesktopconnectionsisconfigured.
RemoteWindowssecurityitemfromStartMenu=DisableTheDisablesettingensuresthatusershavealogoutmechanism.
RemoveDisconnectoptionfromShutdowndialog=EnableThissettingminimizesthepossibilityofusersdisconnectingratherthanloggingout.
I/OadaptersTheLSILogicadapterissuedfordeploymentsbasedonViewisrecommended;however,theLSILogicdriverisnotincludedaspartoftheWindowsXPinstallationprocedure.
DownloadandadditduringtheOSinstallation.
WHITEPAPER/7Table3.
GPOsUnderTerminalServices>SessionsSERVICEDESCRIPTIONSettimelimitfordisconnectedsessions=EnableThissettinglogsoutanydisconnectedsessionsthatoccurafterthespecifiedtime.
CombinedwithViewvirtualmachinepowerpolicies,thissettingcanbeusedtocreateadynamicandpowerfulsolutionforsuspendingorpoweringoffdisconnectedvirtualdesktops.
Whenunneededdesktopsaresuspendedorpoweredoff,theresourcesaremadeavailabletootherdesktops.
SetatimelimitforactivebutidleTerminalServicessessions=EnableThissettinglogsoutanyidlesessionsthatoccurafterthespecifiedtime.
CombinedwithViewvirtualmachinepowerpolicies,thissettingcanbeusedtocreateadynamicandpowerfulsolutionforsuspendingorpoweringoffdisconnectedvirtualdesktops.
Whenunneededdesktopsaresuspendedorpoweredoff,theresourcesaremadeavailabletootherdesktops.
Note:AWindowsXPbugmaypreventtheidletrackerfromworking.
AhotfixisavailablefromMicrosoftuponrequest.
SeeKB890864.
ManagingtheViewClientUsingGPOsOneofthecomponentsprovidedwithVMwareViewistheViewClient,anapplicationthatisinstalledontheclientandwhichprovidestheclient-sidecomponentforconnectingwithvirtualdesktops.
Onsomeclients,theViewClientalsoenablestheabilitytoredirectadditionalUSBdevicesnotsupportedbynativeRDPdeviceredirection.
AlsoincludedwithViewisaGroupPolicyAdministrativeTemplateformanagingandconfiguringViewClientsettingsfromacentrallocationwithGroupPolicy.
Usingthisadministrativetemplate,youcanmanagethefollowingclient-sidesettings:EnabletheshadePintheshadeDon'tcheckmonitoralignmentonspanningColordepthDesktopbackgroundShowcontentsofwindowwhiledraggingMenuandwindowanimationThemesCursorshadowFontsmoothingDesktopcompositionAudioredirectionRedirectdrivesRedirectprintersRedirectserialportsRedirectsmartcardsRedirectclipboardRedirectsupportedplug-and-playdevicesBitmapcachingShadowbitmapsCachepersistenceactiveEnablecompressionWindowskeycombinationredirectionBitmapcachefilesizeWHITEPAPER/8TakethefollowingstepstostartconfiguringtheViewClientsettings:1.
Locatethevdm_client.
admfilein\VMware\VMwareView\Server\extras\GroupPolicyFiles.
ThisfileislocatedonanyViewConnectionServerthathasbeeninstalled.
2.
CopythisfiletothemanagementstationyouusetomanageGPOs.
Bydefault,GroupPolicylooksforadministrationtemplatesinC:\WINDOWS\inf.
Youcancopythevdm_client.
admfiletothatlocationoranyotherlocationaccessiblefromyourmanagementstation.
3.
UsingyourMicrosoftManagementConsole(MMC)withtheGroupPolicyEditorsnap-inloaded,locatethegrouppolicyyouwanttoaddthetemplateto.
4.
Fromthepolicy,expandUserConfiguration,selectAdministrativeTemplates,andselectAdd/RemoveTemplates.
5.
Locatethevdm_clienttemplateandaddittothepolicy.
Whenyoucompletethesesteps,youarereadytoconfigureyourpolicytomanageViewClientsettings.
WhenmanagingtheViewClientsettingsforanotherdevice,suchasathinclientusingitsownRDPclientandconfiguration,anyGPOsettingsforRemoteDesktopwilloverridetheclientside.
Forexample,iftheclientisconfiguredtouse24-bitcolorandtheRemoteDesktopGPOisconfiguredforamaximumof16-bitcolor,theconnectionwillconnectusing16-bitcolor.
SupportingMultipleMonitorsIfyouusetheMicrosoftRemoteDesktopclientcommand-lineoption/span,aRemoteDesktopsessioncanspanmultipledisplayswithamaximumresolutionof4096x2048.
However,spanningdoesnotcreateadesktopexperienceidenticaltothatofaworkstationwithamultiportgraphicscard.
Toachieveatruemultimonitorexperience,youneedathird-partytool,suchasSplitVieworiShadowDesktop.
VMwareViewalsoenablesuserstoconfiguretheirdesktopsbyspanningtheRemoteDesktopsessionacrossmultiplemonitors.
IndividualuserscanconfigurethispreferencewiththeViewClientorViewWebAccess.
AbouttheAuthorWarrenPonder,DirectorofProductManagement,EnterpriseDesktop,EndUserComputing,VMware,wrotethispaperwhileintheroleofSeniorTechnicalMarketingEngineer.
ReleaseNotesTinadeBenedictis,TechnicalMarketingManager,EnterpriseDesktop,EndUserComputing,VMware,mademinorupdatestothispaper.
ThepaperdoesnotfullyreflectthecurrentcapabilitiesofViewwithPCoIP.
Referenceshttp://technet.
microsoft.
com/en-us/sysinternals/default.
aspxhttp://technet.
microsoft.
com/en-us/windowsxp/default.
aspxwt.
svl=leftnavhttp://technet2.
microsoft.
com/windowsserver/en/library/b9546edf-751f-4a09-835a-f3397caef2361033.
mspxmfr=truehttp://technet2.
microsoft.
com/windowsserver2008/en/library/fc0b405b-07ef-4767-8716-198d7f0949011033.
RAKsmart怎么样?RAKsmart发布了2021年中促销,促销时间,7月1日~7月31日!,具体促销优惠整理如下:1)美国西海岸的圣何塞、洛杉矶独立物理服务器低至$30/月(续费不涨价)!2)中国香港大带宽物理机,新品热卖!!!,$269.23 美元/月,3)站群服务器、香港站群、日本站群、美国站群,低至177美元/月,4)美国圣何塞,洛杉矶10G口服务器,不限流量,惊爆价:$999.00,...
企鹅小屋怎么样?企鹅小屋最近针对自己的美国cn2 gia套餐推出了2个优惠码:月付7折和年付6折,独享CPU,100%性能,三网回程CN2 GIA网络,100Mbps峰值带宽,用完优惠码1G内存套餐是年付240元,线路方面三网回程CN2 GIA。如果新购IP不能正常使用,请在开通时间60分钟内工单VPS技术部门更换正常IP;特价主机不支持退款。点击进入:企鹅小屋官网地址企鹅小屋优惠码:年付6折优惠...
ucloud6.18推出全球大促活动,针对新老用户(个人/企业)提供云服务器促销产品,其中最低配快杰云服务器月付5元起,中国香港快杰型云服务器月付13元起,最高可购3年,有AMD/Intel系列。当然这都是针对新用户的优惠。注意,UCloud全球有31个数据中心,29条专线,覆盖五大洲,基本上你想要的都能找到。注意:以上ucloud 618优惠都是新用户专享,老用户就随便看看!点击进入:uclou...