Scwcmd register command in Windows

    (Applies to: Windows Server 2012 R2, Windows Server 2012 )

    The Scwcmd register command helps to expand or customize the Security Configuration Database of the Security Configuration Database (SCW) by registering the Security Configuration Database file containing definitions. about roles, tasks, services or ports. For a better understanding of how to use this command, see the example section below.
    Syntax of the Scwcmd register command
    scwcmd register / kbname : < MyApp > [/ kbfile : < kb . xml >] [/ kb : < path >] [/ d ]    
    The Scwcmd register command parameter
    Parameters
    Describe
    / kbname:
    Specify the name by which the Security Configuration Database extension will be registered.
    / kbfile:
    Specify the path and name of the Security Configuration Database file to be used to expand or customize the base Security Configuration Database. To verify that the Security Configuration Database file complies with the SCW schema, use the% Windir% schema definition file security KBRegistrationInfo.xsd. This option must be provided unless the / d parameter is specified.
    / kb:
    Specifying the path to the folder containing the SCW security configuration database files will be updated. If this option is not specified,% Windir% security file msscw kbs will be used by default.
    / d
    Unsubscribe an extension of Security Configuration Database from the security configuration database. The unregistered extension will be specified by the / kbname parameter (do not specify the parameter / kbfile). Database configuration security to unsubscribe from the extension specified by the parameter / kb.
    /?
    Show help at the command prompt .
    An explanation of the Scwcmd register command
    Scwcmd.exe will only be available on computers running Windows Server 2008 R2, Windows Server 2008 or Windows Server 2003.
    Example of the Scwcmd register command
    To register the Security Configuration Database file named SCWKBForMyApp.xml under the name MyApp in the location kbserver, type:
    scwcmd register / kbfile : d : S CWKBForMyApp . xml / kbname : MyApp / kb : kberver kb  
    To unsubscribe the Security Configuration Database file named MyApp located at kbserver, type:
    scwcmd register / d / kbname : MyApp / kb : kberver kb  
    

    No comments