Secedit analyze in Window Server 2008
In this article I am going to explain about Secedit analyze command in Windows Server 2008 operating system and also explain it's related syntax.
Secedit:analyze command in window server 2008
-
Secedit:analyze command is a command-line tool of Windows Server 2008.
-
Secedit:analyze command is available in Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP
-
Secedit:analyze command is used to Allows you to analyze current systems settings against baseline settings that are stored in a database. For examples of how this command can be used
Syntax
Secedit /analyze /db <database file name> [/cfg <configuration file name>] [/overwrite] [/log <log file name>] [/quiet}]
|
Parameter
Parameter
|
Description
|
db
|
It is required parameter. It is specify for the path and file name of a database that contains the stored configuration.
If file name specifies a database that has not had a security template associated with it, the /cfg <configuration file name> command-line option must also be specified.
|
cfg
|
It is option parameter. It is specify for the path and file name for the security template that will be imported into the database for analysis.
This /cfg option is only valid when used with the /db <database file name> parameter. If this is not specified, the analysis is performed against any configuration already stored in the database.
|
overwrite
|
It is option parameter. It is specify for whether the security template in the /cfg parameter should overwrite any template or composite template that is stored in the database instead of appending the results to the stored template.
This command-line option is only valid when the /cfg <configuration file name> parameter is also used. If this is not specified, the template in the /cfg parameter is appended to the stored template.
|
log
|
It is option parameter. It is specify for the path and file name of the log file to be used in the process.
|
quiet
|
It is option parameter. It is suppress screen output. You can still view analysis results by using the Security Configuration and Analysis snap-in to the Microsoft Management Console (MMC).
|
Example
Got a programming related question? You may want to post your question here