How can I restore the default permissions to the NT structure?

John Savill

August 3, 2000

2 Min Read
ITPro Today logo

A. Follow the procedure below:

  1. Logon as administrator.

  2. The built-in SYSTEM account needs access to the Windows NT default directories and subdirectories. To get this access, do the following:
    - In File Manager use Security/Permissions to grant the SYSTEM account FULL CONTROL to the root directory of the NTFS volume that contains Windows NT.
    - Next, select the option to Replace Permissions on Subdirectories, which gives SYSTEM access to the entire volume

  3. Start Registry Editor (Regedit.exe).

  4. Go to HKEY_LOCAL_MACHINESystemCurrentControlSetControlSessionManager

  5. Double-click the value BootExecute.

  6. Under BootExecute, you may find a few entries, such as:
    autocheck autochk *
    After any entries, add on a separate line:
    setacl /a DosDevices:System32winperms.txt DosDevices:
    Here is the drive that Windows NT is installed on and is the Windows NT root directory on that drive.

  7. Save changes by clicking OK.

  8. Exit the registry editor and restart the computer.

  9. On restart, the system will set security on the system files to the norm

The procedure above will only work on an NT 3.51 system. To perform the above on an NT 4.0 system you require the Windows NT Resource Kit Supplement2 and perform the following

  1. Logon as an Account that has "Backup files and folders" privilege

  2. Run the FIXACLS.EXE utility (Start - run - fixacls)

  3. Click the Continue button

  4. Click OK when completed.

FIXACLS in NT 4.0 sets the permissions to the values defined in %SYSTEMROOT%INFPERMS.INF. Therefore, access to this file is also required to run FIXACLS.

For Windows 2000 you should perform the following:

  1. Start MMC.EXE

  2. From the Console menu select Add/Remove snap-in

  3. Add the Security Configuration and Analysis snap-in

  4. Click Close then OK

  5. Right click on the Security Configuration and Analysis root and select Open database

  6. Enter a new database name and click OK

  7. Select the 'basicwk.inf' template and click OK

  8. Right click on the node again and select 'Configure Computer now'

About the Author(s)

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like