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.
hostyun新上了香港cloudie机房的香港原生IP的VPS,写的是默认接入200Mbps带宽(共享),基于KVM虚拟,纯SSD RAID10,三网直连,混合超售的CN2网络,商家对VPS的I/O有大致100MB/S的限制。由于是原生香港IP,所以这个VPS还是有一定的看头的,这里给大家弄个测评,数据仅供参考!9折优惠码:hostyun,循环优惠内存CPUSSD流量带宽价格购买1G1核10G3...
hostkey应该不用说大家都是比较熟悉的荷兰服务器品牌商家,主打荷兰、俄罗斯机房的独立服务器,包括常规服务器、AMD和Intel I9高频服务器、GPU服务器、高防服务器;当然,美国服务器也有,在纽约机房!官方网站:https://hostkey.com/gpu-dedicated-servers/比特币、信用卡、PayPal、支付宝、webmoney都可以付款!CPU类型AMD Ryzen9 ...
无忧云怎么样?无忧云服务器好不好?无忧云值不值得购买?无忧云是一家成立于2017年的老牌商家旗下的服务器销售品牌,现由深圳市云上无忧网络科技有限公司运营,是正规持证IDC/ISP/IRCS商家,主要销售国内、中国香港、国外服务器产品,线路有腾讯云国外线路、自营香港CN2线路等,都是中国大陆直连线路,非常适合免备案建站业务需求和各种负载较高的项目,同时国内服务器也有多个BGP以及高防节点...