Thứ Năm, 28 tháng 7, 2016

Unable to repair Windows 7 after hardware upgrade part 1


Dobes

I installed a new motherboard, CPU & memory today. Prior to this, I decided not to do a clean install of windows, but just to boot up & repair if needed when the new configuration booted up. I DID do a backup of data before dismantling the old system, so I have that saved.

However, when I started the new system, the repair will not work. I can't get Windows to see the external drive where the backup data is stored.

I'm now re-installing Windows over the top of the old installation using the custom option, & my main question is this: Can I restore using the backup I made before the upgrade or will I lose all that data? When using the custom installation option, does it automatically save the old data?



Dobes

The correct way to start Win7 when changing major hardware is to SysPrep the HD: Windows 7 Installation - Transfer to a New Computer

Your backup should work after reinstall. Enter Backup and Restore Center if you used Win built-in file backup. Backup User and System Files

If you have an image backup you can use it now from the booted DVD or REpair CD to reimage rather than reinstall Win7. System Image Recovery

SIW2

Thanks for your response. I think the biggest problem is that I didn't find this site until after I'd installed the new hardware, so I didn't know about sysprep.

I've managed to install Windows on my 2nd HD, so basically I am dual booting Windows 7. 1 is essentially a completely new install, the other one is the old one that only gives me BSOD when I try & boot into it. I can restore the backup to the new installation of Windows, but I'd much rather have the old one as it was fully up to date in terms of updates.

I also have a system repair disc that I created prior to my upgrade, but I'm assuming that's the same as the built in system repair feature in Windows. I didn't create a system image because I thought that Windows backup created one while doing the backup.

I'm almost at the stage of cutting my losses & transferring all my data to external hard drives before formatting & doing a clean install. However, for me, that is a last straw option as I do not have the time to re-install all the programs I currently have, not to mention I don't have the download limit for my internet connection.

Am I able to use sysprep while in the new installation of Windows 7 to sort out the old installation? Otherwise, could I just remove some of the driver files from the old installation's Windows directory to 'corrupt' the installation, leading to a repair that would work? And assuming I get the original installation of Windows working again, how would I go about uninstalling the new installation?

Dobes

You could point Paragon Adaptive restore at the old installation and see if that will open the driver repository for windows to correct itself.

SIW2

It looks like you need to be in/from a company to be considered to evaluate the Paragon program, so I don't qualify. Are there any other programs that do something similar, or should I just try Paragon anyway? Also, given that it's Saturday morning here, I'm not sure I'd get a reply before Monday/Tuesday & I'd like to get the problem resolved before then.

Dobes

Other makes have their own versions of Adaptive Restore, but nobody does it free except Paragon.

Did you apply for a copy on paragon site - you may get an automated email with relevant details pretty quickly . You could leave the company blank - or put your name in the field.

I expect they would like company details so they can see if they can get follow up sales of their other products.

Don't know, as I haven't tried to get it that way.

SIW2

I've applied for a copy of Paragon's Adaptive Restore, but no answer as yet. In the mean time I've tried Paragon's Rescue Kit free edition with no luck. However, it seems that neither of my HDDs are considered a system disk, they are both boot disks, so I can't fix much on them using the rescue kit.

Would I be more likely to have success if I just unplug everything except my old C: drive, the DVD drive, the mouse & the keyboard and then try booting up?

Dobes

You might be lucky - Vista/7 are quite resilient - they can sometimes adjust themselves to new hardware - depends how different it is from the original.

Adaptive restore is not on the free resue cd - so that won't help here.

It's a shame - paragon actually did a special give away of the Hard Disk Manager 2010 Special Edition - I think p2p adjust o/s was included in that.

You might find a copy floating around even now - I believe it is also on the cover disc of April 2011 PCPRO mag (UK Edititon ).

They also did Drive Backup 10 Special Edition giveaway

Very easy - just point P2P ADJUST at the non booting o/s, a couple of clicks and you're done.

