I’d expect demand for solutions to Windows XP service packs installation issues decline by now… But according to stats on my failed to install catalog files post it only increased lately.
Among numerous comments on that post e.r.lehmann had mentioned that service pack installs can also fail due to registry issues. Took some time but this week I encountered exactly that – service pack failing with Access denied error.
Service pack 3 installation seemed to proceed as normal up until almost end. Then it threw “Access denied” error and rolled back installation.
Error itself doesn’t specify access to what exactly is denied. You can locate and look through svcpack.log file in Windows directory for specifics.
Anyway it seems that this error in this context is almost exclusively refers to Windows registry access. Service pack naturally has to make numerous registry changes during installation and without that it can’t complete.
Steps to fix
- Check computer for malware.
- Verify that you launch service pack installation under account that has administrative privileges.
- Stop and/or exit security software such as firewalls and antiviruses. For some products that may not be enough and manual stopping of background services or even uninstallation will be required.
- If steps above have no effect – reset registry permissions, using SubInACL and secedit; support article has exact script you should use.
In my case it took all these steps to resolve the issue. Command line fix was kinda scary – it threw a lot of errors and last step took long time (over ten minutes). Despite that after it ran service pack installed just fine.
When everything is fine any administrator account should have sufficient privileges for service pack installation. However because of security software (and virus infections I suspect) registry access rights can become considerably broken.
Determining and removing likely software/malware culprits and resetting access permissions should be sufficient to resolve issue in most cases.