Using 64 bit wuauclt from 32 bit command prompt

Posted by Tim Brigham on Server Fault See other posts from Server Fault or by Tim Brigham
Published on 2012-10-24T21:43:35Z Indexed on 2012/10/24 23:03 UTC
Read the original article Hit count: 263

I have a script that for legacy reasons needs to run inside a 32 bit command shell. This script also includes references to certain core windows binaries - most notably wuauclt but others as well - which are not accessible by default within the 32 bit environment.

This script is being run in several locations including many windows 7 and server 2008 r2 boxes.

I'm aware of the possibility to copy files from the system32 to syswow64 in order to get around this. Is there any better method - something along the lines of adding an entry to the path variable - which will allow me to fall back to these 64 bit binaries from within a 32 bit script?

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about scripting