Guest

I'd love to get my hands on a copy, unfortunately I've never seen PCPRO on sale here in Australia.

The BSOD error I'm getting is the STOP 0x0000007B error & appears to be related to HDD drivers. Is there a way to update the registry for the non booting OS while in the working OS so that I can manually change this? Would Sysprep be able to do a similar thing from the working OS?

Edit: Startup Repair has failed multiple times on the old OS, the Root Cause it states is: Startup Repair has tried several times but still cannot determine the cause of the problem.

Given that I'm fairly certain the issue causing the problem is the new HD Controller drivers not being installed under the old OS, is there anything I can do to install the drivers into the old Windows 7 installation?

Guest

You need to SysPrep on the old hardware before moving HD or it's image to new hardware.

If you have a Win7 .vhd image you can convert it to Acronis image to use Acronis Universal Restore in versions 10 and higher.

Otherwise Paragon Adaptive Restore is the only solution I know of.

Si, could he browse into HD or mount it's image to surgically remove key drivers? Haven't tried this. I believe another key stumbling block is hardware ID which the adaptive restore also removes?

SIW2

If you can access the registry from another o/s or winpe and load the hives, there must be a way of manually replicating what p2p adjust does.

I know one or two things that are required.

Might have time to look at it tomorrow and see if I can figure out the needed changes.



Dobes

If you can find a solution that means I can avoid formatting & reinstalling everything from scratch I would be eternally grateful.

Out of curiosity, what would happen if I deleted some of the drivers in the old Windows installation? For example, if I found out the name of the HD controller drivers from my old motherboard & deleted those, would I possibly get further along in terms of booting up into Windows?

SIW2

You're vaguely warm.

Deleting them won't do it. They need to be uninstalled - or windows will look in the registry and try to find them.

Looking into it now.

Dobes

The problem as I see it is that I can't access the registry from the old OS while in the new one. Is there a way to access the old registry?

SIW2

Yes, it's easy.

Is there something unusual about the HD?

Quote:
I installed a new motherboard, CPU & memory
If windows 7 installed to it fine from the dvd - then it has the necessary drivers in it's file repository.

SIW2

Are you asleep? LOL

Dobes

Sorry, wife made me go outside & play with the kids :P I've downloaded the file.

The drive itself is fine, but the BSOD error I get indicates there's a problem with the HD controller driver, so it's not working woth the new motherboard at the moment because it's using the drivers for the old one.

SIW2

If you have a windows system image, load the vhd.

Open Disk Management, Click Action>Attach vhd>Browse to your WindowsImageBackup folder.

Inside is a folder called Backup with a date - inside that is the vhd - select it and disk management will load it up and give it a drive letter.

Browse to the mounted vhd\windows\system32\config.

Copy the SYSTEM hive to somewhere on your HD. Rt click and zip it up - post it here.

(It just says SYSTEM - no extension)

Probably easier if I find and remove the drivers and put windows into setup state for you.

Will post the hive back up - then you just copy it to mounted vhd\windows\system32\config.

That will overwrite the existing System hive.

Then Detach the vhd.

Dobes

I don't have a system image from before I installed the new hardware - is it going to be easier to just put the old stuff back in & start the process from the very beginning?

SIW2

Everybody misunderstood that.

What do you mean by this:
Quote:
Can I restore using the backup I made before the upgrade or will I lose all that data
If you have now reinstalled windows clean to the HD - and it is working - then yes, you can restore files you backed up previously.

If you have not yet reinstalled windows - then copy the SYSTEM hive from the non-booting o/s , zip it and post it up.

It will only take a few minutes.

Dobes

I used the windows backup feature to create a backup - to my understanding this doesn't create a system image, it just saves documents & similar, but not program files. When I get the option in the repair console to restore system image there is nothing there, indicating to me that I didn't create a system image.

Keep in mind that it's entirely possible I've stuffed this entire explanation up



SIW2

