共用方式為


secedit /validate

驗證儲存在安全性範本 (.inf 檔案) 中的安全性設定。 驗證安全性範本可協助您判斷某個範本是否已損毀或設定不當。 不會套用損毀或不當設定的安全性範本。

Syntax

secedit /validate <configuration file name>

Parameters

Parameter Description
<configuration file name> Required. 指定將驗證之安全性範本的路徑和檔名。 此命令不會更新記錄檔。

Examples

若要確認復原 .inf 檔案 secRBKcontoso.inf 在復原之後仍然有效,請輸入:

secedit /validate secRBKcontoso.inf