Intune win32 app - powershell and 32 bit registry

When you create Intune win32 app which is using some powershell code - it is run as 32 bit powershell process. Taking this into consideration when you read or write registry it is redirected into e.g. SOFTWARE\WOW6432Node

If you want to run powershell code from intune app as 64bit in install command use:

 %windir%\sysnative\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -file .\install.ps1

Komentarze