Troubleshooting failed upgrade to Windows 7?

16

I've upgraded three PCs from Vista to Windows 7 without incident, but the fourth one is a bit of a problem.

The Windows 7 install fails and rolls back to Vista with:

The upgrade was not successful. Your previous version of Windows is being restored

The Windows 7 upgrade advisor, both on-disc and the downloadable one from the Microsoft website, shows no potential problems for this PC prior to the upgrade, just standard warnings about iTunes reactivation and so forth.

This is my second attempt at upgrading this PC to Win7; after the first failure and rollback, I uninstalled a ton of unused software from the PC via add/remove programs, but the second attempt ended up the same as the first.

I really don't want to have to do a clean install on this PC, so are there any post-install logs or anything I can investigate to see why exactly why Win7 is failing to upgrade this PC from Vista, and to fix it?

Based on one of the suggestions, I checked this path

c:\$WINDOWS.~BT\sources\setuperr.log

Which contained this line

SetupGetInfDriverStoreLocationW failed for 'C:\Windows\inf\oem28.inf'[gle=0x00000490]

I checked that oem28.inf file and it relates to a printer on that computer -- so I went ahead and removed the printer and deleted the printer driver:

  • right-click within the Printers folder
  • select "Server Printer"
  • select Drivers tab, click driver, click Remove
  • confirm

as documented here. Now I'll try the upgrade again..

No dice. Still rolls back (but the printer error is gone from the log!). Some relevant lines from the setuperr.log file:

Failed to find driver file path. Error=00000002x {repeated ~ 6 times}
Failed to find driver file path. Error=ffffffffx {repeated ~ 6 times}
Plugin {e0cbf06c-cd8b-4647-bb8a-263b43f0f974}: BthMig: Failed to migrate bthport keys, bailing out
Failure while calling IDiscovery->Gather for Plugin={ServerPath="%windir%\system32\drmmgrtn.dll", CLSID={743B7FD2-8427-4b7d-B330-A95618DE2BFC}, ThreadingModel=Apartment}. Error: 0x80070057
Failed to check the certificate of the catalog file C:\Windows\System32\catroot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\1.CAT.[gle=0x800b010a]
Failure while calling IPostApply->PostApply for Plugin={ServerPath="%windir%\system32\drmmgrtn.dll", CLSID={743B7FD2-8427-4b7d-B330-A95618DE2BFC}, ThreadingModel=Apartment}. Error: 0x80070057

I finally tried uninstalling all drivers from this PC (all it had were the Nvidia drivers really), and attempted to do a third upgrade. Same problem. I watched it this time, so I know exactly what happened -- it got very, very far into the upgrade, after the video drivers are installed and so forth, then bluescreened at boot with DRIVER_IRQL_NOT_LESS_OR_EQUAL at the final stage and rolled back to Vista again. I assume that was the same thing that was happening before.

Oh well, I guess I have no choice but to do a clean install. :(

windows-7
windows-vista
asked on Super User Aug 1, 2009 by Jeff Atwood • edited Apr 8, 2017 by Journeyman Geek

6 Answers

4

Might be some useful logs files you can see.

Then I found the file C:\$Windows.~BT\Sources\Rollback\setupact.err had some useful info.

Details here.

answered on Super User Aug 1, 2009 by Tintop • edited Aug 2, 2009 by Jeff Atwood
2

Many times, the errors present in setuperr.log/setupact.log may be a red herring. Even upgrades that complete successfully include such errors. What frequently happens in these upgrades that automatically roll back to the original OS is that some "out-of-box" device driver is blue-screening the system when it boots into the new OS for the first time. In such cases, there may be a dump file left behind after the upgrade rolls back; see #36402 for more details.

answered on Super User Sep 7, 2009 by Reuben • edited Mar 20, 2017 by Community
2
  1. Open up Run box and open MSCONFIG.

  2. Click on Services Tab and Hide Microsoft Services.

  3. Disable all the services on the list. Same thing with all startup items.

  4. Open CMD with elevated privileges.

  5. Type net user Administrator password and press Enter. It will say command completed successfully.

  6. Type net user Administrator /active:yes and press Enter. Again it will say command completed successfully.

  7. Restart the computer and then log in under the Administrator account with the password as password.

  8. Start the Windows 7 Upgrade again, this time it will finish.

I have tried it on four computers with the same problem that would not install Windows 7 Upgrade from Vista SP2.

answered on Super User Feb 23, 2010 by (unknown user) • edited Jul 4, 2011 by random
1

The log files you're looking for may be the same as the Windows Vista setup log file locations.

C:\$WINDOWS.~BT\Sources\Panther\setuperr.log
C:\$WINDOWS.~BT\Sources\Panther\setupact.log

Edit: With the errors coming up in the update you gave, I'd consider uninstalling all the 3rd party drivers you've installed. Don't delete the driver files themselves.

If the problem persists, I'd personally go ahead with the clean install.

answered on Super User Aug 2, 2009 by Ciaran • edited Aug 2, 2009 by Ciaran
1

Perhaps you could unregister %windir%\system32\drmmgrtn.dll and then try again? It seems to have to do with drm migration - not really printer related.

answered on Super User Aug 3, 2009 by svandragt
0

The setup*.log files are likely red herrings. Instead, I suggest using a tool like Nirsoft's 'Bluescreenview' utility to inspect the memory dump file that will be created alongside the setup*.logs: this will show the call stack at the time of the crash, and the module at the top of the call stack will be the cause of the blue screen. Try to replace the hardware in question or update the driver.

Case in point: I experienced this problem trying to upgrade an OptiPlex 390 from Vista to 7. Nirsoft pointed at the mouse driver: I removed the Microsoft Sculpt Desktop dongle in favor of a Logitech wireless desktop dongle, re-ran the upgrade, and it completed without incident.

answered on Super User Jun 24, 2017 by R.J. Dunnill • edited Jul 13, 2017 by R.J. Dunnill

User contributions licensed under CC BY-SA 3.0