此计算机的策略设置不允许,本地策略提示不能确定应用到此机器的组策略安全性设置的解决方法...

本站在线问答网友提问:

《此计算机的策略设置不允许,本地策略提示不能确定应用到此机器的组策略安全性设置的解决方法...》

错误提示信息:

不能确定应用到此机器的组策略安全性设置。在尝试从本地安全策略数据库(%windir%\security\database\secedit.sdb)中检索这些设置时返回的错误为: 参数不正确。所有本地安全性设置都将被显示,但是不会指出一个给定的安全性设置是否由组策略定义。所有由此用户界面改动的本地安全性设置都可能随后被域级的策略替代。

解决方案:

1.切换到命令提示符状态。(步骤:开始-运行-输入cmd)

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 Utilities

Version 5.1

Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating REPAIR mode…

Database: C:\WINDOWS\security\database\secedit.sdb

Temp. Database: TEMPREPAIR2984.EDB

Checking database integrity.

The database is not up-to-date. This operation may find that

this database is corrupt because data from the log files has

yet 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

    原文作者:JGling13637461833
    原文地址: https://blog.csdn.net/weixin_31937913/article/details/119127865
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