Add Language Packs Offline In Windows Image Using DISM

文章推薦指數: 80 %
投票人數:10人

Let's learn how to add language packs offline in Windows Image using DISM. There are several methods to deploy Windows 10 or Windows 11 ... Skiptocontent Menu Let’slearnhowtoaddlanguagepacksofflineinWindowsImageusingDISM.ThereareseveralmethodstodeployWindows10orWindows11languagepacks.HereyouwillseethestepstoaddlanguagepacksforWindowsImageViaDISM(OfflineServicing). Deployment Image Servicingand Management(DISM)isacommand-linetoolusedtoupdateofflineWindowsimages.TherearetwowaystoinstallorremovepackagesofflinewithDISM.Youcaneitherapplyan unattendanswerfile totheofflineimage,oryoucanaddorremovethepackagedirectlyfromthecommandprompt. MicrosoftalsoIntroducedLocalExperiencePacks (LXPs),whicharemodernlanguagepacksdeliveredthroughtheMicrosoftStoreorMicrosoftStoreforBusiness.Soyounolongerhavetowaitforfeatureupdatereleasestodeliverimprovedtranslationstoyou. YoucancreateWindowsimageswithLIPbyinstallingtheappropriateLXPfromthelanguagepackISOsforfulllanguages(akaSKUlanguages),Microsofthasnotyetretiredthelegacylanguagepacks(lp.cab),soyouwillneedtocontinuetoaddlp.cabforfulllanguagestotheOSimageusingDISM. ThefourstepsprocesshelpsyoutokeepyourWindowsImage(WIM)fileupdated– Modifyanimageoffline: Startwithanimagefile(either.wimor.ffuformat). MountthefileusingDISM.Itappearsasagroupoffolders. ModifyitusingDISM,addingdrivers,languages,andmore.UseDISMtounmountandcommitthechangesbacktotheoriginalimagefile. Applyittonewdevices. IntuneLearntoDeployWindows10LanguagePackStepbyStep|MEMHowtoDeployWindowsAppWin32UsingIntune|LanguagePack DownloadLanguagePacks IfyouhaveanEnterprise subscription,werecommendthatyoudownloadlanguagepackmediafrom MSDN or VLSC (VolumeLicensingServiceCenter). Toselectanddownloadmultiplelanguagepacksatonce,select MultiLanguage.Ifyouonlyneedonelanguagepack,selecttheindividuallanguagepack. TheresultswillreturnthecurrentlyavailableISOimagescontaininglanguagepacksandlocalexperiencepacks. Important– IdentifytheimageindexbeforeyouproceedfurthertoaddWindowsupdate.Youcangetmore detailsabouttheImageIndex.Hereweareextractingthe Windows10EnterpriseEdition;you mustspecify /index:3. MountanImage–AddLanguagePacksOffline MounttheWindowsimage(Install.wim) –Use DISM tomounttheimageintoatemporarylocationonyourPC. Opena commandprompt or DISM (DeploymentandImagingToolsEnvironment)withadministratorprivileges.Typethefollowingcommandfor creating anempty folder/directorytomounttheofflineWindowsimage(Wim). Inthisexample –ThedirectoryiscreatedinsidetheDdrivenamed _Mount andWIMFilelocation “D:\Win1021H2\install.wim” Makesurethatyouadjustthepathsasperyourenvironment. Note:Don’tmountimagestoprotectedfolders,suchasyourUser\Documentsfolder. mkdirD:\_Mount Dism/mount-wim/wimfile:"D:\Win1021H2\install.wim"/mountdir:D:\_Mount/index:3 AddLanguagePacksOfflineInWindowsImageUsingDISM AddaLanguagepackagetoanimage –ToachievefulllocalizationoftargetlanguageduringOSD,generally,weinstallLP.cabfilesinanofflineimageusingDISM. Note–Itisrecommendedthatyoucopythelanguagepackstoyourcomputerbeforeaddingthelanguagepackstotheimage. Toapplythedownloadlanguagepack(.cab)toyourmountedimage.Typethefollowingcommandtoinstalllanguagepackstotheimage. Forexample,thefollowingcommandshowshowtoaddaFrenchlanguagepack:/packagepath: Dism/image:D:\_Mount/add-package/packagepath:"D:\LanguagePack\fr-fr.cab" AddLanguagePacksOfflineInWindowsImageUsingDISM ValidateLanguagePacksInstallation–AddLanguagePacksOffline /Get-Intl:Displaysinformationaboutinternationalsettingsandlanguages. Usethe /Image: optiontodisplayinformationaboutinternationalsettingsandlanguagesintheofflineimage. Dism/image:D:\_Mount/get-intl Output->ExecutionStatus Reportingofflineinternationalsettings. DefaultsystemUIlanguage:en-US Systemlocale:en-US Defaulttimezone:PacificStandardTime Userlocalefordefaultuser:en-US Location:UnitedStates(GEOID=244) Activekeyboard(s):0409:00000409 Keyboardlayereddriver:Notinstalled. Installedlanguage(s):en-US Type:Fullylocalizedlanguage. Installedlanguage(s):fr-FR Type:Partiallylocalizedlanguage,MUItype. FallbackLanguagesen-US Theoperationcompletedsuccessfully. AddLanguagePacksOfflineInWindowsImageUsingDISM UnmountWindowsImage–AddLanguagePacksOffline Afteryoumodifyamountedimage,youmustunmountit.Ifyoumountyourimagewiththedefaultread/writepermissions,youcancommityourchanges.Thismakesyourmodificationsapermanentpartoftheimage. Tosavechangesyoumaketotheimage,usethe /commit optionwhenyouuseDISMtounmounttheimage. Dism/unmount-wim/mountdir:D:\_Mount/commit AddLanguagePacksOfflineInWindowsImageUsingDISM Addalanguagetoanexistinglanguagelist ThisexampleaddsthelanguageFrench(France)tothelanguagelistoftheuser. RunthefollowingPowerShellcommandswith usercontext tocompletetheprocess– Get-WinUserLanguageList:Getalanguagelistforthecurrentaccount.Set-WinUserLanguageList:Setsthelanguagelistandassociatedpropertiesforthecurrentuseraccount. Substituteinthecommandabovewiththeactuallanguagetag(ex:“fr-FR”)forthelanguage(ex:“French(France)”youwanttosetasyourdisplaylanguage. ThefirstcommandgetstheuserlanguagelistbyusingtheGet-WinUserLanguageListcmdlet.Thecommandstorestheresultinthe$OldListvariable.Thesecondcommandaddsalanguagetotheobjectin$OldList.Thefinalcommandsetsthelanguagelistofthecurrentusertotherevisedvalueof$OldList. $OldList=Get-WinUserLanguageList $OldList.Add("fr-FR") Set-WinUserLanguageList$OldList-Force WindowsDisplayLanguage–AddLanguagePackstoanexistinglanguagelist Troubleshooting–IfyouexperiencinganyissuewhileinjectinglanguagepackswithanyofthecommandlinesfromDISM,youcanlocatethelogfilein C:\Windows\Logs\DISM formoredetails. Author AboutAuthor – Jitesh,MicrosoftMVP, hasoverfiveyearsofworkingexperienceintheITIndustry.HewritesandshareshisexperiencesrelatedtoMicrosoftdevicemanagementtechnologiesandITInfrastructuremanagement.HisprimaryfocusisWindows10DeploymentsolutionwithConfigurationManager,MicrosoftDeploymentToolkit(MDT),andMicrosoftIntune. 2thoughtson“AddLanguagePacksOfflineInWindowsImageUsingDISM” Olá,tudobem?Oseututorialéexcelenteemuitomeajudouemumprojetodaempresa,porémencontrodificuldadedeinjetarospackageslpemumaimagemdoWindowsversão21H2viaDISMcommensagemdequeos“lp.cab”inglêseChinêsquequeroinjetarnaimagemnãosãocompatíveiscomaversãoescolhida,queéa21H2.Comoexisteumagrandequantidadedetiposdeidiomasoferecidosestouconfusoenãoconseguifinalizaresteprojeto.Vocêteriacomasuaexperiênciaencontradoalgosimiliaremedarumaluzconsiderandoatuagrandeexperiêncianaárea? Reply shouldIaddallthe5packageslikespeech,basic,etc……foronelanguage?Iamworkingonzh-HKlanguage Reply LeaveaCommentCancelreplyCommentName Email Website Δ ThissiteusesAkismettoreducespam.Learnhowyourcommentdataisprocessed. SearchSearch Close



請為這篇文章評分?