CmdID

CmdID / Commands / scwcmd

scwcmd register

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. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0
scwcmd register /kbname:<MyApp> [/kbfile:<kb.xml>] [/kb:<path>] [/d]

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\kbIdentify
/kbfileSpecifies the path and file name of the Security Configuration Database file used to extend or customize the base Security Configuration Database. Windows commands reference
/kbnameSpecifies the name under which the Security Configuration Database extension will be registered. Windows commands reference
/kbSpecifies the path to the directory that contains the SCW Security Configuration Database files to be updated. Windows commands reference

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

scwcmd register /d /kbname:MyApp /kb:\\kbserver\kbIdentify
/dUnregisters a Security Configuration Database extension from the Security Configuration Database. Windows commands reference
/kbnameSpecifies the name under which the Security Configuration Database extension will be registered. Windows commands reference
/kbSpecifies the path to the directory that contains the SCW Security Configuration Database files to be updated. Windows commands reference
/kbname:<MyApp>Specifies the name under which the Security Configuration Database extension will be registered. This parameter must be specified.
/kbfile:<kb.xml>Specifies the path and file name of the Security Configuration Database file 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.
/kb:<path>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.
/dUnregisters a Security Configuration Database extension from the Security Configuration Database. The extension to unregister is specified by the /kbname parameter. (The /kbfile parameter shouldn't be specified.) The Security Configuration Database to unregister the extension from is specified by the /kb parameter.
/?Displays help at the command prompt.