How to Open and Run 32-bit Command Prompt in 64-bit (x64) Windows

64-bit or x64 version of Windows operating system such as Windows Server 2003, Windows XP Professional x64 Edition, Windows Vista and Windows Server 2008 uses the Microsoft Windows-32-on-Windows-64 (WOW64) subsystem layer to run 32-bit programs, binaries or drivers without modifications, change or transition to 64-bit based binaries, as the 64-bit OS is optimized to run native 64-bit programs and does not provide support for 16-bit binaries or 32-bit drivers.

To reduce compatibility issue and prevent a 32-bit program from accidentally accessing data from 64-bit application, WOW64 subsystem isolates 32-bit binaries from 64-bit binaries by redirecting registry calls and some file system calls. Other than separate registry hive for WOW64 redirected 32-bit values, %systemroot%\System32 and Program Files folder is designated as 64-bit DLLs only too, and all access or I/O of 32-bit binaries been redirected from %windir%\System32 folder to the %windir%\SysWOW64 folder, and from Program Files to Program Files (x86) directory.

The command prompt (cmd.exe) is also affected by File System Redirection feature, where command line commands or .bat and .cmd batch script may not be able to access, install, change, modify, delete or write to “Program Files” or “%windir%\System32″ folder. The WOW64 subsystem redirects and installs 32-bit programs in the “Program Files (x86)” and “%systemroot%\SysWOW64″ folder.

To access the correct folder, programmer or developer must change the command-line script, or using Sysnative virtual directory alias to access %windir%\System32 instead of %windir%\SysWOW64. When this is not possible, or when have to access original native Program Files folder, user can 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 and open a 32-bit command prompt, follow these steps:

  1. Click Start.
  2. Type %windir%\SysWoW64\cmd.exe in Start Search box.

    Alternatively, press Win + R keys (or type Run in Start Search) to open Run dialog, and type %windir%\SysWoW64\cmd.exe.

  3. Press Enter.

32-bit Command Prompt

In 32-bit command prompt, the %programfiles% path variable will point to Program Files (x86) folder which stores all 32-bit binaries.

11 Responses to “How to Open and Run 32-bit Command Prompt in 64-bit (x64) Windows”

  1. Kyle
    May 4th, 2010 13:19
    11

    I seem to randomly get errors on auto-run applications stating

    “this version isn’t compatable with the version of windows you are running, Check to be sure you have a 32 bit or a 64 bit and contact the publisher”

    What the fook? I bought mine at Office Depot with windows preloaded 2 years ago and this message has drivin me nuts.

  2. Shahrukh
    November 15th, 2009 01:36
    10

    I want to run Turbo C on Windows 7 64 bit version. The problem is incompatibility. Any solution you know. do post here.

  3. Christine
    September 20th, 2009 04:48
    9

    thankkk youuuu

  4. Balaji Ramanujam
    July 22nd, 2009 23:17
    8

    I’m using 64 bit version Windows Vista.
    I try to run a windows batch file.
    It is showing an error that “This 32 bit version is not supported by this version”

    Wat to do?
    Plz give an solution

  5. Misty
    April 19th, 2009 14:08
    7

    Lynda

    I have had my computer for close to 4 months and never realized I had two versions of internet explorer. I could never figure out why I could sometimes view movies etc. but most of the time I couldn’t. Thank you so much for letting me in on the secret!!!!

    Misty

  6. Lynda
    March 28th, 2009 00:48
    6

    Many people with new computers, especially those upgrading from Windows 98 to Windows Vista, discover that they are unable to view a movie, etc. because of the 64 bit / 32 bit issue. For most of us who are computer users but not technically literate, the error message freaks us out and we go in search of a “fix.” Your article is the CLOSEST thing to that “fix” that comes up in a quick google search … but it is inaccurate.

    The TRUE response is this, (and therefore something you might want to publish, too): If the above scenario is what has happened to you, it is likely that your new computer has TWO versions of Internet Explorer! Click on Start to look at all your programs, and you should see both of them listed together, with the second one listed as “Internet Explorer (64 bit)” According to Microsoft, the 32-bit version of IE is the one they put up for the shortcut when you click on the globe icon. To check which version of IE your shortcut pulls up, click on it then click on help, then click on “about internet explorer.” If the cipher strength says 256 bits, it is the 32-bit version.

    When websites start catching up, we can use the 64-bit version (which looks better) more often. This is why Microsoft loaded two versions for us. Kinda smart, really. Just dumb not to have let us know somehow…

    LCW

  7. nathan
    February 27th, 2009 17:13
    5

    I wrote a program which spawn a process. On running it on CLI x86 it display the output message of the spawned process where on x64 I was not able to find the display of spawned process output. Please help me on this. Thanks in advance.

  8. ian sebryk
    August 21st, 2008 17:42
    4

    i thought that might be a solution, but before i tried it, i tried just running it from a normal shell, instead of through the batchfile that launched the app in question, and it worked fine. so much weirdness.

    the batchfile no longer works, but direct command line does. how weird is that?!

    i’ll also try a different path without brackets to see if that re-enables my batchfile’s ability to launch. reaaaly need the batchfile to work again… :)

    thank Nicholas. i’ll keep you posted.

    WR!

  9. Nicholas Dille
    August 21st, 2008 14:34
    3

    I may be dipping the raft but I reckon the TCL interpreter does not allow brackets in the path to a file which it is about to source.

    Does it help to move the installation directory to a location outside of “c:\Program Files (x86)”, e.g. “c:\progs”?

    Hope that helps,
    Nicholas.

  10. ian sebryk
    August 21st, 2008 11:37
    2

    i tried using your advice to try and get some 32bit apps to run a bit better on my 64bit box. problem is, now i get weird errors from some key software. i don’t know how to undo the change… which may serve me right for swimming in deep waters…

    throw me a raft, ya?

    here’s a sample error that showed up mid-execution after i’d run the %windir%\SysWoW64\cmd.exe command:

    Error: can’t define “ProgramFiles(x86)”: name refers to an element in an array
    while evaluating script: namespace eval :: {source {C:/Program Files (x86)/[directory tree]/RMSExpression.tcl}}

  11. Nicholas Dille
    May 23rd, 2008 14:29
    1

    As you described in the article, the original %SystemRoot%\System32 is not accessible to 32-bit processes. Unfortunately, there are several tools existing uniquely as 64-bit binaries (e.g. logogg.exe and tsshutdn.exe). In one of my articles, I describe two techniques circumventing the limitation of launching 64-bit system tools from 32-bit processes: http://blogs.sepago.de/nicholas/2008/03/13/jailed-32-bit-processes-on-windows-x64/

    Enjoy,
    Nicholas.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

