Apply language to a user which is not logged in

lalajee 1,811 Reputation points
2020-09-30T13:39:38.907+00:00

I need to capture the install language for a user then update the machine to new 1909 and then apply the languages which were installed when the user was logged in.

I use the following script to install the language

dism.exe /norestart /online /add-package /packagepath:.\Microsoft-Windows-Client-Language-Pack_x64_de-de.cab

install all language fod e.g. Basic, Handwriting, OCR, Speech, TextToSpeech

dism.exe /norestart /online /add-package /packagepath:.\FoD

As far as this I can install the language pack but how do I do the next setup to apply language pack to user account, if user is not logged in.

If user was logged in then I would apply this

Now install the.

$appxbundlepath= "LanguageExperiencePack.de-DE.Neutral.appx"
$licensepath= "License.xml"
Add-AppxProvisionedPackage -Online -PackagePath $appxbundlepath -Licensepath $licensepath

$xml= "de-de.xml"

& $env:SystemRoot\System32\control.exe "intl.cpl,,/f:"$XML""

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,425 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 45,266 Reputation points
    2020-09-30T21:06:18.77+00:00

    How about a scheduled task to run when the user logs on? Or a logon script? The script should, of course, check to see if the work's already been done before doing anything.

    0 comments No comments