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 82

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:"
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.


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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

752 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