32 bit browser on 64 bit system - 32-bit browser running on a 64-bit operating system - how to run a 32 bit browser - how do i run a 32 bit browser - how to run a 32 bit browser on a 64 bit system - 64 bit command prompt - HOW TO RUN A 32-BIT BROWSER - how to open run command - how to run a 32 bit program on a 64 bit system - all - run 32 bit programs on 64 bit - open all 32 - how to run 32 bit browser - run as 32 bit - how to open run - run 32 bit programs on vista 64 - 32 bit command prompt - cmd x64 - run 32 bit browser - how to run 32 bit on 64 bit - how to open command prompt - how to run 32 bit programs on 64 bit - command to open run - cmd 32 bit - how to run a 32-bit browser on a 64-bit operating system - running 32 bit on 64 bit - run 32 bit on 64 bit - how to run a 32bit browser - how to run 32 bit programs on 64 bit windows - 64 bit command line - run wow64 - to open run - how to run 32 bit programs on 64 bit vista - running 32-bit programs on vista 64-bit - cmd 64 bit - how to run wow64 - run a 32-bit browser - how to open a 32 bit browser - running 32 bit on 64 bit computer - run 32-bit on 64-bit - vista run 32 bit - how to open run in windows vista - cmd 32bit - how to run 32-bit browser - 64-bit cmd.exe - windows - 64-bit command prompt - vista 32-bit command prompt - run 32 bit programs in vista 64 - vista 64 bit command prompt - run 32 bit programs in 64 bit vista - running 32 bit programs on vista - syswow64 cmd.exe - run 32 bit on 64 - cmd.exe 64 bit - 64bit command prompt - run 32 bit program on 64 bit - run a 32 bit browser - command prompt x64 - 32 bit cmd.exe - xp 64 command prompt - how to open a .net command prompt - x64 command prompt - running bat files on winxp 64 - running 32 bit programs on vista 64 - How to run 32 Bit application in vista - 32-bit command prompt - how to change from 64 bit to 32 bit browser - 32bit Command prompt - 64 bit cmd - error system 32/cmd.exe access denied - how to open run - how to run 32 bit programs on vista 64 - CANNOT OPEN EXE VISTA 64 BIT - How to run 32 bit application from 64 bit Windows server -