scwcmd registerscwcmd register
適用対象: Windows Server 2012 R2 および Windows Server 2012Applies to: Windows Server 2012 R2 and Windows Server 2012
拡張または役割、タスク、サービス、またはポートの定義を含むセキュリティの構成データベース ファイルを登録することによってセキュリティ構成ウィザード (SCW) のセキュリティの構成データベースをカスタマイズします。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.
構文Syntax
scwcmd register /kbname:<MyApp> [/kbfile:<kb.xml>] [/kb:<path>] [/d]
パラメーターParameters
パラメーターParameter | 説明Description |
---|---|
/kbname:<MyApp> /kbname:<MyApp> |
セキュリティ構成データベースの拡張機能の登録を使用する名前を指定します。Specifies the name under which the Security Configuration Database extension will be registered. このパラメーターを指定する必要があります。This parameter must be specified. |
/kbfile<kb.xml> /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. セキュリティ構成データベースファイルが SCW スキーマに準拠しているかどうかを検証するには、 %windir%\security\KBRegistrationInfo.xsd スキーマ定義ファイルを使用します。To validate that the Security Configuration Database file is compliant with the SCW schema, use the %windir%\security\KBRegistrationInfo.xsd schema definition file. しない限り、このオプションを指定する必要があります、 /d パラメーターを指定します。This option must be provided unless the /d parameter is specified. |
/kb<path> /kb:<path> |
更新するセキュリティの構成データベース ファイルを含むディレクトリへのパスを指定します。Specifies the path to the directory that contains the SCW Security Configuration Database files to be updated. このオプションが指定されていない場合 %windir%\security\msscw\kbs は、が使用されます。If this option is not specified, %windir%\security\msscw\kbs is used. |
/d/d | セキュリティの構成データベースからセキュリティの構成データベースの拡張機能の登録を解除します。Unregisters a Security Configuration Database extension from the Security Configuration Database. 登録を解除する拡張機能は、 /kbname パラメーターによって指定されます。The extension to unregister is specified by the /kbname parameter. ( /Kb ファイル パラメーターを指定しないでください)。拡張機能の登録を解除するセキュリティ構成データベースは、 /kb パラメーターによって指定されます。(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. |
例Examples
場所に MyApp という名前の SCWKBForMyApp.xml という名前のセキュリティ構成データベースファイルを登録するには \\kbserver\kb
、次のように入力します。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
にあるセキュリティ構成データベース MyApp の登録を解除するには \\kbserver\kb
、次のように入力します。To unregister the Security Configuration Database MyApp, located at \\kbserver\kb
, type:
scwcmd register /d /kbname:MyApp /kb:\\kbserver\kb