在工作中遇到一個問題,就是有的域控客戶端策略執行不成功,通過強制刷新,查看策略結果集。出現黃色感嘆號錯誤。
解決方案:
1.切換到命令提示符狀態。
2.執行“esentutl /k %windir%\Security\Database\Secedit.sdb”和“esentutl /g %windir%\Security\Database\Secedit.sdb”對secedit.sdb進行檢查。
3.手工備份要修復的數據庫文件。
4.執行“esentutl /p %windir%\Security\Database\Secedit.sdb”進行修復,系統會彈出Warning提示框:
"You should only run Repair on damaged or corrupted databases.Repair will not apply information in the transaction log files to the database,and may cause information to be lost.Do you wish to proceed?"
單擊OK,開始修復。
再次執行強制刷新策略,就不會出現錯誤了。但是前提是,域控下發的策略是正確的。