Problems running script to create x64 system registry key
Hi All, I am in need of creating a registry in HKLM\Software\ directly in a x64 bit computer using VB script. The VB script writes the registry to HKLM\Sotware\ when executed manually. But when deployed from SCCM, the registry is written in HKLM\Software\Wow6432Node. Please help!!
Tried using Runonce and ActiceSetip but the results are same.
In SCCM, instead of cscript.exe "yourscript.vbs" use %windir%\Sysnative\cscript.exe "yourscript.vbs"