Skip to content

Instantly share code, notes, and snippets.

@tmori3y2
Created May 27, 2017 02:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmori3y2/004c2f1705d4d61943df6bcef7e67246 to your computer and use it in GitHub Desktop.
Save tmori3y2/004c2f1705d4d61943df6bcef7e67246 to your computer and use it in GitHub Desktop.
Set Japanese Keyboard Layout for Windows .wim file.
$WimDir = "D:\WIM"
$MountDir = $WimDir + "\Mount"
$Wim = $WimDir + "\install.wim"
$Name = "Windows 10 Pro"
cd /d $WimDir
md $MountDir
Dism /Mount-Image /ImageFile:$Wim /Name:$Name /MountDir:$MountDir
Dism /Image:$MountDir /Set-LayeredDriver:6
Dism /Image:$MountDir /Unmount-Image /commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment