大网数据广告活动
Windows排障命令

scwcmd

· 52CE 我爱测

Reference article for the scwcmd.exe command-line tool included with the Security Configuration Wizard (SCW).

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.

Related links

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 10/16/2017
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。