WordPerfect for DOS Updated | Site Map | Search | Troubleshooting Guide | Feedback | Voluntary Contributions

WPDOS Under Microsoft Virtual PC 2007


What is a virtual PC? | Create a Windows 98 virtual PC for WPDOS | Create a DOS-based virtual PC for WPDOS | Exchanging files to and from a virtual PC | Networking between Vista and a Windows 98 virtual PC | Home page


Serious warning: I wrote this page only because visitors to this site have requested the information it provides. I do not recommend that you use the methods described on this page unless you have a very specific and fully thought-out reason for doing so. WordPerfect is faster and easier to use when run directly under Windows XP or (if you use Vista's standard VGA video driver) under Vista. Please do not ask me to help you use any of the methods described on this page.

If you have a 64-bit version of Windows, then you should read this page, because the methods described here are the only practical ways to use WordPerfect for DOS on your system. If you do not already know for certain that you have a 64-bit version of Windows, then you have a standard, 32-bit version, and you do not need these methods. Do not send me e-mails saying that you think or believe that you might have a 64-bit version of Windows; if you have a 64-bit version, you will certainly know it already.

If you need help with Virtual PC 2007: Post a message in Microsoft's Virtual PC Discussion Group. Make sure to provide a very full description of the problem.

If you need help with WordPerfect for DOS: Post a message in the WPDOS forum at WPUniverse.com. Make sure to provide a very full description of the problem.


What it means to run WordPerfect for DOS in a virtual PC

This page explains how to use Microsoft Virtual PC 2007 to run WordPerfect for DOS in a "virtual PC." A virtual PC or virtual machine is, in effect, a computer that does not exist as a physical box, only as a window in the physical computer on your desk.

A virtual PC is a computer made entirely from software. It runs a copy of Windows, Linux, DOS, or other operating system as if it were a physical machine, completely separate from your actual, physical computer. Your physical computer can be running Windows, and the virtual PC inside it can be running Linux; or the reverse. The virtual PC has its own simulated hard disk, CPU, network card, video card, etc., but it can can use the CD-ROM drive and diskette drive on your physical computer as if they were drives on the virtual computer. What you see in a the virtual PC window (or full-screen if you switch to full-screen mode) is what you would see on a physical monitor if the virtual PC were an actual, physical PC.

If you don't understand these concepts, download the free Microsoft Virtual PC 2007 from Microsoft's web site (use Google to find the download page) and experiment with it until you do.

Note: Microsoft warns that Virtual PC 2007 is only "supported" under certain versions of Windows XP (Professional and Tablet edition) and certain versions of Vista (Business, Enterprise, Ultimate). "Supported" means that Microsoft will try to help you solve problems only if you run it under these "supported" versions of Windows XP or Vista. In fact, Virtual PC 2007 runs perfectly well under any current version of Windows XP or Vista (including XP Home and Vista Basic).

Important terminology: Your actual physical computer, running Windows XP or Vista, is called the "host" machine. Your virtual PC, created by Virtual PC 2007, is called the "guest" machine. You can have more than one guest machine running inside the host machine at any one time, though there is usually no reason to do so.

Virtual PC has two major advantages over other virtualization software such as VMware Workstation or Parallels Desktop:

(a) A Virtual PC guest machine fully supports Expanded (EMS) Memory, which is required for smooth operation of WPDOS 5.1 and by almost all add-on software used with WPDOS.

(b) All virtualization software lets you run the "guest" machine so that it either runs in a window or fills your actual physical screen. With Virtual PC, when you run a DOS or Windows "guest" machine in full-screen mode, and run a DOS application in the guest machine, the "virtual" DOS screen also fills your actual screen and look exactly the way WordPerfect for DOS looks in its traditional full-screen mode. In contrast, when you run a DOS or Windows "guest" machine in full-screen mode under VMware Workstation or Parallels Desktop, and run a DOS application in the guest machine, the DOS screen fills only a tiny rectangle in the middle of your actual screen.

Note: Virtual PC achieves this feat by taking the output of its "virtual" video card and sending it to your computer's full screen using the graphics command built into your actual copy of Windows. The screen looks as if it is displaying old-style hardware-based VGA fonts, but it actually displays a graphic image of those fonts. 

If you want to transfer files between a guest machine and your host system, you must do one of two things: either use Virtual PC's "virtual folders" feature, which lets you designate a folder on the host machine as a drive letter on the guest, or set up a Windows network that can be used by the guest and host. You may already have a Windows network, and the guest machine can act like another computer on your existing network. See the section on file-exchange below.

You can run WordPerfect for DOS in a guest machine that runs either DOS or Windows.

If you create a DOS-based guest, WordPerfect thinks it is running in an old computer, just as it was designed to do. Unfortunately, the only way to move files between the guest and host is through Virtual PC's "shared folders" feature, which is very slow when working with large files or folders with a large number of files. Furthermore, unless your printer is directly connected to your computer by a parallel cable to a parallel port that is built into your motherboard, you will need to setup a complicated workaround method to print from WordPerfect. The relevant methods are described below.

If you create a Windows 98-based guest, WordPerfect runs as well it does in a DOS machine, and you can share files between guest and host either through ith Virtual PC's "shared folders" feature or over a traditional network connection between guest and host; both methods, unfortunately, are slow. You can also print from the guest machine to a networked printer on the host machine. The relevant methods are described below.

Frequently-asked question:

Q. Why don't you recommend the DOSBOX emulation software as a platform for running WPDOS? I am absolutely certain that DOSBOX is a far better solution than Virtual PC or anything else that you describe on your site, even though I've never actually used WPDOS under DOSBOX and have absolutely no experience with this wonderful and perfect solution (or: even though I've never used DOSBOX at all, but I think I remember reading good things about it). Why are you so stubborn, withholding, and unhelpful?
    A. DOSBOX is apparently a superb platform for running DOS games. Unfortunately, there is no practical way to print from WPDOS running under DOSBOX, so I haven't wasted my time or yours on this incomplete solution. And, yes, I already know that some versions of DOSBOX claim to allow simple text-only printing; unfortunately, even these versions do not let you print from WPDOS. If you find a practical method for printing to a currently-available printer from WPDOS under DOSBOX, and only if you have actually tested such a method, please let me know.


Best method: create a Windows 98-based Virtual PC "guest machine" for running WPDOS

You can find many web sites that help you set up a Windows 98 guest machine under Virtual PC; do not ask me to help you. Once you have set up your Windows 98 guest, install WPDOS either from a CD or diskettes in the usual way, by following the procedures described elsewhere on this site.

To share files between the guest and host see the section below on exchanging files.

To print from the guest machine to a printer connected to your host machine or network, you should use Windows networking. Add the guest Windows 98 to your existing network in exactly the same way you would add a physical computer to your network, and then see the advice elsewhere on this site on printing across a Windows network.


Alternate method: create a DOS-based Virtual PC "virtual machine" for running WPDOS

This method creates a guest machine that runs the DOS system that comes with Windows 98, but does not run Windows; it only runs "Windows 98 DOS."

(1) Download a "virtual floppy disk" that you will use for installing Windows 98 DOS. Right-click on this link and save the ZIP archive file. Unzip the downloaded archive file and store the file inside, it, VPCWin98Files.vfd, in some convenient location. This file is a "floppy disk image file."

(2) Start Virtual PC 2007. Choose New, then "Create a Virtual Machine"; give the virtual machine a useful name; in the Operating System dropdown, choose Windows 98; accept the recommended RAM; in the hard disk dialog, choose "A new virtual hard disk"; choose a name like Win98DOS for the hard disk; press OK until the new machine appears in the Virtual PC Console. Select it, click Settings, scroll down to Undo Disks; place a checkmark next to "Enable undo disks"; if you have an LPT1 port built into your motherboard (not on an add-in card), scroll down to LPT1; choose Physical Parallel Port, and match the LPT1 port on your real physical computer; press OK.

(3) Click Start to start up the virtual machine that you have now created. Ignore the activity that appears in the window; choose Floppy from the top-line menu; select "Capture floppy disk image"; navigate to the floppy disk image file VPCWin98Files.vfd and select it. Press RightAlt-R to restart the virtual machine. When the machine boots from the virtual floppy, run Fdisk; press Enter at each prompt to accept all the defaults; then Esc at the end when prompted; then press RightAlt-R to restart the virtual machine.

(4) When the virtual machine restarts, run Format C: to format the virtual hard disk; if you want to, you may give the disk a name when prompted at the end of the format, but you do not need to do so. Then run RUN-THIS.BAT. When the batch file has finished, press a key, then (as instructed) use the Virtual PC top-line Floppy menu to release the virtual floppy, and RightAlt-R to restart the virtual machine.

(5) Your virtual machine should start up with about 625 KB of free memory, plus expanded memory. You can now install WordPerfect any other DOS application you like. Install from floppies, a CD-ROM, or use the Shared Folder feature (which you can figure out through the help file) to access a folder on your actual physical hard disk.

In following these instructions, please do not try to be clever and original. Do not run any commands other than the ones in these instructions. You don't have to change directories or anything else to make this work. Simply do exactly what the instructions say to do, and nothing else, now matter how tempting something else might be.

How to print from a DOS-based Virtual PC setup: You can print from a DOS-based Virtual PC 2007 setup in any of three different ways:

(a) If, and only if, your computer has a built-in parallel (LPT1) port, on the motherboard (not on an add-on card), and you use a standard PostScript or LaserJet printer that is directly connected to your computer by a parallel cable (not through a network, not through a USB-to-parallel converter), you can print from Virtual PC 2007 directly to the parallel port. See the Virtual PC 2007 Help for instructions.

(b) If, and only if, a WordPerfect driver exists for your printer (for example, if your printer is an HP LaserJet that supports PCL5e or a PostScript printer), you can use the "PrintFile method" of printing to your printer, as described elsewhere on this site. After setting up this method (and only after setting up this method), use Virtual PC's Shared Folder feature to share your WordPerfect print spool directory (typically C:\WPSPOOL) as drive P: (or some other letter) in your Virtual PC system; select the option to "Share every time." Now, run WordPerfect, install the driver for your printer and change the port for the printer to the filename P:\OUTPUT.PRN. This will send the printfile from WP in Virtual PC to the spool directory that you created when setting up the PrintFile method.

(c) To print to any Windows printer from a DOS-based Virtual PC setup, first install WordPerfect for DOS on your host machine (if you have not yet already done so), and set up this site's automated-installation method of printing to any Windows printer. Run WPDOS on your host machine to see the name of the printer driver that the automated-installation selected. Using the Shared Folder method in Virtual PC, copy the Ghostscript printer driver .ALL file installed by this method (either wp51gscr.all or wp60gscr.all) from your host machine to the WP printer directory in your Virtual PC guest machine. In Virtual PC, use Virtual PC's Shared Folder feature to share the print spool directory set up by the automated installation (typically C:\TEMPWP) as drive P: (or some other letter) in your Virtual PC system; select the option to "Share every time." Now, still in Virtual PC, run WPDOS, and select the same printer driver that was installed by the automated setup on your host machine, and change the port setting for the printer to the filename P:\WPDOS.PS. This will send the printfile from the copy of WP in Virtual PC to the spool directory created by the automated-installation method, and your file should print.


Exchanging files between the "guest" virtual PC and the "host" physical computer

After creating a guest virtual PC, you can exchange files between the guest and host in two different ways: either through the Shared Folder feature or by setting up a network between the guest and host.

Virtual PC Shared Folders: This method is easiest, but tends to be slow. The Shared Folders feature must be enabled in the settings for the guest before you start up the guest machine. After starting the guest, use the Edit menu on the guest, choose Settings, then Shared Folders, and click on Share Folder (or click the folder icon on the toolbar at the foot of the window). In the window in the dialog box, select a folder on the host machine that holds the files you want to use on the guest (or to which you want to save files from the guest machine); at the bottom of the dialog box choose a drive letter that will be used on the guest to represent the shared folder. You should probably choose the Share Every Time option if you want to use this shared folder every time you start the guest machine. The contents of the shared folder on the host will now be visible on the guest as whatever drive letter you selected for use on the guest. Do not place a large number of files in the shared folder, or you will need to wait a very long time to read a directory of the folder in the guest.

Windows Networking: Set up a network between the guest and host machines in exactly the same way you set up a network between two physical machines. I cannot help you set up a network if you do not already know how to do so! Make certain that you use the same username and password in your account on the host machine and on the guest. Note that network transfers between guest and host machines are slow; do not store large numbers of files in any folders shared between the guest and host. Note that Windows 95, 98 and Me guests will not be able to access shared folders on Windows Vista hosts unless you perform the modifications to the host described in another section of this page.


Networking between a Vista host and a Windows 98 guest

Windows 98 guest machines have no trouble sharing files with Windows XP hosts. However, if you want to access a shared folder on a Windows Vista host from a Windows 98 guest, you must perform the following steps. (Similar steps are required for Windows 95 or Me, but I do not recommend using either operating system with WPDOS.)

First, in the Windows 98 guest, make sure that you have installed Internet Explorer 5.5 or later (preferably Internet Explorer 6 and its service packs). Then install the Active Directory Client extension, which can be found on this page on Microsoft's web site. Find the section on the page headed "Windows 98"; then click "Download the Windows 98 DSClient package now"; and save the file. Run the program file that you downloaded; and very carefully notice the name of the directory into which the program file installs an installer program; go to this directory and run the installer program, DSClient.exe. (Note that a revised version of DSClient.exe is available through some third-party web sites; this link led to the revised version at the time this page was prepared, but it may or may not remain functional.)

Then, still in the Windows 98SE client, use Start/Run and enter Regedit. When Regedit opens, in the left-hand pane, navigate to  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA. With LSA highlighted in the left pane, choose Edit | New | DWORD Value. In the right pane, replace the highlighted words "New Value #1" with LMCompatibility (no spaces, no quotation marks); press Enter to open the Edit DWORD Value dialog; enter 3 as the value. Click OK; close Regedit. Restart the Windows 98SE guest virtual machine.

An illustrated guide to this procedure is available on another site. Microsoft also provides full details, in a form suitable for export, on one of its knowledge base pages.


Home Page  Site Map  Last modified 11 May 2008