LOL.

Post up the system hive in a zip from your non-booting windows 7.

I will do it for you and post it back.

Then you just copy it back to where it was and it should be fine.

Dobes

Quote�� Quote: Originally Posted by SIW2 View Post
LOL.

Post up the system hive in a zip from your non-booting windows 7.

I will do it for you and post it back.

Then you just copy it back to where it was and it should be fine.

OK, I have no idea how to do that. However, in searching the tutorials here for how to do it I found this Startup Repair Infinite Loop Recovery. Will this help me?

SIW2

That tut won't help windows boot in this situation.

The system hive you are looking for is on your HD - in windows\system32\config folder.

If you can connect another pc - it is easy to copy it.

If you can't connect another pc:

Boot up win7 dvd , when you see the install now screen , press shift+f10 - command window will open .

( you can take the dvd out now if you like )

Type the word NOTEPAD , then press enter.

When notepad pops up - click File>Save, select ALL Files in notepad dropdown (instead of text files ).

Navigate to windows\system32\config folder, rt click SYSTEM , select COPY - then you need to paste it somewhere you can get at it to zip it and post it up - a recordable cd - or usb stick - anywhere, really.

Dobes

OK here it is. Thankyou very much for your help

SIW2

Here you go - copy the attached system hive back to the original location - overwrite the one that is in there.

Windows should be able to start and install the new device drivers.

If you still have an issue- then either 7 doesn't have the required drivers in it's repository - or there is something wrong with the way you connected up your new mobo and ram.

Glad I did that - found out how to do it now.

Bit fiddly getting permisisions your registry - did it from winpe instead.

Dobes

Thanks very much, I'll give that a go. Of course, my wife has decided that we need to go shopping now, so I'll have to try it after that

Edit: Once I have it sorted, how will I remove the 'new' Windows 7 from the other hard drive? I'm not interested in dual booting Windows 7 & would like to reclaim the space while keeping everything on that drive if possible.

Dobes

The original OS is now working, so thankyou very much for helping with that!

However, every time it boots up it now says "Windows is preparing your computer for first use". Is there any reason this keeps coming up & how can I get rid of it?

SIW2

Yep, boot into it again (unless you are already in it ),

then merge this .reg file

Not clear what you mean by new windows on other HD .

Post a screenie of Disk Mgmt window from within the windows installation you just fixed.

Dobes

Thanks again. Now one last question (I hope). Are there any programs you can recommend that will help me get rid of all the drivers etc. that were associated with my old mobo but that I no longer need?

By new Windows I meant the 2nd version I inadvertantly installed on my 2nd HD. I'm fairly sure I can get rid of it now though.

SIW2

Open Device manager - click View>Show hidden devices

devices that are not currently present on your PC will be shown in gray.

If you are sure you don't need them - rt click and uninstall



Dobes

Sorry, I wasn't clear with my question. I didn't mean devices, I meant programs. I had a look at device manager & there is nothing in grey there, however there are still some programs that give error messages on start up. These ones are related to features of the old mobo.

Dobes

Si, can you work up a tutorial on how you edited the drivers out of the Registry, and which ones?

Fantastic job!

OP if you'll post back a screenshot of your maximized full Disk Mgmt drive map with listings, we can help you safely remove the installation you don't want.

SIW2

