text stringlengths 0 4.23k |
|---|
Parameters |
Parameter |
Description |
/x:<Xmlfile.xml> |
Specifies the .xml file to be viewed. This parameter must be specified. |
/s:<Xslfile.xsl> |
Specifies the .xsl transform to apply to the .xml file as part of the rendering process. This parameter is optional for SCW .xml files. When the view command is used to render a SCW .xml file, it will automatically try to load the correct default transform for the specified .xml file. If an .xsl transform is specified, the transform must be written under the assumption that the .xml file is in the same directory as the .xsl transform. |
/? |
Displays help at the command prompt. |
<Xmlfile.xml> |
<Xslfile.xsl> |
Example |
To view Policyfile.xml by using the Policyview.xsl transform, type: |
scwcmd view /x:C:\policies\Policyfile.xml /s:C:\viewers\Policyview.xsl |
scwcmd |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2012 R2 and Windows Server 2012 |
The Scwcmd.exe command-line tool included with the Security Configuration Wizard (SCW) can be used to perform the following tasks: |
Analyze one or many servers with an SCW-generated policy. |
Configure one or many servers with an SCW-generated policy. |
Register a Security Configuration Database extension with SCW. |
Rollback SCW policies. |
Transform an SCW-generated policy into native files that are supported by Group Policy. |
View analysis results in HTML format. |
Note |
If you use scwcmd to configure, analyze, or roll back a policy on a remote server, SCW must be installed on the remote server. |
Syntax |
scwcmd analyze |
scwcmd configure |
scwcmd register |
scwcmd rollback |
scwcmd transform |
scwcmd view |
Parameters |
Parameter |
Description |
scwcmd analyze |
Determines whether a computer is in compliance with a policy. |
scwcmd configure |
Applies an SCW-generated security policy to a computer. |
scwcmd register |
Extends or customizes the SCW Security Configuration Database by registering a Security Configuration Database file that contains role, task, service, or port definitions. |
scwcmd rollback |
Applies the most recent rollback policy available, and then deletes that rollback policy. |
scwcmd transform |
Transforms a security policy file generated by using SCW into a new Group Policy object (GPO) in Active Directory Domain Services. |
scwcmd view |
Renders an .xml file by using a specified .xsl transform. |
secedit /analyze |
Allows you to analyze current systems settings against baseline settings that are stored in a database. |
Syntax |
secedit /analyze /db <database file name> [/cfg <configuration file name>] [/overwrite] [/log <log file name>] [/quiet}] |
Parameters |
Parameter |
Description |
/db |
Required. Specifies the path and file name of the database containing the stored configuration against which the analysis is performed. If the file name specifies a database that hasn't had a security template (as represented by the configuration file) associated with it, the /cfg <configuration file name> option must also be specified. |
/cfg |
Specifies the path and file name for the security template that will be imported into the database for analysis. This option is only valid when used with the /db <database file name> parameter. If this parameter isn't also specified, the analysis is performed against any configuration already stored in the database. |
/overwrite |
Specifies 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 option is only valid when the /cfg <configuration file name> parameter is also used. If this parameter isn't also specified, the template in the /cfg parameter is appended to the stored template. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.