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.
LightNode是一家成立于2002年,总部位于香港的VPS服务商。提供基于KVM虚拟化技术.支持CentOS、Ubuntu或者Windows等操作系统。公司名:厦门靠谱云股份有限公司官方网站:https://www.lightnode.com拥有高质量香港CN2 GIA与东南亚节点(河内、曼谷、迪拜等)。最低月付7.71美金,按时付费,可随时取消。灵活满足开发建站、游戏应用、外贸电商等需求。首...
卢森堡商家gcorelabs是个全球数据中心集大成的运营者,不但提供超过32个数据中心的VPS、13个数据中心的cloud(云服务器)、超过44个数据中心的独立服务器,还提供超过100个数据中心节点的CDN业务。CDN的总带宽容量超过50Tbps,支持免费测试! Gcorelabs根据业务分,有2套后台,分别是: CDN、流媒体平台、DDoS高防业务、块存储、cloud云服务器、裸金属服务器...
已经有一段时间没有听到Gigsgigscloud服务商的信息,这不今天看到商家有新增一款国际版线路的美国VPS主机,年付也是比较便宜的只需要26美元。线路上是接入Cogentco、NTT、AN2YIX以及其他亚洲Peering。这款方案的VPS主机默认的配置是1Gbps带宽,比较神奇的需要等待手工人工开通激活,不是立即开通的。我们看看这款服务器在哪里选择看到套餐。内存CPUSSD流量价格购买地址1...