Skip to content

Instantly share code, notes, and snippets.

@MasayukiOzawa
Created December 14, 2018 01:25
Show Gist options
  • Save MasayukiOzawa/30c6a2f129176d0854c3be51f24cad55 to your computer and use it in GitHub Desktop.
Save MasayukiOzawa/30c6a2f129176d0854c3be51f24cad55 to your computer and use it in GitHub Desktop.
# https://support.microsoft.com/ja-jp/help/4466511/cannot-configure-language-pack-for-windows-server-2019
$lp_uri = "https://software-download.microsoft.com/download/pr/17763.1.180914-1434.rs5_release_SERVERLANGPACKDVD_OEM_MULTI.iso"
Invoke-WebRequest -Uri $lp_uri -OutFile (Join-Path $ENV:temp ($lp_uri -split "/")[-1])
Mount-DiskImage (Join-Path $ENV:temp ($lp_uri -split "/")[-1])
$drive = Get-PSDrive | ? Description -like "*SL1_X64FRE*"
Set-Location ($drive.Name + ":\")
lpksetup.exe /i ja-jp /r /f /s /p ".\x64\langpacks"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment