Hi All,

We have previously been getting around the 32-Bit process limitation of the KACE product by specifically calling out c:\Windows\sysnative\cmd.exe on scripts that require 64-Bit for tasks such as registry modifications.

This however no longer functions now, and strangely while KACE will launch c:\Windows\sysnative\cmd.exe the command process has null access and cannot query the file system, registry, etc.
The product still seems to retain the 32-bit limitations though as C:\Windows\system32\cmd.exe only has access to the 32-Bit reg?

2 Comments   [ + ] Show Comments

Comments

  • Try regedit.exe /s regfile.reg /reg:64
  • I narrowed the issue down to specifically when cmd.exe is called from c:\Windows\sysnative\cmd.exe and then runs an external utility that returns output to the command prompt, E.G. reg.exe or WMIC.. This prevents more complex bat files from being able to be ran natively on 64-bit systems. I can sort of work around it by invoking the command with powershell.exe but that's kind of a dirty kludge.
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share