Dos This Program Must Be Run Under Win32

I'm trying to run a DOS game in DOSBox, but it says it must be run under Win32. The game in question was recently re-released for higher resolution and ability to run under Windows. Does it mean it. I have written a program which triggers a relay switch on a serial port. The relay is closed for 10ms, after which the program closes. However, the program insists on running in a small command prompt window. I would like the program to run without stealing focus; either by running in the background or, even better, without opening a window at all.

Hi,

Welcome to Microsoft Community.

Program

This Program Must Be Run Under Win32

I understand that you have an issue running the .exe files. We apologize for the inconvenience caused to you.

I would like to know the detail below to assist you better.

  1. This Program Must Be Run Under Win32 Dos Share a link to this question laptop black after BIOS0Dell Studio 1558 BIOS Update Failed0Updated BIOS on Asus laptop. How To Install and Play Old Windows 95/Win.
  2. May 05, 2010  The Windows 32 mean 32 bit counting from windows 95 onwards so looks like you must run this program under windows and not under dos. Maybe try opening dos command prompt and try running the program from there.
  • Did you make any changes to the computer prior to the issue?

Method 1:

I request you to perform a SFC scan and check if it helps. It allows users to scan for corruptions in Windows system files and restore corrupted files.

Use the system file checker tool to repair missing or corrupted system files

Administrator

Method 2:

Dos This Program Must Be Run Under Win32

If the issue persists then I request you to perform a clean boot and check which is the third party application that is causing the issue. Refer the below help article for assistance.

How to perform a clean boot in Windows

Disclaimer:Please go through the section: How to reset the computer to start as usual after troubleshooting with clean boot of the Kb article to boot the computer in normal startup after fixing the issue.

Keep us posted on the issue to assist you better.

Active1 year, 6 months ago
Dos This Program Must Be Run Under Win32

I'm trying to run a DOS game in DOSBox, but it says it must be run under Win32. The game in question was recently re-released for higher resolution and ability to run under Windows. Does it mean it's no longer compatible with DOS?

NB If it helps, the game is Raptor - Call of the Shadows 2010 Edition.

OxwiviOxwivi
5,01243 gold badges122 silver badges187 bronze badges

1 Answer

The format of EXE files for Windows is different then for DOS - Windows applications contain a small DOS stub which says 'This program can not be run in DOS' and exits; Windows loader uses a different entry point.

This Program Must Be Run As Administrator

If that message is what you see when trying to run the executable in DOSBox, then it means the executable has the new format (not surprisingly in 2010), so DOS (and DOSBox) can't load it. Try using Wine.

SergeySergey
37.4k10 gold badges91 silver badges103 bronze badges

Dosbox This Program Must Be Run Under Win32

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