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.

Answer Summary:
In SCCM, instead of cscript.exe "yourscript.vbs" use %windir%\Sysnative\cscript.exe "yourscript.vbs"
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

4

In SCCM, instead of:

cscript.exe "yourscript.vbs"

type:

%windir%\Sysnative\cscript.exe "yourscript.exe"

Answered 06/14/2012 by: asman
Purple Belt

  • Yes, this works!

    minor error though:

    %windir%\Sysnative\cscript.exe "yourscript.vbs"
  • ooh, sry i ment ".vbs" :)
Please log in to comment
Answer this question or Comment on this question for clarity