Security+Settings+How+to+Reset+to+the+Defaults

Security Settings How to Reset to the Defaults

If youʹve changed the security settings in Windows XP, and you wish to go back to defaults

You use in the majority of cases the Secedit command line tool

__**Note:**__‐

This will reset the following: ‐

NTFS file system files and folders, the registry, policies, services, privilege rights, and group memberships.

Go to :‐

Start > Run In the box type without the quotes “ cmd “

When the DOS screen opens first type CD\ press Enter

( This takes you to the root of C:\ and displays the Chevron >

Type after the chevron :‐


 * secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose,** press ENTER.

You receive a ʺTask is completedʺ message, and a warning message that something could not be done.

You can safely ignore this message. For more information about this message, view the %windir%\Security\Logs\Scesrv.log file.

Secedit parameters( Explanations ) /Configure ‐ Specifies that Secedit.exe should set system security settings. /DB filename ‐ Provides the path to a database that contains the security template to be applied.

This is a required argument, but the database file does not have to exist if you use the /CFG switch to specify a security template.

/CFG filename ‐ This argument is only valid when you use it with the /DB parameter. It is the path to the security template that will be imported into the database and applied to the system. If you do not specify this argument, the template that is already stored in the database will be applied.

/overwrite ‐ This argument is only valid when the /CFG argument is also used. This specifies whether the security template in the /CFG argument overwrites any template or composite template that is stored in the database instead of appending the results to the stored template.

If this is not specified, the template in the /CFG argument will be appended to the stored template.

/areas AreaName1AreaName2... Specifies the security areas to be applied to the system.

The default is ʺall areas.ʺ Each area must be separated by a space.