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"
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



In SCCM, instead of:

cscript.exe "yourscript.vbs"


%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
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja