Forum Discussion

AB21805's avatar
AB21805
Bronze Contributor
May 18, 2021

unable to set keyboard via intune but script works locally

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? 

  • 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. 

     

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

  • 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. 

     

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

    • AB21805's avatar
      AB21805
      Bronze Contributor
      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.

Resources