windows 2003 sp1 无法安装IIS 6.0 问题

组策略中关于本地安全性数据库(%windir%\security\database\secedit.sdb)错误引起的报错IT-learning 2008-09-09 14:38:47 阅读77 评论0 字号:大中小 订阅 在使用组策略,访问子目录时,弹出安全模板窗口,窗口提示信息如下: -------------------------------------------------------------------------------------- 不能确定应用到此机器的组策略安全性设置。在尝试从本地安全性数据库(%windir%\security\database\secedit.sdb)中检索这些设置时返回的错误为:参数不正确。 所有本地安全性设置都将被显示,但是不会指出一个给定的安全性设置是否由组策略定义。所有由此用户界面改动的本地安全性设置都可能随后被域级的策略覆盖。 --------------------------------------------------------------------------------------- 如图: 原因分析: 根据提示,首先检查secedit.sdb的数据库文件是否出现问题。由于此文件无法使用通常的文本编辑器查看。所以,需要借助专门的工具来查看。这我们使用Windows XP中自带的一个Database Utility — esentutl.exe。 直接在运行中输入 esentutl.exe后,弹出命令行提示符,内容如下: ---------------------------------------------------------------------------------- Microsoft(R) Windows(TM) Database Utilities Version 5.1 Copyright (C) Microsoft Corporation. All Rights Reserved. DESCRIPTION: Maintenance utilities for Microsoft(R) Windows databases. MODES OF OPERATION: Defragmentation: ESENTUTL /d [options] Recovery: ESENTUTL /r [options] Integrity: ESENTUTL /g [options] Repair: ESENTUTL /p [options] Checksum: ESENTUTL /k [options] File Dump: ESENTUTL /m[mode-modifier] ---------------------------------------------------------------------------------- 其中的/k和/p参数可以用来校验指定数据库文件的完整性,/p参数用来修复指定的数据库文件。 出现这类错误一般可能是由于非正常关机或者软件出错导致。 解决方案: 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 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.

你可能感兴趣的:(windows)