Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Scwcmd: register

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Server 2008 R2

Extends or customizes the Security Configuration Wizard (SCW) Security Configuration Database by registering a Security Configuration Database file that contains role, task, service, or port definitions.

scwcmd register /kbname:<MyApp> [/kbfile:<kb.xml>] [/kb:<path>] [/d]


Parameter Description


Specifies the name under which the Security Configuration Database extension will be registered. This parameter must be specified.


Specifies the path and file name of the Security Configuration Database file that will be used to extend or customize the base Security Configuration Database. To validate that the Security Configuration Database file is compliant with the SCW schema, use the %windir%\security\KBRegistrationInfo.xsd schema definition file. This option must be provided unless the /d parameter is specified.


Specifies the path to the directory that contains the SCW Security Configuration Database files to be updated. If this option is not specified, %windir%\security\msscw\kbs is used.


Unregisters a Security Configuration Database extension from the Security Configuration Database. The extension to unregister is specified by the /kbname parameter. (The /kbfile parameter should not be specified.) The Security Configuration Database to unregister the extension from is specified by the /kb parameter.


Displays help at the command prompt.

Scwcmd.exe is only available on computers running Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003.

To register the Security Configuration Database file named SCWKBForMyApp.xml under the name MyApp in the location \\kbserver\kb, type:

scwcmd register /kbfile:d:\SCWKBForMyApp.xml /kbname:MyApp /kb:\\kbserver\kb

To unregister the Security Configuration Database MyApp located at \\kbserver\kb, type:

scwcmd register /d /kbname:MyApp /kb:\\kbserver\kb

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft