Friday 25 March 2011

More SP1 Observations

Since carrying out the in-place upgrade using Windows 7 x64 SP1 media I've discovered a couple of issues.

Firstly, certain windows features are turned off for some reason. The main three are Internet Explorer 8, .Net 3.5 and Windows Search. It's a simple matter to turn them back on but it's worth noting as the absence of these things can cause other problems. In my case, the absence of .Net 3.5 caused the Intel graphics tray application to stop working.

Secondly, the RSAT tools are missing and the current release of the RSAT tools is for pre-SP1 only. Microsoft have documented this at http://support.microsoft.com/kb/2517239/en-us and are planning to release an updated version of the tool at some point in the future. There's a workaround at http://www.msfn.org/board/index.php?showtopic=150221 but given the limited success of the recent pending.xml workaround, I'll wait for the official release!

UPDATE ON 13-Apr-2011: The RSAT tools for SP1 have been released and are available at http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&displaylang=en

Thursday 17 March 2011

No success with a fix so have performed an upgrade install

Further to my posts earlier this week., I couldn't find anything anywhere in the registry about a pending reboot (having looked in all of the usual places such as HKLM\SYSTEM\CurrentControlSet\Control\Session Manager etc).

Safe Mode install also rendered the pending reboot message.

Having tried no end of combinations of restart, sfc /scannow and the System Update Readiness Tool I resigned myself to the fact that I wasn't going to find a fix. I'll wait to see if Microsoft come up with one but I'm not holding my breath.

As a last resort I've tested performing an Upgrade install of Windows from Media with SP1 already integrated and that works. SP1 reports as correctly installed and everything seems right with the world. It takes absolute AGES though so be prepared for a long wait. Also reported that .Net 4 needed to be repaired following the install but it took care of this automatically and, another reboot later, everything seems to be back to normal. The one major problem with this method is that it wants a new Product Key to be entered so this could cause you further problems and I'm not sure what the licensing implications are there.

If anyone is reading this as they have th c34 error, MS have a fix now that doesn't break things. You can find the step by step instructions here.

Tuesday 15 March 2011

Further SP1 troubleshooting steps

ManfredS's fix didn't work for me. Well, it got me another step along the road, although it may turn out to have been a sidestep more than anything else.

I now get the message that "The Windows 7 Service Pack Installation cannot proceed until your computer is restarted. Please restart your computer and try again."

It doesn't matter how many time I reboot, it doesn't help. *sigh*

Have also tried JStar333's similar fix detailed here but there was no difference.

Going to see if there's something in the registry about the pending reboot and, if not, I'll try a Safe mode install.

Windows 7 SP1 x64 fails with fatal error c0000034 when installed via WSUS

UPDATE: If you have the above error message right now, MS have posted a fix which should get you back up and running. This will not help if you've already carried out the pending.xml edit ot the SetupExecute registry edit to get around the problem and are stuck in a 'torn' state where your system will not complete the update to SP1.

Blogging about this one to keep track of what I've done/am doing to troubleshoot it. I'll try to write it up if I ever get a solution in case it's useful to others.
The Problem:

Having tested the install of SP1 manually on 3 machines, decided that it seemed stable and so decided to roll it out across the organisation (approx 30 desktops and 6 laptops) via WSUS. Upon restarting following the install, nearly all of the machines froze on a black screen with a fatal error C0000034 error message.

Troublehsooting:

Inital (sllightly) panicked Googling turned up a couple of suggestions, mainly on this thread over at TechNet forums.

Andre.Ziegler suggested running DISM /image:C:\ /cleanup-image /revertpendingactions from the Windows Recovery Environment but that failed with Error 2.

Suggestions to restore using a recovery point were useless as it would appear that installing SP1 deletes all recovery points. This occurs even when installing SP1 manually without any (obvious) error messages.

Renaming/deleting the pending.xml file from winsxs doesn't help as the system get's stuck on the starting Windows screen.

Thiswoot suggests editing the pending.xml file to remove all references to _0000000000000000.cdf-ms. This works, however many are warning against this as a resolution method as it could leave one's machine "in an even worse state". How this state could be worse though I'm still not sure, especially as it would appear that some people are being advised to completely rebuild their machines or setup a dual boot to 'resolve' the issue.

Despite getting the machine back up and running, it would still appear that SP1 didn't install correctly. Although SP1 is listed in the System Properties, there is no way of uninstalling it via the Control Panel. In fact, it would appear that all of the updates contained within SP1 are listed seperately with an install date that matches the SP1 failed install.

A prefered method as reproduced here gives two options. Option 1 is a no go as it requires System Restore Points. Option 2 works just as well as the pending.xml edit and produces the same result i.e. SP1 has a part install.
The SetupExecute method originally posted here has been superceded. However, that's another method that I used in my original troubleshooting process.

With either of these fixes we end up with a computer which has a part install of SP1 which cannot be uninstalled via Control Panel (I am yet to try the Command Prompt method) and cannot have a full install applied over the top as it fails with the 0x800f0a13 error. Note: Driver Sweeper has never been run on any of the affected machines. The article also mentions DriverCleanerDotNet and, unless this is some part of WDS or MDT, that hasn't touched the machines either.

Next Planned Troubleshooting Steps:

Attempt to resolve the 0x800f0a13.
 - Have already taken some steps towards this. Extracting the relevant folders from the install.wim to windows\winsxs doesn't work and requires taking ownership/changing permissions on the winsxs folder. Next plan is to try the suggested fix in the comment by ManfredS dated Fri, Mar 11 2011 7:15 AM.

Try a Command Prompt uninstall of SP1.
 - Don't hold out much hope for this one.

Wait for someone else/MS to come up with a solution.
 - Seems to be a lot of activity on the problem so fingers crossed here.

That's it for now. More updates to follow