We help IT Professionals succeed at work.
Get Started

This program cannot be run in DOS mode.

Last Modified: 2012-05-09
I am running the 230+MB install for .NET 3.5 sp1 on a Windows Server 2003 host.  I keep getting the following error: "This program cannot be run in DOS mode."

Any pointers in the right direction would be great.

I've tried renaming the file to an 8.3 compliant filename and placing it in the root of the drive.
I've checked that it is not running in any compatibility mode.  
Permissions are good.  I am running it as a local admin.  My account is the owner of the file.
I've tried using Add/Remove programs.
I've tried clicking on the file through the GUI as well as using the CLI.

I have not explored any CLI arguments with the file (dotnetfx35.exe)

D:\>dotnetfx35.exe /?
This program cannot be run in DOS mode.


Watch Question
Quid, Me Anxius Sum?  Illegitimi non carborundum.
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE