Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows 7 HP - corrupt registry - C: in reg needs to be D: - COA torn

20 May 2015   #1
WrinkledCheese

Windows 7 Home Premium 32bit
 
 
Windows 7 HP - corrupt registry - C: in reg needs to be D: - COA torn

Hey All,

Someone asked me to look at their Acer Aspire One netbook without a CD-ROM. It's been a while since I've even looked at Windows so I spent an hour or so the first day and then spent the entire evening. I've tried a "few" things.

Using the built in system repair tools. I loaded up the command prompt and launched regedit. I loaded the System hive and found that all of the paths pointed to C:\ while it seems the Windows installation is on D:\. I tried to use diskpart to activate D:\ as the boot disk, it made no sense but I tried it anyway. Not being familiar with Windows I didn't know if activating another volume would rename the lettering. This resulted in the boot record missing. Using unetbootin and an ISO I found under the couch cushion to load the System Recovery tools. I used this to set the active partition back to C:\ so I can get back to the built in recovery tools.

I've thought about loading up the couch cushion recovery tools so I can copy D:\Windows\System32\config\RegBack\SYSTEM to D:\Windows\System32\config\
I loaded up the backup registry and it seems that it's not going to fix anything as it still points to C:\ instead of D:\. Eg System Root registry entry is C:\Windows but there is no C:\Windows. There is only D:\Windows.

I can think of two options.

Reinstall - The torn COA proves to be a problem here. I can't find out what the registry location is for the product key, nor an algorithm to make it human legible.

Look under the couch for another disk...

I believe I the system has Windows 7 Home Premium 32bit retail. I suspect this because the Software/Microsoft/Windows NT/CurrentVersion/ProductID4 - or something like that - says retail in the product ID. This is the reason I think the disk I have doesn't work. I suspect the couch disk I have is OEM, but I have not bothered to check.

Considering the situation, and pretending the laptop is mine, what would you suggest?




My System SpecsSystem Spec
.
20 May 2015   #2
leejosepho

 

First, I believe this (from your thread title) is not actually true: "C: in reg needs to be D:". None of my Win7 installations are actually in/on/at "C:", and yet Windows 7 ignores that and *always* shows itself as running from "C:" anyway. So, going into the registry from the outside and changing "D:" to "C:" would likely only make matters worse for you since your Win7 is likely *not* actually on "C:".

Quote   Quote: Originally Posted by WrinkledCheese View Post
...Acer Aspire One netbook without a CD-ROM.
I would use an USB adapter and an optical drive to boot into Win7 recovery mode to see whether it can find a "last known good configuration" to restore.
My System SpecsSystem Spec
20 May 2015   #3
Anshad Edavana

Windows 7 Ultimate x64
 
 

Hi

First of all you should know that drive letters are not static but dynamically assigned by operating system. For a disk, there is no such thing as "C" , "D" etc. A disk will only have a partition table describing the start sector of all partitions and the total number of sectors each partition contains. A MBR partitioned disk can have up to four primary partitions. It's up to Windows to name which partition "C", "D" etc. "Windows Vista and upward versions of Windows are hard coded to name the partition which has OS installed to be called "C". That is even if you install "Windows 7" to the fourth partition of a disk, you will see Windows named it as "C". This is to maintain compatibility with older softwares which may expect Windows partition as "C" and may not work properly if letter is changed.

A normal "Windows 7" setup routine will first create a small 100 MB partition and use it as the "System" partition which contains boot critical files. Actual Windows will be installed in to the second large partition but Windows will name it as "C" instead of "D" because of the reasons i explained earlier. When you boot from a Windows install DVD/USB, you are actually booting a highly stripped down version of Windows called "Windows Pre-installation Environment" aka "WinPE". Since this pseudo OS is running from a DVD and independent from the OS installed on HDD, it will have it's own drive letter assignments. Naturally the first 100 MB partition will be assigned with letter "C" and second one will get letter "D" and so on.

I hope this will clear the confusion about drive letters.
My System SpecsSystem Spec
.

20 May 2015   #4
WrinkledCheese

Windows 7 Home Premium 32bit
 
 

Thank you both for the clarifications as to why the Windows registry was referring to C:\ when in fact the files it references could only be found on D:\. It's a behind the scene compatibility layer that is invisible to me.

For clrification, I use Slackware Linux for my own systems so I am quote familiar with the dynamic nature in which "drive letters" are assigned. I also understand the lettering compatibility as I manage mostly FreeBSD at work and there is a designated unix style drive letter for Fat formatted disks. I also run OS X. This is why I'm not familiar with Windows, I haven't really touched it since XP and Server 2003 were the "top dogs" in the Windows world.

The Acer has a 16GB recovery partition, it seems, and I believe I've already tried last known good configuration, as well as every single system restore point that was available. If I remember correctly, Windows creates automatic restore points during updates.

When I checked the ProductID in the registry, it seems that the Acer has a "retail" key, and I believe the ISO I found under the couch cushion is an OEM disk.

If I could get the key from the registry. I found today that there are some Linux tools that will be able to load a Windows Hive file to get the Key from it. It it matches the 2 full banks and 2 partial banks on the COA that are legible, I will try a fresh install.
My System SpecsSystem Spec
20 May 2015   #5
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Here: A23x86.iso

Boot it up, then click NT6Repair, which you will see on the desktop.

Select the windows drive letter in the dropdown. Then click FIX.

Windows 7 HP - corrupt registry - C: in reg needs to be D: - COA torn-fix-os-letter.jpg


My System SpecsSystem Spec
20 May 2015   #6
WrinkledCheese

Windows 7 Home Premium 32bit
 
 

Seeing as how it seems you wrote that software, what exactly does that software do? Specifically, what does the code do that you've instructed I run. Is there any documentation I can read? man page, anything so I can understand what the issue is/was should it fix it.
My System SpecsSystem Spec
20 May 2015   #7
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

There is a problem with the mounted devices in the system hive. The wrong letter is attached to the device value.
My System SpecsSystem Spec
20 May 2015   #8
Sir CornBlower

Win7 X64
 
 

Quote   Quote: Originally Posted by SIW2 View Post
There is a problem with the mounted devices in the system hive. The wrong letter is attached to the device value.
Just registered simply to convey my gratitude to you sir.
You're a national treasure on this site.
i won't elaborate much further but you've saved my biscuits in more ways than you could imagine.
Thank you.
....(first comment)
My System SpecsSystem Spec
20 May 2015   #9
WrinkledCheese

Windows 7 Home Premium 32bit
 
 

SIW2,

Thanks for your live disk. While your instructions didn't resolve my issue, it gave me the ability to replace the last d:\Windows\system32\config\RegBack files that I couldn't with the built in system repair untilities. Once I replaced d:\windows\system32\config\system with d:\windows\system32\config\regback\system

Once I got into the system it's abundantly clear why the registry is corrupt. There are viruses up the wazoo.

I'm running Trend Micro Rescue Disk. I wish I could find my Flacon4 UBCD USB drive.
My System SpecsSystem Spec
Reply

 Windows 7 HP - corrupt registry - C: in reg needs to be D: - COA torn




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Product Key Torn
Hello, I have a problem with an employee that managed to tear off part of the product key on their computer. The problem is also my fault. I wiped the computer (working in healthcare) for the purpose of rebuilding it, and I didn't notice the product key was torn before I wiped the drive. ...
Windows Updates & Activation
Corrupt registry
Hello everyone I have installed NX 6.0 with UGS Licensing, but now that I don't need them anymore I want to remove them. NX was removed completely although it took very much longer than usual, but the UGS Licensing does not have uninstall utility, in the "Programs And Features" in Control...
General Discussion
Corrupt Registry
Hi, My new work computer, running win7 is now unable to install software. I get various error msgs towards the end of installations. Usually some component or dll cannot be found. Aside from this inconvenience my system seems to be running smoothly. Our IT support guys have examined the...
BSOD Help and Support
Corrupt registry key help.
I have a problem with a corrupt registry key. This key is only a antivirus key, but I need to remove it so I can install my antivirus. The issue with the key is that its missing the (default) REG_SZ value. I've tried to use ccleaner and Registry mechanic but those didn't work. I tried to to...
General Discussion
Corrupt Registry prevents Windows 7 boot
I've got a windows 7 box that will not boot because of a missing or corrupt System Registry. I ran through the startup repair about 10 times. It tried to fix me up, but eventually reached the point where it said it couldn't repair the issue. When I view the results of the scan, everything is...
BSOD Help and Support
Corrupt Registry
Evening Gents, I am running Windows 7 Ultimate x64. I was defragmenting my hard drive and when I restarted my PC it launched into Windows Startup Repair, and, bad news it could not find a problem - so I went to restore the system and all the System Restore points have been deleted (probs...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:27.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App