返回首页
当前位置: 主页 > Windows教程 >

windows2008组策略操作出现了扩展错误 未能保存本地策略数据库&#

时间:2018-08-14 21:33来源:Office教程学习网 www.office68.com编辑:麦田守望者

修复主要是通过一个叫esentult的工具,同时它属于WIN内置的一个工具来的~

C:\ >esentutl /?
Microsoft(R) Windows(R) Database Utilities
Version 5.2
Copyright (C) Microsoft Corporation. All Rights Reserved.
DESCRIPTION: Maintenance utilities for Microsoft(R) Windows(R) databases.
MODES OF OPERATION:
Defragmentation: ESENTUTL /d <database name> [options]
Recovery: ESENTUTL /r <logfile base name> [options]
Integrity: ESENTUTL /g <database name> [options]
Checksum: ESENTUTL /k <database name> [options]
Repair: ESENTUTL /p <database name> [options]
File Dump: ESENTUTL /m[mode-modifier] <filename>

通过查看帮助,我们可以先用"/r"参数对%windir%\Security\Database\Secedit.sdb文件进行恢复.如果失败,再用"/p"参数进行强制修复.

修复后再执行AD安装命令,一切都变得那么顺利.久违而又熟悉的管理界面终于出现了~
后话:后通过搜索相关的信息得知,造成该问题的最大可能是由于非法关机引起的,还有一种说法就是由某些软件引起的.所以有一个良好的用电脑习惯尤为重要.

1、打开 开始->运行->输入" cmd " 执行
2、输入" cd %systemroot%/security/database/ " 执行
3、输入" esentutl /p secedit.sdb " 执行
4、输入" cd %systemroot%/security " 执行
5、输入" del edb.log " 执行
6、输入" edb0000x.log " 执行
7、输入" dcpromo.exe "

提示:

C:\Documents and Settings\Administrator>esentutl /p %windir%/security/database/secedit.sdb
Microsoft(R) Windows(R) Database UtilitiesVersion 5.2 Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating REPAIR mode...
Database: C:\WINDOWS/security/database/secedit.sdb
Temp. Database: TEMPREPAIR44784.EDB

Checking database integrity.

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 1.984 seconds.

------分隔线----------------------------
标签(Tag):windows2008组策略操作
------分隔线----------------------------
推荐内容
猜你感兴趣