Changing IIS Emulation Modes

In 64 bit Windows 2003, you may need to change the emulation mode of IIS depending upon the cases and conditions. To change the IIS emulation mode to 32 bit to 64 bit and vice versa, do the followings:

  • Open command promp and run the following command
    cd C:\Inetpub\Adminscripts (I am assuming that C is your windows drive)
  • cscript adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
    (to make it 32 bit)
  • cscript adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 0
    (to make it 64 bit)
  • iisreset

0 comments:

Post a Comment