%windir%\SysNative

Today I learned that from 32bit processes you can find %windir%\Sysnative which links you to the 64bit versions of programs.

C:\Windows\System32\cmd.exe  (64bit view)

C:\Windows\SysWOW64\cmd.exe (32bit view). Use %windir%\Sysnative if you want to use 64bit tools to service Win7

http://msdn.microsoft.com/en-us/library/windows/desktop/aa384187(v=vs.85).aspx

Having so much fun packaging IE11 onto Win7 with lots of prerequisite patches and some reboots required. IE is an OS feature rather than an independent app, so we’re getting into servicing the OS rather than just a regular app install.

This is also useful when launching installers on 64bit machines from SCCM deployments. The SCCM agent is a 32bit app so programs running something like cscript <myInstallWrapper.vbs> will be running in 32bit space.  You’ll get unexpected behaviour eg you’ll be creating environment varibles in 32bit space instead of 64bit.  Instead run %windir%\Sysnative\cscript.exe <myInstallWrapper.vbs> on 64bit machines.


Find more IT Infrastructure tips at www.alexmags.com

Leave a Reply