12

How to Create a Virtual Drive in Windows XP

A Step-by-Step Tutorial on Manually Making a Virtual Drive for Your PC

The Armchair Geek
A virtual drive is a form of drive on your PC that maps to a virtual folder. This is a special folder that acts as if it's a separate drive in itself. With a virtual drive, users can create virtual CD-ROM and DVD-ROM drives. CDs and DVDs can be mounted as a disk image, which is usually in ISO, CUE, or BIN format.

Virtual drives will generally save time because users do not have to locate CDs or DVDs if they have the image stored on the computer. In addition to that, virtual drives can be generally read faster than CDs and DVDs because they are already on the hard drive.

The easiest way to create a virtual drive would be to download an application that will automatically create the drive for you. Alcohol 120% is one of the most powerful retail virtual drive programs in the market. For approximately $40, you can have a very powerful virtual DVD and CD player on your computer.

If you are looking for something free, I would suggest Magic Disk. With Magic Disk, you can create multiple drives. A virtual drive application like this one is relatively easy to use as all you have to do is mount a CD or DVD image and it will load as if a CD was actually loaded.

You can also manually create a virtual drive with Windows XP. This tutorial will walk you step-by-step through the process.
Here's how:

How to Manually Create a Virtual Drive in Windows XP
*Click Start and then Run. Now type cmd on the text field. The command prompt will appear. On the command prompt, type subst x: "C:\windows".

*The letter "x" represents the drive letter of the virtual drive you wish to create. You can choose any letter as long as it doesn't already exist on your computer. However, do not use the letters A, C, E, F, or Q because they are common drive letters and your computer may already be using these letters.

*C:\windows represents the directory that you want to place your virtual drive. You choose any directory or file on your computer.

After you have input this information in the command prompt, you can view the new drive by going to My Computer.

Although you have created a new drive, it will automatically be deleted when the computer powers down. We need to make the new virtual drive permanent.
Here's how:

*First, open Notepad: Start >> Programs >> Accessories >> Notepad.

*Type subst x: "C:\Windows". Now save the Notepad document as c:\autoexec.bat.

*Hit Ctrl+R (or click Start >> Run) on your keyboard and type regedit then click OK.

*On the left pane of the Registry Editor, Click My Computer >>HKEY_LOCAL_MACHINE >> Software >> Microsoft >> Windows >>
CurrentVersion >> Run.

*Now on the right click on the right pane and click New.

*Select String Value. Type in "Autoexec" and press Enter.

*Right click Autoexec and click Modify.

*Type in c:\autoexec.bat.

*Close the Registry Editor and restart the computer.

Your virtual drive is now permanent. And you are done!

Published by The Armchair Geek

We are a Mid-West PLR Firm specializing in creating powerful web content for clients in a wide array of industries. This is a sampling of some of our IT-focused articles. For more of our work, you can co...  View profile

  • A virtual drive is a form of drive on your PC that maps to a virtual folder
  • With a virtual drive, users can create virtual CD-ROM and DVD-ROM drives
  • Virtual drives can be generally read faster than CDs and DVDs
Virtual drives save time because users do not have to locate CDs or DVDs if they have the image stored on the computer. In addition to that, virtual drives can be generally read faster than CDs and DVDs because they are already on the hard drive.

17 Comments

Post a Comment
  • J J5/4/2012

    Oops, I mean, Teach Me Piano Deluxe does not work with anything newer than XP.

  • J J5/4/2012

    I am playing around with an old laptop, got a XP license from an older computer and put it on my laptop with a 60GB SSD, then mayhem ensued as HP does not provide drivers for anything older than Vista, so I've had to search high and low for "unlocked" drivers. In the end, I wanted to use an old program "Teach Me Piano Deluxe" which doesn't work with anything older than XP, but my cd drive works on and off, and I didn't want to have to put a USB drive every time I wanted to use the program, so I used this instructions to make a virtual drive that points out to a folder within the program folder with the contents of the CD-ROM, and I put the autoexec.bat file just outside that folder, and changed the path accordingly in the autoexec.bat and the registry entry. It works as it should, and I'll never have to bother with the CD-ROM again. In Win 7, you can do this within disk management, but XP is a bit tricky.

  • Greg3/16/2011

    Thanks for this - I forgot about this command as I haven't used it since the DOS days. I was looking for a way to share a single directory over a remote desktop connection, which allows you to share drives. This did exactly that - allowed me to select the "drive."

  • guest11/28/2010

    Thank you so much.
    BTW it is virtual drive(not logical).
    If you want to make it permanent, just put the registry, like describes above.

  • Pat9/27/2010

    DANGER! The method outlined here is not a virtual drive it is mapping your windows directory to a drive letter. If you delete any files in that new drive you are really deleting things in your windows directory.

    A virtual disk can be created using wondows 7 disk manager or third party applications.

  • how to creat virus program8/22/2010

    help me how to creat virus to your computer...please dude

  • Gnerrs7/14/2010

    I've already got a file labeled c:autoexec.bat

    I don't want to overwrite it in fear of something being damaged... What is a good course to take?

  • coolbeans5/29/2010

    i formatted the drive and it deleted every thing on all of my drives and had to reinstall dont use this technique BAD IDEA!!!!!!!

  • Steve12/19/2009

    Create with
    subst x: C:
    Delete with
    subst x: /D

  • Anonymous3/19/2009

    how to delete visual drive
    subst x: /d

Displaying Comments
Next »

To comment, please sign in to your Yahoo! account, or sign up for a new account.