I'm running a batch file command on a server which is using reg query to find out the procesor_architecture of the machine(AMD64 or x86).
And I'm getting this error, does anyone know what could be the issue. And what all things have to be checked first before running this command on that specific server.
This is the command:
reg query "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v PROCESSOR_ARCHITECTURE.
I don't know if this helps or not. But the OS is W2k Advances SP 4 on the server.