Many of my scripts are not working on the 64 bit machines.
I think it's because they are using the WOW64 version of the exe instead of
the system32 version.
Does anyone know the trick to allow remote batch files to work?
Even the psexec program is having problems with the 64bit nodes.
I'm trying to narrow it down, but still searching for answers.
Thanks if you can help.
cafebird

Re: connecting to 64 bit cmd.exe or regedit.exe from remote scripts by Andre

Andre
Fri May 20 18:10:08 CDT 2005

The WOW64 subsystem redirects 32-bit binary calls without requiring changes
to the 32-bit binaries. However, you may see evidence of this redirection
when you perform some tasks. For example, if you type a command-line script
at a 64-bit command prompt, the command prompt may not be able to access
32-bit programs in the Program Files folder. The WOW64 subsystem redirects
and installs 32-bit programs in the Program Files (x86) folder. To access
the correct folder, you must change the command-line script. Alternatively,
you must type the command-line script at a 32-bit command prompt. The 32-bit
command prompt automatically redirects file system calls to the correct
32-bit directory.

To start a 32-bit command prompt, follow these steps:
. Click Start, click Run, type %windir%\SysWoW64\cmd.exe, and then
click OK.

http://support.microsoft.com/default.aspx?scid=kb;en-us;896456

--

Andre
http://spaces.msn.com/members/adacosta
FAQ for MS AntiSpy http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm

"cafebird" <cafebird@discussions.microsoft.com> wrote in message
news:6BCCDCB5-9469-46A2-B670-03EFC10A10F1@microsoft.com...
> Many of my scripts are not working on the 64 bit machines.
> I think it's because they are using the WOW64 version of the exe instead
> of
> the system32 version.
> Does anyone know the trick to allow remote batch files to work?
> Even the psexec program is having problems with the 64bit nodes.
> I'm trying to narrow it down, but still searching for answers.
> Thanks if you can help.
> cafebird
>