In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Due to the need of work, it is often necessary to install the system and have multi-language requirements. Now, take English and Chinese (en-us/zh-cn) as examples, hand-make a multilingual windows installation CD (USB disk):
1. Download the latest Windows ADK:
Https://docs.microsoft.com/zh-cn/windows-hardware/get-started/adk-install
The latest is windows 10 1809
Download and install adk:
The following two choices will suffice:
Next, install ADKWinPEAddons:
Run: adkwinpesetup.exe
Until the installation is complete:
Run as an administrator:
Next, prepare an English version of Windows installation CD (take the latest windows 10: Win10_1809Oct_English_x32.iso as an example)
You can download the latest system disk at: https://tb.rg-adguard.net/public.php
If you want to install 32-bit windows in the future, you must use 32-bit as a template, because 32-bit boot.wim can install both 32-bit and x64 systems.
Prepare the necessary directories:
Mkdir C:\ m\ mount\ windows
Mkdir C:\ m\ mount\ winre
Mkdir C:\ m\ mount\ boot
Mkdir C:\ m\ LanguagePack\ en-us
Mkdir C:\ m\ LanguagePack\ zh-cn
Mkdir C:\ m\ my_Distribution
Mkdir C:\ m\ wim\ win10pro
Mkdir C:\ m\ wim\ win10ent
Mkdir C:\ m\ wim\ win7pro
Mkdir C:\ m\ wim\ win7ent
Mkdir C:\ m\ wim\ win7ult
Mkdir C:\ m\ hotfix\ win10_1809
Mkdir C:\ m\ hotfix\ win7sp2
Copy all the contents of en-US Windows DVD to C:\ m\ my_distribution
Xcopy F:\ C:\ m\ my_distribution / s / e
Dism / Get-ImageInfo / ImageFile:C:\ m\ my_distribution\ sources\ install.wim
Export the required win10 pro:
Dism / Export-Image / SourceImageFile:C:\ m\ my_distribution\ sources\ install.wim / SourceIndex:6 / DestinationImageFile:C:\ m\ wim\ win10pro\ install.wim
Dism / Get-ImageInfo / ImageFile:C:\ m\ wim\ win10pro\ install.wim
Xcopy C:\ m\ wim\ win10pro\ install.wim C:\ m\ my_distribution\ sources\ install.wim
Dism / Get-ImageInfo / ImageFile:C:\ m\ my_distribution\ sources\ install.wim
Dism / Mount-Image / ImageFile:C:\ m\ my_distribution\ sources\ install.wim / Index:1 / MountDir:C:\ m\ mount\ windows
Dism / Mount-Image / ImageFile:C:\ m\ mount\ windows\ Windows\ System32\ recovery\ winre.wim / MountDir:C:\ m\ mount\ winre
Dism / Add-Package / image:C:\ m\ mount\ windows / PackagePath:C:\ m\ LanguagePack\ zh-cn\ Microsoft-Windows-Client-Language-Pack_x86_zh-cn.cab
Dism / Add-Package / image:C:\ m\ mount\ windows / PackagePath:C:\ m\ hotfix\ win10_1809\ windows10.0-kb4467708-x86.msu
Dism / image:C:\ m\ mount\ windows / set-allIntl:zh-cn / Set-TimeZone: "China Standard Time"
Dism / image:C:\ m\ mount\ windows / gen-langini / distribution:C:\ m\ my_distribution
Dism / image:C:\ m\ mount\ windows / get-intl / distribution:C:\ m\ my_distribution
Dism / image:C:\ m\ mount\ winre / Add-Package / PackagePath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ x86\ WinPE_OCs\ zh-cn\ lp.cab"
X64:
Dism / image:C:\ m\ mount\ winre / Add-Package / PackagePath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ amd64\ WinPE_OCs\ zh-cn\ lp.cab"
Dism / image:C:\ m\ mount\ winre / set-allIntl:zh-cn / Set-TimeZone: "China Standard Time"
Dism / image:C:\ m\ mount\ winre / get-intl
DISM / unmount-image / mountdir:C:\ m\ mount\ winre / commit
DISM / unmount-image / mountdir:C:\ m\ mount\ windows / commit
two。 Add a language pack to the Windows installer:
1) use DISM to load index 2 of the Boot.wim file:
Dism / Mount-Image / ImageFile:C:\ m\ my_distribution\ sources\ boot.wim / Index:2 / MountDir:C:\ m\ mount\ boot
2) add the Windows PE language pack and Windows installer optional components to the mounted image for each language you want to support:
DISM / add-package / image:C:\ m\ mount\ boot / packagepath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ x86\ WinPE_OCs\ zh-cn\ lp.cab"
X64:
DISM / add-package / image:C:\ m\ mount\ boot / packagepath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ amd64\ WinPE_OCs\ zh-cn\ lp.cab"
3) add optional components of Windows PE installer:
DISM / add-package / image:C:\ m\ mount\ boot / packagepath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ x86\ WinPE_OCs\ WinPE-FontSupport-ZH-CN.cab"
DISM / add-package / image:C:\ m\ mount\ boot / PackagePath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ x86\ WinPE_OCs\ WinPE-Setup.cab"
DISM / add-package / image:C:\ m\ mount\ boot / packagepath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ x86\ WinPE_OCs\ zh-cn\ WinPE-Setup_zh-cn.cab"
DISM / add-package / image:C:\ m\ mount\ boot / PackagePath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ x86\ WinPE_OCs\ WinPE-Setup-client.cab"
DISM / add-package / image:C:\ m\ mount\ boot / packagepath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ x86\ WinPE_OCs\ zh-cn\ WinPE-Setup-Client_zh-cn.cab"
X64:
DISM / add-package / image:C:\ m\ mount\ boot / packagepath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ amd64\ WinPE_OCs\ WinPE-FontSupport-ZH-CN.cab"
DISM / add-package / image:C:\ m\ mount\ boot / PackagePath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ amd64\ WinPE_OCs\ WinPE-Setup.cab"
DISM / add-package / image:C:\ m\ mount\ boot / packagepath: "C:\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ amd64\ WinPE_OCs\ zh-cn\ WinPE-Setup_zh-cn.cab"
DISM / add-package / image:C:\ m\ mount\ boot / PackagePath: "C:\ m\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ amd64\ WinPE_OCs\ WinPE-Setup-client.cab"
DISM / add-package / image:C:\ m\ mount\ boot / packagepath: "C:\ m\ Program Files (x86)\ Windows Kits\ 10\ Assessment and Deployment Kit\ Windows Preinstallation Environment\ amd64\ WinPE_OCs\ zh-cn\ WinPE-Setup-Client_zh-cn.cab"
(note: these Windows installer language packs are only available for the client version of Windows. For Windows Server, you must use the winpe-setup-server.cab file.)
4) copy the zh-cn directory in the Windows installation disk of zh-cn to C:\ m\ my_distribution\ sources:
Mkdir C:\ m\ my_distribution\ sources\ zh-cn
Xcopy h:\ sources\ zh-cn C:\ m\ my_distribution\ sources\ zh-cn / cherkyi
Dism / image:C:\ m\ mount\ boot / set-allIntl:zh-cn / Set-TimeZone: "China Standard Time"
Dism / image:C:\ m\ mount\ boot / Get-Intl
Dism / Unmount-image / MountDir:C:\ m\ mount\ boot / Commit
3. Integrate winPE into the Windows installation disk:
Copy the bcd in windows distibution to c:\ m\ bcd:
Xcopy C:\ m\ my_Distribution\ boot\ bcd c:\ m\ bcd\
Copy the boot.sdi in the winpe iso file to c:\ m\ bcd and rename it to peboot.sdi
Bcdedit / store c:\ m\ bcd\ bcd / v
Bcdedit / store c:\ m\ bcd\ bcd / timeout 60
Bcdedit / store c:\ m\ bcd\ bcd / create {ramdiskoptions}
Bcdedit / store c:\ m\ bcd\ bcd / set {ramdiskoptions} ramdisksdidevice boot
Bcdedit / store c:\ m\ bcd\ bcd / set {ramdiskoptions} ramdisksdipath\ boot\ peboot.sdi
Bcdedit / store c:\ m\ bcd\ bcd / create {e18d7416-d8dc-11e8-88da-701ce7e35f75} / d "WinPE x64" / application osloader
Bcdedit / store c:\ m\ bcd\ bcd / displayorder {e18d7416-d8dc-11e8-88da-701ce7e35f75} / addfirst
Bcdedit / store c:\ m\ bcd\ bcd / default {e18d7416-d8dc-11e8-88da-701ce7e35f75}
Bcdedit / store c:\ m\ bcd\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} device ramdisk= [boot]\ sources\ pe64.wim, {ae5534e0-a924-466c-b836-758539a3ee3a}
Bcdedit / store c:\ m\ bcd\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} path\ windows\ system32\ boot\ winload.exe
Bcdedit / store c:\ m\ bcd\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} description "WinPE x64"
Bcdedit / store c:\ m\ bcd\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} locale zh-CN
Bcdedit / store c:\ m\ bcd\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} osdevice ramdisk= [boot]\ sources\ pe64.wim, {ae5534e0-a924-466c-b836-758539a3ee3a}
Bcdedit / store c:\ m\ bcd\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} systemroot\ windows
Bcdedit / store c:\ m\ bcd\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} detecthal Yes
Bcdedit / store c:\ m\ bcd\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} winpe Yes
Bcdedit / store c:\ m\ bcd\ bcd / create {d2cd2978-05fc-11e5-a17e-18a905d696d5} / d "WinPE x86" / application osloader
Bcdedit / store c:\ m\ bcd\ bcd / displayorder {d2cd2978-05fc-11e5-a17e-18a905d696d5} / addfirst
Bcdedit / store c:\ m\ bcd\ bcd / default {d2cd2978-05fc-11e5-a17e-18a905d696d5}
Bcdedit / store c:\ m\ bcd\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} device ramdisk= [boot]\ sources\ pe32.wim, {ae5534e0-a924-466c-b836-758539a3ee3a}
Bcdedit / store c:\ m\ bcd\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} path\ windows\ system32\ boot\ winload.exe
Bcdedit / store c:\ m\ bcd\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} description "WinPE x86"
Bcdedit / store c:\ m\ bcd\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} osdevice ramdisk= [boot]\ sources\ pe32.wim, {ae5534e0-a924-466c-b836-758539a3ee3a}
Bcdedit / store c:\ m\ bcd\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} locale zh-CN
Bcdedit / store c:\ m\ bcd\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} systemroot\ windows
Bcdedit / store c:\ m\ bcd\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} detecthal Yes
Bcdedit / store c:\ m\ bcd\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} winpe Yes
Bcdedit / store c:\ m\ bcd\ bcd / v
Xcopy C:\ m\ my_Distribution\ efi\ microsoft\ boot\ bcd c:\ m\ bcd\ efi\ bcd
Bcdedit / store c:\ m\ bcd\ efi\ bcd / v
Bcdedit / store c:\ m\ bcd\ efi\ bcd / timeout 60
Bcdedit / store c:\ m\ bcd\ efi\ bcd / create {ramdiskoptions}
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {ramdiskoptions} ramdisksdidevice boot
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {ramdiskoptions} ramdisksdipath\ boot\ peboot.sdi
Bcdedit / store c:\ m\ bcd\ efi\ bcd / create {e18d7416-d8dc-11e8-88da-701ce7e35f75} / d "WinPE x64" / application osloader
Bcdedit / store c:\ m\ bcd\ efi\ bcd / displayorder {e18d7416-d8dc-11e8-88da-701ce7e35f75} / addfirst
Bcdedit / store c:\ m\ bcd\ efi\ bcd / default {e18d7416-d8dc-11e8-88da-701ce7e35f75}
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} device ramdisk= [boot]\ sources\ pe64.wim, {ae5534e0-a924-466c-b836-758539a3ee3a}
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} path\ windows\ system32\ boot\ winload.efi
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} description "WinPE x64"
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} locale zh-CN
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} osdevice ramdisk= [boot]\ sources\ pe64.wim, {ae5534e0-a924-466c-b836-758539a3ee3a}
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} systemroot\ windows
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} detecthal Yes
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {e18d7416-d8dc-11e8-88da-701ce7e35f75} winpe Yes
Bcdedit / store c:\ m\ bcd\ efi\ bcd / create {d2cd2978-05fc-11e5-a17e-18a905d696d5} / d "WinPE x86" / application osloader
Bcdedit / store c:\ m\ bcd\ efi\ bcd / displayorder {d2cd2978-05fc-11e5-a17e-18a905d696d5} / addfirst
Bcdedit / store c:\ m\ bcd\ efi\ bcd / default {d2cd2978-05fc-11e5-a17e-18a905d696d5}
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} device ramdisk= [boot]\ sources\ pe32.wim, {ae5534e0-a924-466c-b836-758539a3ee3a}
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} path\ windows\ system32\ boot\ winload.efi
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} description "WinPE x86"
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} osdevice ramdisk= [boot]\ sources\ pe32.wim, {ae5534e0-a924-466c-b836-758539a3ee3a}
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} locale zh-CN
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} systemroot\ windows
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} detecthal Yes
Bcdedit / store c:\ m\ bcd\ efi\ bcd / set {d2cd2978-05fc-11e5-a17e-18a905d696d5} winpe Yes
Bcdedit / store c:\ m\ bcd\ efi\ bcd / v
Xcopy c:\ m\ bcd\ bcd C:\ m\ my_Distribution\ boot\ bcd / y
Xcopy c:\ m\ bcd\ peboot.sdi C:\ m\ my_Distribution\ boot\ / y
Xcopy c:\ m\ bcd\ efi\ bcd c:\ m\ my_Distribution\ efi\ microsoft\ boot\ / y
Dism / Export-Image / SourceImageFile:E:\ wim\ win7pro\ install.wim / SourceIndex:1 / DestinationImageFile:C:\ m\ my_Distribution\ sources\ install.wim
Dism / Export-Image / SourceImageFile:E:\ wim\ win10pro\ install.wim / SourceIndex:1 / DestinationImageFile:C:\ m\ my_Distribution\ sources\ install.wim
Dism / Export-Image / SourceImageFile:E:\ wim\ win10ltsb\ install.wim / SourceIndex:1 / DestinationImageFile:C:\ m\ my_Distribution\ sources\ install.wim
Dism / Export-Image / SourceImageFile:E:\ wim\ win10ent_ltsc2019\ install.wim / SourceIndex:1 / DestinationImageFile:C:\ m\ my_Distribution\ sources\ install.wim
Dism / Export-Image / SourceImageFile:E:\ wim\ win2008r2sp1\ install.wim / SourceIndex:1 / DestinationImageFile:C:\ m\ my_Distribution\ sources\ install.wim
Dism / Export-Image / SourceImageFile:E:\ wim\ winsvr2012r2\ install.wim / SourceIndex:1 / DestinationImageFile:C:\ m\ my_Distribution\ sources\ install.wim
Dism / Export-Image / SourceImageFile:E:\ wim\ winsvr2016\ install.wim / SourceIndex:1 / DestinationImageFile:C:\ m\ my_Distribution\ sources\ install.wim
Dism / Export-Image / SourceImageFile:E:\ wim\ winsvr2019\ install.wim / SourceIndex:1 / DestinationImageFile:C:\ m\ my_Distribution\ sources\ install.wim
Dism / Get-ImageInfo / ImageFile:C:\ m\ my_Distribution\ sources\ install.wim
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.