Give Windows Virtual PC a Floppy Drive on Windows 7

So yes, there’s no GUI method to add a floppy drive to your VMs with Virtual PC if you’re running that on Windows 7. However the functionality is there, you just have to know how to make it work.

There are various different ways to do it, but the easiest method (I think) is to just get it to attach to your PC floppy drive (assuming you have one – I use a USB one).

To enable the VM floppy to map to your (host) PC floppy, ensure the VM is shut down (not hibernated), then go to the folder where your VM’s disk lives (the .vhd file) and you’ll also find a .vmc file in the same folder. Open this in Notepad (or similar) and find the text floppy. You’ll see a section that looks like this:

<floppy id="0">
     <absolute type="string" />
     <relative type="string" />

Just change this to the following (assuming your PC floppy is drive A:):

<floppy id="0">
     <absolute type="string">A</absolute>
     <relative type="string" />

Next time you start that VM it’ll be able to use your floppy drive. Admittedly nothing else will be able to use the floppy drive whilst that VM has it, but this may or may not be a problem, depending on what the VM is doing. I was able to boot an MS DOS 6.22 floppy after doing this.

This entry was posted in Applications. Bookmark the permalink.

One Response to Give Windows Virtual PC a Floppy Drive on Windows 7

  1. rcmtech says:

    Actually this does not refresh the floppy info within the VM when the floppy disk is changed. Tried to install DOS 6.22 and it never detected disk 2 when I inserted it.
    I used the Powershell script from the bottom of the page ( which does the job nicely, and allows you to use disk images which are loads faster. Download the .ps1 file, then right-click and choose “Run with Powershell”.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.