Windows Security Configuration Editor Command Tool
secedit
- C:\Windows\system32\SecEdit.exe /?
Output:
The syntax of this command is:
secedit [/configure | /analyze | /import | /export | /validate | /generaterollback]
Return Code: 0
secedit
Administrator
- C:\Windows\system32\SecEdit.exe /analyze
Output:
Allows you to analyze current systems settings against baseline settings that are stored in a database. The analysis results are stored in a separate area of the database and can be viewed in the Security Configuration and Analysis snap-in.
The syntax of this command is:
secedit /analyze /db filename [/cfg filename ] [/overwrite] [/log filename] [/quiet]
/db filename - Specifies the database used to perform the analysis.
/cfg filename - Specifies a security template to import into the database prior to performing the analysis. Security templates are created using the Security Templates snap-in.
/log filename - Specifies a file in which to log the status of the configuration process. If not specified, configuration processing information is logged in the scesrv.log file which is located in the s%windir%\security\logs directory.
/quiet - Specifies that the analysis process should take place without prompting the user for any confirmation.
Example:
secedit /analyze /db hisecws.sdb
For all filenames, the current directory is used if no path is specified.
Return Code: 1
C:\Windows\system32\SecEdit.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 41984bytes |
| Creation Time | 2019/12/07 18:08:46 |
| LastWrite Time | 2019/12/07 18:08:46 |
| ProductVersion | 10.0.19041.1 |
| FileVersion | 10.0.19041.1 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | fe961d8056062e047bcfbd77ebd431b7 |
| SHA1 | 2cd7718827c793f8ca53c9fe0cc11d09e450ea67 |
| SHA224 | 6e7852ab9e39c7f5566ed75a841c65500898c9f777c00edc620b3274 |
| SHA256 | 58348e21fb9ae1582e68aa07bf21f87d58db03fe12123b0df5bfb3a7e168db26 |
| SHA384 | fa57eee9d6f92dcad9c55c6b62ed419ab2908222c94f94ae7ac058b5f76b479f1a58ab23bc5bd7fa5a185f452e643e31 |
| SHA512 | c4ee99ba9ad4e3b725404e564628196a0f68de0c46d267c29fb33007c850a9a79875d007ae12c946e4ba34398b29183327438dc63a23d3f97f8d0702c32b142a |