Wrong Registry path when using Intune to upload powershell script.

Copper Contributor

I'm trying to execute a powershell script through intune that changes the OEM registry but its writing to the wrong registry path on my machine every time even when testing locally it works successfully, For some reason this command ,

REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\OEMInformation" /v Manufacturer /t REG_SZ /d "TEST" /f is editing at this registry path,

 

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\OEMInformation.

 

Don't understand why it's doing that. 

 

 

1 Reply
Intune executes Powershell script by default in 32-bit context. Have you configured the Powershell script to run in 64-bit?