I'll try & get that done soon. I was trying to sort out my network connection, but my wife has decided I've spent too much a time on the computer today (she's probably right). Thank god for iPads

Can anyone explain why the computer can detect the cable from the modem is connected, but it can't detect a cable coming from the router? I'm sure there's a setting I need to change somewhere, just have no idea what it is.

BigBlue

Not really, Greg. Unfortunately, each case will need different drivers removed after examining the hive. I did it by booting to my winpe disc ( not many will have anything as useful as that ) to avoid permisisions issues. It isn't simple to explain or do.

Haven't quite got it licked yet - it would be better if windows got itself out of setup mode - had to post up a reg file to run after to achieve that.

If it was easy - everybody would be doing it - and they wouldn't be selling apps. to do the job.

Dobes - can you uninstall the programs with http://www.revouninstaller.com/revo_..._download.html

the free one is the Left download link at the bottom of that page

theog

I have almost the identical issue. I have a hard drive that used to be in another laptop but I have had to move it to different hardware. Windows 7 (Enterprise Edition 64-bit) fails to boot very early on in the boot process with a 0x0000007B BSOD ("inaccessible boot device"). Since the drive itself begins the boot process I know the hardware is communicating. Also, after the failed boot the Windows Repair environment boots just fine and from within a DOS box there I can access the C: drive (as D: when in there) just fine so it really isn't a hard drive problem.

My assumption is that the original Windows environment used some hardware driver that isn't compatible with the different hardware the drive resides in now. Since I can't get back to the old hardware to boot and do a proper Sysprep is there any other way to perform that from within the Windows Repair environment or by attaching the drive to another computer? The drive is not encrypted so I have full access. Can I force the Sysprep 'generalize' via a registry tweak?

Thanks!

BigBlue

Quote�� Quote: Originally Posted by BigBlue View Post
I have almost the identical issue. I have a hard drive that used to be in another laptop but I have had to move it to different hardware. Windows 7 (Enterprise Edition 64-bit) fails to boot very early on in the boot process with a 0x0000007B BSOD ("inaccessible boot device"). Since the drive itself begins the boot process I know the hardware is communicating. Also, after the failed boot the Windows Repair environment boots just fine and from within a DOS box there I can access the C: drive (as D: when in there) just fine so it really isn't a hard drive problem.

My assumption is that the original Windows environment used some hardware driver that isn't compatible with the different hardware the drive resides in now. Since I can't get back to the old hardware to boot and do a proper Sysprep is there any other way to perform that from within the Windows Repair environment or by attaching the drive to another computer? The drive is not encrypted so I have full access. Can I force the Sysprep 'generalize' via a registry tweak?

Thanks!
You could run Paragon Adaptive Restore CD on the new PC, before starting up for the first time,
be sure to have the Sata Controller drivers at hand, as you may need to add the drivers to your old Windows installation.

SIW2

Thanks for the tip about Paragon. From reading about it, it does seem like a tool that would do what I need it to do. However, from what I can tell on Paragon's web site I can't buy it as an individual. They seem to sell it only to corporations. Is there some other way to get it? I don't see that product available from buy.com or newegg.com, etc.

Thanks.

BigBlue

It comes included with many of the Paragon apps. - check out HDM Suite - pretty sure it is in there.

Otherwise, I could have a go at fixing it manually for you - you would need to post up a zipped copy of your system hive.

Guest

Quote�� Quote: Originally Posted by SIW2 View Post
It comes included with many of the Paragon apps. - check out HDM Suite - pretty sure it is in there.

Otherwise, I could have a go at fixing it manually for you - you would need to post up a zipped copy of your system hive.
Thanks for the tips and the offer. If that isn't a major undertaking I'd certainly be grateful for your help. What registry files do you need for the 'system hive' and how would I get them to you?

Thanks!

BigBlue

Thanks again for the suggestion of Paragon. I bought Backup & Recovery Suite and it WORKED to get Win7 booting again! Nice!

BB



SIW2

Great - glad it worked for you.

Thanks for the update.

BigBlue

Turns out it wasn't all roses though. The older hardware I had to move the drive to ended up not having video drivers for Win7. Ugh. And whatever Paragon did to make it bootable also caused Windows to need to re-activate. Maybe that was just due to the significant hardware changes though? BB

SIW2

Yes, that is windows sensing the new hardware - you need a windows product key that allows use on another machine

BigBlue

Yeah. But since it is an Enterprise install I need to track down the master product key with the IT folks, which is always entertaining. BB

Không có nhận xét nào:

Đăng nhận xét