SOLVED

unable to set keyboard via intune but script works locally

Bronze Contributor

Hi all, 

 

I have used the following in a PowerShell script:

 

$Lang = New-WinUserLanguageList en-GB

$Lang[0].InputMethodTips.Clear()

$Lang[0].InputMethodTips.Add('0809:00000809')

Set-WinUserLanguageList -LanguageList $Lang -force

Get-WinUserLanguageList

 

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

2 Replies
best response confirmed by AB21805 (Bronze Contributor)
Solution

Hi,

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. 

 

Rudy_Ooms_0-1621348333927.png

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.
1 best response

Accepted Solutions
best response confirmed by AB21805 (Bronze Contributor)
Solution

Hi,

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. 

 

Rudy_Ooms_0-1621348333927.png

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

View solution in original post