Oct 25, 2007

Unable to install SP2 ?

Access denied When trying to install SP2 For Windows XP

Create a batch file i.e copy and paste following dll files in notepad and save it as sub.bat

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=user_name=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=user_name=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=user_name=f
subinacl /subdirectories %SystemDrive% /grant=user_name=f
exit

2. In the last five lines which contain "user_name", replace these "user_name" entries with your windows user account name.

Note:
If you are not sure about the name of your user account you can verify the name by entering your control panel, double clicking on User Accounts and looking at the list of User Account names available on the system (at this point there will likely only be two - your currently used User Account and the Guest account). Once you have verified the user account name you can use it instead of the "user_name" entry above.

4. When the command window has disappeared please restart the computer.

Download and install Service Pack2

0 comments: