SP2 installation failing due to some registry update problem

A

Aravindh Johendran

here is the extract from the log file. there is a problem when the
registry is being updated and SP2 installation fails because of that
:-(

any help appreciated :)

1218.482: Copied file: C:\Program Files\messenger\xpmsgr.chm
1218.542: Copied file: C:\Program Files\messenger\msmsgs.exe
1218.893: Copied file: C:\Program Files\messenger\msgslang.dll
1219.143: Copied file: C:\Program Files\messenger\msgsc.dll
1219.263: Copied file: C:\Program Files\messenger\custsat.dll
1219.513: Copied file: C:\WINDOWS\INF\msmsgs.inf
1234.775: PruneCatalogsFromHotfixes:RegQueryValueEx Failed: 0x2
1244.980: Num Ticks for Copying files : 769446
1245.020: DoRegistryUpdates:SetupInstallFromInfSection Failed for
ProductInstall.GlobalRegistryChanges.Install error: 0x5
1245.020: INF_REGISTRY Failed
1245.020: DoInstallation: DoRegistryUpdates failed
1257.648: Unregistration of sprecovr successful
1257.959: Access is denied.
1273.551: Message displayed to the user: Access is denied.
1273.551: User Input: OK
1273.571: Service Pack 2 installation did not complete.

Select 'OK' to undo the changes that have been made.
1280.111: Message displayed to the user: Service Pack 2 installation
did not complete.

Select 'OK' to undo the changes that have been made.
1280.111: User Input: OK
1280.121: Starting process:
C:\WINDOWS\$NtServicePackUninstall$\spuninst\spuni nst.exe /~ -u -z
1821.088: Software Update Rollback has completed with return code
0xbc2. This rollback requires a reboot.
1821.088: Service Pack 2 installation did not complete.

Windows XP has been partially updated and may not work properly.
2160.016: Message displayed to the user: Service Pack 2 installation
did not complete.

Windows XP has been partially updated and may not work properly.
2160.016: User Input: OK
2160.016: Update.exe extended error code = 0x5
2160.016: Update.exe return code was masked to 0x643 for MSI custom
action compliance.
Shutdown Initiated in Self Extractor
 
S

Serenity

A friend of mine had the same problem. It gets to backing up the registry
and it gets to one certain file and says it cannot back that file up. And
then she cannot install sp2. She did a repair on XP and now she can't use
windows update at all because it says access denied.
If you find the answer to the sp2 problem let me know by emailing me
directly at: (e-mail address removed)
Because I'd like to find the answer for my friend.
Serenity
 
T

Torgeir Bakken \(MVP\)

Aravindh said:
here is the extract from the log file. there is a problem when the
registry is being updated and SP2 installation fails because of that
:-(

any help appreciated :)
[snip]
Hi

You can trace which registry key is causing the trouble using the
setupapi.log in the windows folder (this log file is updated during
a service pack installation).

Here is a previous post about this:

From: <[email protected]>
Subject: XP SP2 "Access Denied" & the Fix
Date: Sat, 14 Aug 2004 08:22:57 -0700
Newsgroups: microsoft.public.windowsxp.general

<quote>
As with SP2 RC2, I am having the same problem with the GA
release of SP2. "Access Denied" during installation.
This is error can be worked around by reading the
setupapi.log under the windows directory. I am
posting this to see if others are having the problem. For
some reason several registry keys related to windows media
player and a few others do not have any permissions set
for admin and system.

Specifically the following need to have permissions set to
full control for admin & system:

HKCR/vnd.ms.radio
IP6FwAPI.NetFirewallV6Manager
HKCR/WMPlater.OCX/EditFlags
HKCR/Software/Classes/UICTL* may vary
HKCR/Software/Classes/ADDC* may vary

you may have others so check the log for "Unable to delete
registry , Access Denied"

You may need to go thru the install a few times, as you
may fix one set, the next time you run it you may
encounter a new set. The best thing to do is check the
first 3 listed above and the set full control on
permission to HKCR/Software/Classes and its child objects
for Admin and System only.
</quote>


The above might be a very laborious if there are several registry
keys that have a permission issue. In that case, it would be
better to reset the security settings back to the defaults for
all registry keys.

More here on how to do that:

How To Reset Security Settings Back to the Defaults
http://support.microsoft.com/?kbid=313222

If you only want to reset the registry permissions,
add this to the secedit command line:

/areas REGKEYS
 
A

Aravindh Johendran

Thanks a bunch for the help Mr. Bakken. I really appreciate it. The
registry keys I had to change the permissions for are different, so I
had to run install multiple times.

Then somewhere somehow one key got screwed up and is throwing an
error. It just isn't accessible. Can't delete it or modify it. That
has messed up everything.I can't restore my computer, make back-ups,
nothing works because of that key.

Anyway, i'm giving up on the sp2 stuff, maybe later.

Thanks again :)



Aravindh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top