Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had a problem with an application running in Windows Server 2008 R2. I found from IBM's website that the reason for this problem was that the application was 32bit and Win Server 64 bit. The guidance was:

Method #2

Modify the 64-bit client device (for example Windows 2003 64-bit Citrix/Terminal Server) to automatically run all website's .NET code as 32 bit


  1. Logon to the 64-bit (operating system) client device as an administrator

  2. Start - Run "CMD" (to launch a command prompt)

  3. Change directory to C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\
  4. Ldr64.exe setwow

This will disable the "COMPLUS_ENABLE_64BIT" flag and cause all .NET code to run as 32-bit on this 64-bit client device.

I would like to know how can I enable this COMPLUS_ENABLE_64BIT again?

share|improve this question
up vote 1 down vote accepted

You repeat the first three steps, then execute Ldr64 with different arguments:

Ldr64.exe Set64

This will restore the ability to run the 64bit runtime.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.