查看組策略時發現這個問題
---------------------------
安全模板
---------------------------
不能確定應用到此機器的組策略安全性設定。在嘗試從本地安全性原則資料庫(%windir%\security\database\secedit.sdb)中檢索這些設定時返回的錯誤為: 參數不正確。所有本地安全性設定都將被顯示,但是不會指出一個給定的安全性設定是否由組策略定義。所有由此使用者介面改動的本地安全性設定都可能隨後被域級的策略替代。
---------------------------
確定
---------------------------
訪問本地安全性原則分支時,提示如下資訊:
不能確定應用到此機器的組策略安全性設定。
在嘗試從本地安全性資料庫(%windir%\security\database\secedit.sdb)中檢索這些設定時返回的錯誤為:參數不正確。
所有本地安全性設定都將被顯示,但是不會指出一個給定的安全性設定是否由組策略定義。
所有由此使用者介面改動的本地安全性設定都可能隨後被域級的策略覆蓋。
按照網上的辦法如下:
解決方案:
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,開始修複。