Your full service technology partner! 
-Collapse +Expand
Search Tech Group:

-Collapse +Expand Tech Store

Prestwood eMagazine

October Edition
Subscribe now! It's Free!
Enter your email:

   ► KBComputer TechSoftware   Print This     
Tech Software:
How to Make MS DOS Programs Run on Windows 7, 8 and 10
Posted 44 months ago on 2/8/2018 and updated 10/28/2020
Take Away:

This article describes how to use Virtual Machine software to make old MS DOS programs run on the newer Windows operating systems.


For those of you who still have a need to run old MS DOS based programs on Windows 7, 8 and 10 computers, you may find yourself in a real bind. However, there is a solution to make this work. You can install something called a “virtual machine” on the PC so it will emulate a Windows XP environment within the newer Windows OS that will be hospitable to a MS DOS based application.

There are a number of different virtual machines you can download. I like “VirtualBox” from Oracle, which can be downloaded for free. You can use an application from Microsoft called “Windows XP Mode” to create a virtual machine for Windows XP, but it only runs on Windows 7 – sorry Windows 8 and 10 folks! However, this same utility can actually be used to make Windows XP run on Windows 8. The trick is to open up the downloaded Windows XP Mode file, “WindowsXPMode_en-us.exe”, from Microsoft Corporation with archiving software – “7-Zip” is good. Within that archive, you will find the "sources/xpm" file within it. That needs to be extracted to your hard drive. Within the extracted “xpm” file you will find a big file called “VirtualXPVHD”. This is a Windows XP virtual machine. It now needs to be renamed to the same name, but with a “.vhd” filename extension so VirtualBox can recognize and use it.

I recently used this technique to make an old server based SBT Foxpro for MS DOS program run on three Windows 8 computers for a customer. I had to select the network drives through VirtualBox and then map them to specific drive letters according to the SBT Foxpro DOS program requirements in the virtualized Windows XP environment. It worked fine – for a while.

This is what happened after about a month. When I initially configured the “VirtualXPVHD.vhd” file, there was a Windows XP product activation utility that had to be set. I tried to do it in the virtualized Windows XP environment and I thought I made it activate properly. But the activation screen kept appearing when I entered the Windows XP virtual machine. Then I used Windows system registry tweaks in the Windows XP virtual machine to disable it from appearing again. Note that this Windows XP installation never required a product key to be entered. And it seemed to work fine until the 30 day limit for product activation was up. Then all Windows 8 machines were displaying a message that Windows XP needs to be activated to continue. After clicking through that, it displayed another message that it had been activated, but the first message kept coming up after that. The thing kept going round and round like that so we were essentially shut out of the virtualized Windows XP environment and unable to run the SBT Foxpro for MS DOS application program – aaarrrrgggghhhh!

I had hit a wall and now I had to find a way to create a Windows XP virtual machine without the product activation snafu. It was time for “plan B”. I had two Windows XP service pack 3 installation CDs I had custom made several years ago by “slip streaming” Windows XP SP1 with SP3 update from Microsoft Corporation. I used one of these installation CDs to make a “.vhd” file using the virtual machine creation utility in VirtualBox. I inserted my Windows XP SP3 CD into the Windows 8 DVD drive and selected 80 gigabytes for the hard drive space and just went through the prompts as if I was installing Windows XP on a real hard drive. This time there was no product activation key business – I just had to enter the Windows XP product key from my installation CD. Soon after, VirtualBox had created a Windows XP virtual machine for me. I then reconfigured the networking settings in the virtual Windows XP environment as I had first done using the other technique. I made a shortcut to the SBT Foxpro for MS DOS software in the Windows XP virtual machine and voila…it worked! All I did was double click the Oracle VM VirtualBox icon on the Windows 8 desktop to bring up the VirtualBox main program screen. Then I clicked the “Run” button and my Windows XP virtual environment came up soon after. FYI – this also worked on Windows 7 computers.

"Fix my computer" issues like Windows XP virtualization can typically be addressed with a variety of solutions, but not all are viable for the long term as seen in this story. Computer repair engagements can be very challenging and may require a lot of insight and experience to create a solution that is both reliable and cost effective for customers.


Share a thought or comment...
Comment 1 of 1

I am really happy to check this type of information to make an MS office. I search a lot but here you share very unique information with theirs. I suggest you check superior papers reviews and get more helpful info for all levels of students. I will share this information with the app developers.

Posted 10 months ago
Write a Comment...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1156A1
Enter key:
Article Contributed By NE Ohio Computer Guy:

Please visit my software developer website for more information about my services. I offer application development as well as Android app coding services. My developer skills are best suited to dealing with custom software projects. I can perform programming for Corel Paradox as well as C# and PHP.

In my local area of northeast Ohio, I can cater to computer repair and "fix my computer" issues. And don‘t forget to check out my YouTube Channel. It is full of cool videos and has something for everyone!

Use my contact web page today to reach me about any software design ideas you have.

Visit Profile

 KB Article #102818 Counter
Since 2/8/2018
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site:

©1995-2021 Prestwood IT Solutions.   [Security & Privacy]