unable to set keyboard via intune but script works locally

Super Contributor

Hi all, 


I have used the following in a PowerShell script:


$Lang = New-WinUserLanguageList en-GB



Set-WinUserLanguageList -LanguageList $Lang -force



which works perfectly if I run on the device but from intune no luck. Any ideas? 

2 Replies
best response confirmed by AB21805 (Super Contributor)


Just noticed the pm. Is the powershell script deployed in the system or user context? What happens when you deploy it in the 64 bits context. 



Of course when you have blocked powershell... you are up for another challenge

Hi I will try this and let you know. We dont block powershell for users as this messes with other things we have set up!

I was doing it with system.