When I tried to upgrade a user's home system running Windows XP Professional from Service Pack 1 to Service Pack 2, I encountered a number of problems which took me a considerable amount of time to resolve.
First I encountered an "Access is denied" error message, which I resolved by resetting the permissions on a registry key. Then I encountered an "The requested section was not present in the activation context" error message, which I resolved by running the command below.
secedit /configure /cfg %windir%\repair\
secsetup.inf /db secsetup.sdb /verbose /areas regkeys
[ More Info ]