Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


After hard drive letter swap, system boots only to windows logo screen

Posted on 2008-06-15
Medium Priority
Last Modified: 2008-06-22
I replaced a harddrive on an emachine, and installed Windows XP PRO. This was an unattended install. Windows assigned the new drive letter as H. The customer uses softeware that requires system files to be on the default C drive. I followed a proceedure suggested on the forum to swap the drive letters *(using the rename dos device in regedit), renaming master drive to C and a removeable flash drive to H. Now I am unable to boot beyond the windows logo screen. What steps will I need to take to be able to boot into windows?
Question by:Brenda_Jester
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 50

Expert Comment

ID: 21789335
Brenda_Jester--Is there a drive designated C:\ now?  What is on it?  
I understand there is more than one hard drive on the PC.  Where is the software to which you refer?

Author Comment

ID: 21789471
Yes, the master harddrive has now been swapped using regedit rename from H: to C:
There was a designated C drive *(which was a removeble USB flash thumb drive). When I went thru the renaming I
FIrst: renamed the USB drive to an unused letter (Z)
Second: renamed the fixed harddrive with the operating system on it from H: to C:
Third: renamed the USB flash drive to H: *This is a removeable drive and is not attached

Simply put, I just swapped the 2 drive letters.

Now the system will not go past the Windows Logo screen

The software is installed, but to download the data from a network server, it has to be installed to a default C drive. I have np re installing these programs if necessary. All data should still be left intact.

LVL 83

Expert Comment

by:David Johnson, CD, MVP
ID: 21789472
you will need to do a repair install of the windows xp so that the o/s will use the new drive 'c' rather than look for the now missing drive "h:"
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Author Comment

ID: 21789492
The windows vs I have is a full, unattended install, so Im not sure it would be safe to use that *(I believe it automatically goes into a re formart/ install, and I cant afford to lose the customers data.
I have an XP Home upgrade. Would that work to do a windows repair on a different vs?
LVL 38

Expert Comment

ID: 21789590

You have mentioned a method using Regedit to rename the drives, which you describe as "a proceedure suggested on the forum to swap the drive letters using the rename dos device in regedit".  Just so we are clear, could you please describe exactly what registry keys and values in them you modified, and how you did it eg. importing a *.reg file, manually in the regedit window, or using the REG /IMPORT or REG /WRITE commands in a CMD window.

Until we know that, all we can really do is speculate, and aren't clear whether this is possibly reversible, either by the same or similar means or an alternative method.

There are a lot of predefined variables used in Windows XP, such as
%SystemDrive% = The drive on which windows xp is installed
%SystemRoot% = The "Windows" folder on the %SystemDrive%

There is a command that allows you to reset the values of these variables in a CMD window to something else and have it stick beyond the life of that CMD window, but we can explore that dependent on what it was that you did.

My first instinct is that the hard drive you fitted was not jumpered properly as Master, and has therefore been misidentified from the BIOS onwards.  I would urge you to check the jumper positions just to eliminate this possibility, although I don't recommend changing the jumper right at this moment until you know what your options are.

Author Comment

ID: 21789636
These are the steps I used from a post on the forum and on microsoft support

1. Make a full system backup of the computer and system state.
2. Log on as an Administrator.
3. Start Regedt32.exe.
4. Go to the following registry key:
5. Click MountedDevices.
6. On the Security menu, click Permissions.  
7. Verify that Administrators have full control. Change this back when you are finished with these steps.
8. Quit Regedt32.exe, and then start Regedit.exe.  
9. Locate the following registry key:
10. Find the drive letter you want to change to (new). Look for "\DosDevices\C:".
11. Right-click \DosDevices\C:, and then click Rename.

Note You must use Regedit instead of Regedt32 to rename this registry key.
12. Rename it to an unused drive letter "\DosDevices\Z:".

This frees up drive letter C.
13. Find the drive letter you want changed. Look for "\DosDevices\D:".
14. Right-click \DosDevices\D:, and then click Rename.
15. Rename it to the appropriate (new) drive letter "\DosDevices\C:".
16. Click the value for \DosDevices\Z:, click Rename, and then name it back to "\DosDevices\D:".
17. Quit Regedit, and then start Regedt32.
18. Change the permissions back to the previous setting for Administrators (this should probably be Read Only).
19. Restart the computer.

I have restarted twice. I do not receive any error messages. I just cant get past the wingows logo screen, so there must be addtional steps to do this successfully.

I am not so concerned with the software paths, as just getting the drive Letter re assigned as C and logging into windows. I can correct the other program errors from there.
LVL 18

Expert Comment

ID: 21789642
The other problem is if you installed windows as drive h:, you may have had other drives installed at the time that took up the drive letters C: thru G:.  USB....Optical....MEMORY CARD READERS!! is the big one...cuz usually they take at least 4 drive letters.

You may need to reinstall The OS....After having unplugged all unnecessary drives.

Or you can try this:
Which doesnt always work but worth a shot.  I would suggest backing up any data that may be important in case you need it in a pinch.
LVL 70

Accepted Solution

KCTS earned 1500 total points
ID: 21789645
You can't just rename the system drive like this. You must reinstall windows if you want the system/boot drive to be C:
Before you re-install remove any removable devices and disconnect any USB card readers etc.

During the install use the partition manager in setip to delete any existing partitions and create a new one.

Author Comment

ID: 21843444
Miscrosoft says this can be done, BUT I followed their instrustructions *(editing the registry) & it does not work. The only solution to this, that I found, was to totally re install windows.
LVL 18

Expert Comment

ID: 21843624
You may need to reinstall The OS....After having unplugged all unnecessary drives.

I thought I said that!?  ^^^^^^^^^^

But thats ok....no biggie.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question