永发信息网

解决“secedit.sdb参数不正确导致访问本地安全策略报错

答案:1  悬赏:50  手机版
解决时间 2021-05-11 16:47
  • 提问者网友:泪痣哥哥
  • 2021-05-10 18:57

..

最佳答案
  • 五星知识达人网友:独行浪子会拥风
  • 2021-05-10 19:05

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,开始修复。

Microsoft(R) Windows(TM) Database UtilitiesVersion 5.1Copyright (C) Microsoft Corporation. All Rights Reserved.Initiating REPAIR mode... Database: C:\WINDOWS\security\database\secedit.sdb Temp. Database: TEMPREPAIR2984.EDBChecking database integrity.The database is not up-to-date. This operation may find thatthis database is corrupt because data from the log files hasyet to be placed in the database.To ensure the database is up-to-date please use the 'Recovery' operation. Scanning Status (% complete) 0 10 20 30 40 50 60 70 80 90 100 |----|----|----|----|----|----|----|----|----|----| ...................................................Integrity check successful.Note: It is recommended that you immediately perform a full backup of this database. If you restore a backup made before the repair, the database will be rolled back to the state it was in at the time of that backup.Operation completed successfully in 15.765 seconds.
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