Windows XP 透過「安全範本」(.inf) 定義基線,「安全配置與分析」 MMC 管理單元或 secedit.exe 執行分析/配置/匯出。
mmc.exe →「檔案」→「新增/移除管理單元」→加入「安全配置與分析」。# 分析
secedit /analyze /db mydb.sdb /cfg baseline.inf /log analyze.log /verbose
# 配置 (全項)
secedit /configure /db mydb.sdb /cfg baseline.inf /log config.log /overwrite
# 配置 (僅註冊表與檔案系統權限)
secedit /configure /db mydb.sdb /cfg baseline.inf /log config.log /overwrite /areas REGKEYS FILESTORE
參數說明:/cfg 範本檔、/db 資料庫、/log 日誌、/verbose 詳細輸出、/quiet 靜默、/overwrite 覆寫資料庫、/areas 指定安全區域 (REGKEYS, FILESTORE, SYSTEMSERVICES 等)。
secedit /areas 精選區域。secedit /refreshpolicy,改用 gpupdate.exe 強制群組原則更新。secedit /analyze 定期偵測配置漂移。