How to Reset the Microsoft XP Registry

Written by michael macleod
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Reset the Microsoft XP Registry
Solve permissions problems when loading software by resetting registry and file permissions. (cd rom inserted into laptop image by Egor Ukoloff from Fotolia.com)

Resetting the Windows XP registry permissions can be a scary experience, but a necessary one if you cannot complete a Service Pack update because of permissions issues. Fortunately, you can install a free utility program from Microsoft and use it to reset the registry and file permissions to their default values. If you have Windows XP Professional Edition, you can reset the permissions from the command line alone.

Skill level:
Easy

Other People Are Reading

Things you need

  • Computer running Windows XP

Show MoreHide

Instructions

  1. 1

    If you are using Windows XP Professional Edition, use the SECEDIT command line program to reset registry and file system permissions.

    Select "Run" from the Start Menu, then type "CMD" in the Open box and press "Enter." At the command line prompt, type:

    secedit /configure /cfg %windir%\repair\secsetup.inf /dB secsetup.sdb /verbose

    and press "Enter."

    This resets the registry and file permissions.

  2. 2

    If you are using Windows XP Home Edition, download the subinacl.msi file from Microsoft. (See the Resources section for the download location.)

  3. 3

    Double-click the subinacl.msi file to obtain the subinacl.exe file, then double-click the subinacl.exe file.

  4. 4

    Select "Run" from the Start Menu, then type CMD in the Open box and press "Enter." At the command line prompt:

    Type cd /d "%ProgramFiles%\Windows Resource Kits\Tools" and press "Enter."

    Type subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f and press "Enter."

    Type subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f and press "Enter."

    Type subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f and press "Enter."

    Type subinacl /subdirectories %SystemDrive%\ /grant=administrators=f /grant=system=f and press "Enter."

    This sequence resets the registry and file permissions.

Tips and warnings

  • If you are getting error messages saying you don't have permission to install programs, before resetting permissions close all open programs and disable any antivirus or antispyware software running in the background. You may also need to restart the computer.
  • Before making any changes to the registry, use the REGEDIT command-line program to back up a copy of the registry contents.
  • If you are not experienced at working with the command-line interpreter (CMD command) you may want assistance in resetting the permissions.
  • Before making any changes to the registry, use the REGEDIT command-line program to back up a copy of the registry contents.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.