Registry Problem

C

ck

I'm trying to install SP2 on an XP Home machine and it appears the registry
may be corrupted. Specifically the HKCR DirectPlay8 keys.

I can't even access the keys using regedit. I get an error of access denied
when SP2 tries to backup the keys and just a generic error opening key in
regedit.

Question, will using a restore point reload an entire copy of a hopefully
uncorrupted registry or does the system restore only export the affected
hives?
 
R

Rich Barry

System Restore will get you back to the Registry you had when the
restore was accomplished. You really don't want a
Virgin registry since so many programs that you install or have been
installed add entries to the registry.
 
A

Amanda Wang [MSFT]

Hello,

Thanks for your post and appreciate Rich's helpful information.

If the issue only occurs these days, you can use system restore to recover
the system and get the former registry when the restore was accomplished.

First, please help me confirm the issue so that we can isolate the problem:

1. You mentioned that you are trying to install SP2 on an XP Home machine
and it appears the registry may be corrupted.

Do you mean when trying to install SP2 on an XP Home and SP2 cannot be
installed and give the errors about registry has been corrupted? If so,
could you help me to collect the detailed error information or get a screen
shot of it and send to me at (e-mail address removed)?

2. You cannot even access the keys by using regedit and get an error of
access denied when SP2 tries to backup the keys. Same please help me to
collect the error information.

3. You mentioned HKCR DirectPlay8 keys. Do you mean only this key cannot
access or all the other keys in registry cannot access either?

4. Does the user is an administrator?

After these request and questions, I would give my suggestions on this
issue:

1. You can change another user which is administrator to check again.

2. Log on as an administrator, go to registry and right-click on the keys
those cannot be accessed and choose Permissions, give Full Control
permission.

4. You can download the SP2 and install it under Safe Mode to check if the
issue still persists.

A. Download SP2 from:

Download the full installation package of Windows XP Service Pack 2
<http://www.microsoft.com/downloads/details.aspx?FamilyId=049C9DBE-3B8E-4F30
-8245-9E368D3CDB5A&displaylang=en>

Order Windows XP Service Pack 2 on CD
<http://www.microsoft.com/windowsxp/downloads/updates/sp2/cdorder/en_us/defa
ult.mspx>

B. Install under Safe Mode

I suggest we restart the computer in the Safe Mode to see if the problem
also occurs in the mode which loads a minimal protected-mode configuration,
disabling Windows device drivers and using the standard VGA display
adapter.

a. Restart the computer.

b. Keep press F8 key until the Windows Startup menu appears.

c. Choose the Safe Mode, and press Enter.

d. Install SP2 and check the issue again.

Note: In the Safe Mode, your system display and Desktop will look and
perform differently than in Normal Mode. This is only temporary.

5. Log on as an administrator and you can use the following tool called
Subinacl to fulfill the function to reset the permissions. SubInACL is a
command-line tool that enables administrators to obtain security
information about files, registry keys, and services.

A. Download and install Subinacl from:

http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-
93cf-ed6985e3927b&displaylang=en

B. Create a file named reset.cmd in C:\Program Files\Windows Resource
Kits\Tools folder.

C. Edit the reset.cmd file with the following content.

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

D. Enter into CMD prompt.

E. Enter the following commands one at a time and click Enter.

cd\
cd "C:\Program Files\Windows Resource Kits\Tools"
reset.cmd

F. After a few minutes by processing subinacl, please test the problem
again.

Hope that helps. If there is anything unclear, please feel free to contact
us. It's my pleasure to be of assistance.

Thanks & Regards

Amanda Wang [MSFT]

Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================================

--------------------
 

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