Ask Leo!

I have no C: drive, but some programs insist on it. What can I do?

Home » Windows

I'm running Windows XP. When my nephew built my computer, he installed my old hard drive in addition to my new one. The computer changed the drive assignments at that time with the old hard drive becoming "C:" and the new becoming "F:". Since that time we've removed the old "C:" hard drive and the only hard drive remains as "F:". Now, some downloads won't install because they want a C: path, and various other functions trying to utilize drive C: have problems. Drive Management will not let me reassign my F Drive to C because it is the main boot drive. What can I do?

Most people don't realize that using "C:" as the primary drive on your computer is fairly arbitrary. It's a good practice, if only to avoid the problems you're running into, but as you've seen you don't need to have it that way. You can build a system that boots from a drive of a different letter - in your case "F:".

Unfortunately, some software packages don't realize it either. They assume that there'll always be a "C:".

So we need to get tricky.

First of all, reassigning the drive letter of your existing boot drive - changing the F: to C: - wouldn't work anyway. The problem is that all the software you have installed so far has been installed on F:. As a result, all the settings for that software assume (correctly) that F: exists, and that's where the programs can find what they need.

One of those programs, by the way, is Windows itself.

So if you simply renamed F: to C:, it's likely that the system wouldn't even boot, because Windows would still be looking for things on F: - the F: that was no longer there. Even if Windows did boot, most of the applications you have installed would also no longer work, for much the same reason.

What I'm going to suggest is that we create a new C: drive, a "virtual" C: drive, on your existing hard disk. We'll use a fairly obscure tool that a lot of folks don't even know about, called "SUBST".

First we'll fire up a Command Prompt. Click on Start, All Programs, Accessories, Command Prompt. That should open up something that looks like this:

Command Prompt Window

Except that you'll see your user name instead of mine, LeoN, and the drive will be F: instead of the C:..

In that Window, type the following commands:

mkdir \Virtual_C
subst C: \Virtual_C

You should now have an empty C: drive. It just happens to also be the contents of the directory f:\Virtual_C.

Try some of the applications that you're having trouble with, and see if they now work, or at least behave differently. They may still fail, because our C: is empty - they might expect more than just the drive - but it's a start.

The C: drive that we created will disappear when you reboot. (The contents will still be there as F:\Virtual_C, but the C: drive will no longer exist.) To make it automatic, we need to add a command to your startup group.

Right-click on the Start menu, and click on Explore All Users. In the resulting Explorer window, expand Programs and click on Startup. Right click anywhere in the right-hand pane, and select New and then Shortcut:

New Startup Item Menu

In the resulting dialog box, enter the "Subst" command we used earlier: "SUBST C: F:\Virtual_C".

New SUBST shortcut

Click Next, and click Finish, and now each time you login, the virtual drive C: will be mapped to the F:\Virtual_C directory.

As a final note, this entire scenario results simply because the old drive was added to the system and allowed to be "C:". As I said, drive letters are arbitrary, but by now you can see that "C:" is kinda special, even though it really shouldn't be. If you can, it's safest to install your operating system and boot from "C:". Typically that means when you add a new drive that you expect to boot from, make it "C:", and give the OLD drive a new drive letter. This allows you to safely copy data off of the old drive, and eventually remove it without any ill effect.

Related:

More articles about: Windows

Article Useful? Link to it from your own website; just copy/paste this HTML:

Article 9249 | Posted October 9, 2005

Recent Comments

My problem is similar but not I produced an image of my 20gig drive that was installed in my notebook and was C: to a USB drive that was assigned D: and now windows boots up to the login and when I attempt to login it immediatly logs back off. I think that the drive is still somehow identified as D:. How can I fix this problem?

Posted by: Doug Thompson at April 13, 2007 09:27 AM

I tried this, but when i type in "subst C: \Virtual_C" part in Command Prompt, it keeps giving a "Invalid parameter - C:" responce..... any idea how to get past this?

Posted by: Anthony at April 17, 2007 10:27 AM

Hope but it does not work for me.
I just bought a brand new PC.
I installed windows XP SP 2 and he made the following drive letter assignment
C: Removable disk
D: Removable disk
E: Removable disk
F: Removable disk
G: DVD drive
H: Hard disk !!!

Now I frequently have the message : Insert a disk into the drive \Device\Harddisk1\DR3.
I think this happens when some program tries to access the C:

Worst, when I launch the disk manager, I have an error : Cannot connect to logical disk manager. File not found.

With your tip, I'm not allowed to assign the virtual drive to the C leter because it already exist.

Can you help me ? Thanks

Patrick

Posted by: Patrick at April 24, 2007 01:20 PM

Why do I get an error message "Invalid parameter C:" when I tried the SUBST command?

Here's what I typed: subst C: \Virtual_C

Posted by: Ricky at May 2, 2007 03:59 PM

This sounds like it may help me, but I'm not sure. My situation is this...I installed a new hard drive that automatically became drive f. This new hard drive was assigned as the master and the old hard drive the slave by me. I formatted the new hard drive with the Windows XP disk. The old hard drive "c" gave up the ghost. When the "c" drive was working, everything functioned properly. Now that there is no longer a "c" drive, my system restore, search function, and Internet Explorer don't work. Do you think this virtual c may help my situation?

Posted by: Robert Palmer at August 14, 2007 06:20 PM

Didn't help. Any help on which direction to go now would be appreciated.

Posted by: Robert Palmer at August 14, 2007 06:51 PM

I have had this problem before, this has happened mostly on HPs, when I format a computer get it ready for Xp install it reads the memory card reader slots, just remove them from the mobo before xp install.. that will fix the different drive assignment.. also if the programs are looking for F: drive go into the registry and look for software then change the install directory.. u should see them say like F:\programs.. just change f: to c: that will fix ur problem its a time taking process but u can do it just for the software u are about to use.. :)

Posted by: Joe Garza at September 10, 2007 11:02 PM

i have the same problem the disk c is full because of the old aol and I can't seem to get back to it so I can delete and have some space left on my disk c I need help me also this is a brand new computer. We were trying to download the Ipod of the ITUNE and its messes everything up everything was great before and now its terrible

Posted by: Jen at October 5, 2007 09:10 AM

This is due to the USB multi-media reader, just unplug it then reinstall Windows XP, you will get C: drive as normal then reconnect the USB media multi-reader cable and you will get the four extra drives but will start at E: ;-)

Posted by: Phil at October 29, 2007 04:05 AM

What is the correct solution to this man's problem?
*******************************

Hope but it does not work for me.
I just bought a brand new PC.
I installed windows XP SP 2 and he made the following drive letter assignment
C: Removable disk
D: Removable disk
E: Removable disk
F: Removable disk
G: DVD drive
H: Hard disk !!!

Now I frequently have the message : Insert a disk into the drive \Device\Harddisk1\DR3.
I think this happens when some program tries to access the C:

Worst, when I launch the disk manager, I have an error : Cannot connect to logical disk manager. File not found.

With your tip, I'm not allowed to assign the virtual drive to the C leter because it already exist.

Can you help me ? Thanks

Patrick


Posted by: Patrick at April 24, 2007 01:20 PM

Posted by: Bob Lambrecht at April 21, 2008 08:37 PM

Post a comment on "I have no C: drive, but some programs insist on it. What can I do?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!


New!

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

Please wait. Your comment is being processed ...

Ask Your Question:


ask-leo.com
Web

Archives

By Category
By Date

Advertisers

Advertise on Ask Leo!

««   »»

Question? - Ask Leo!
Who is Leo?
Link to Leo!

Terms, Conditions & Privacy