Problems when editing a Windows 11 image (integration of language packs)
Hello,
I am currently working on building a task sequence for Windows 11 in the Configuration Manager. I have integrated the required language packs (Spanish, Italian, etc.) into the image in advance using DISM.
dism /Mount-WIM /WimFile:Image /index:Index /MountDir:MountPath
dism /Image:"Mount" /Add-Package /PackagePath:"Microsoft-Windows-Client-Language-Pack_x64_es-es.cab"
dism /Unmount-WIM /MountDir:MountPath /Commit
At the end of the installation, the entire image is in the selected language, except for the appx applications such as the calculator, the calendar or the editor. According to internet research, as of windows 11 there are no longer any LanguageExperiencePacks that have to be inserted separately, these are now supposed to be integrated in the .Cab files.
these are the .Cab files that I have integrated into the image using DISM:
Microsoft-Windows-Client-Language-Pack_x64_es-es
Microsoft-Windows-LanguageFeatures-Basic-es-es
Microsoft-Windows-LanguageFeatures-Handwriting-es-es
Microsoft-Windows-LanguageFeatures-OCR-es-es
Microsoft-Windows-LanguageFeatures-Speech-es-es
Microsoft-Windows-LanguageFeatures-TextToSpeech-es-es
I have already tried to re-register the Appx packages with the following command and set the language to Spanish again, but this did not help:
Get-AppXPackage | ForEach-Object {
Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"
}
Add Spanish (Spain) language pack
Add-WindowsCapability -Online -Name "Language.Basic~~~es-ES~0.0.1.0"
Set Spanish as the default display language
Set-WinUILanguageOverride -Language "es-ES"
Set Spanish as the default input method
Set-WinUserLanguageList -LanguageList "es-ES" -Force
Set system locale to Spanish (Spain)
Set-WinSystemLocale -SystemLocale "es-ES"
I have also compared the BuildIDs these are also both the same.
Since the computers that are installed are offline, there is no option for me to install the language pack via the language settings, this must be done offline. For questions I am available and I would be happy if someone can help me.