Run IIS in 32-bit mode on a 64 bit machine

IIS 7 / 7.5 / 8

On IIS 7 / 7.5 / 8,  configure website or web application to run under 32 bit mode can be configured by opening a command prompt and typing following command and press ENTER.

%windir%system32inetsrvappcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true

You can achieve the same goal in IIS Manager by opening the ‘Advanced Settings’ on the application pool binded to the website/web application you want to run under 32 bit mode and change “Enable 32-bit Applications” to True

Enable 32 bit applications in IIS 7

Click okay and now the web application or website you configured will run under 64-bit mode always.

IIS 6

For IIS6 on Windows Server 2003, configure ASP.NET to run in 32 bit mode on a 64 bit windows server.open a command prompt and type following command and press ENTER.

cscript //nologo %SYSTEMDRIVE%InetPubAdminScriptsadsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1

In IIS 6, you cannot run one Application Pool in 32-bit and others in 64-bit. But you can do this on IIS 7 and later as Enable32BitAppOnWin64 can be configured per application pool since IIS 7.  

7 thoughts on “Run IIS in 32-bit mode on a 64 bit machine”

  1. Thanks this works after making mark the application pool with “Enable 32-bit applications” = true.
    when the hosted server is on 64bit

  2. Confused.
    What is the 2nd line:
    “apppool /apppool.name:MyAppPool32bit /enable32BitAppOnWin64:true”

    ??? How is that part entered? I tried directly entering and it’s not recognized. Please clarify. Thanks.

  3. @joe, sorry for confusing. I just updated the post with corrected command. Alternatively you can try using IIS Manager to set your application pool to run on 32bit mode, all needs to do is mark Enable 32-bit Applications to true.

  4. Your Site Is One Of My Latest Blogroll Additions My husband and i ended up being jouyfl when Ervin could finish up his preliminary research from your precious recommendations he gained using your web page. It’s not at all simplistic just to continually be offering guidelines that many other people c

  5. I have windows vista ,i did everything step by step and when i got to the last part the code novacom boot mem://< ACMEInstaller2 and hit enter nothing happen after that…:(

Leave a Reply

Your email address will not be published.