Vista/S2008注册表腐败恢复技巧#1001

注册表损坏,最近没有备份?这里有一个提示

有一天,我写了一篇关于我办公室停电的文章,导致Server 2008注册表损坏,并且出现了无法启动的情况,需要从备份中恢复系统状态。但是,如果您没有一个相对较新的系统状态备份呢?首先,制定一个新年决心,学习一些关于WBADMIN的知识,并把它应用到你的工作中。其次,请继续阅读,这里有两个相关的技巧从注册表损坏中恢复。注册表确实有一个事务日志文件机制,Windows可以使用它来尝试修复损坏。问题是服务器2008没有方便的方法使用修复机制,如果你不能引导你的服务器进入安全模式。但是,您可能可以做的是,通过使用Windows安装DVD或专用的CD、DVD或使用免费下载的Windows自动安装工具包(WAIK)创建的闪存驱动器,将服务器引导到Windows恢复环境(WinRE)中。进入WinRE后,首先执行CHKDSK以确保没有物理磁盘问题。接下来,打开命令提示符并运行REGEDIT。您将使用WinRE注册表,然而,不是您的C:驱动器上的注册表,所以您必须执行一个“Load Hive”命令在C:驱动器上的注册表文件。 (They’re typically located in the %systemdir%\system32\config folder, and most of the time it’s the SYSTEM file that’s damaged.) Interestingly, when you load the hive that’s suffering from corruption, REGEDIT can sometimes detect the problem and fix it from the transaction log files. You’ll typically see a notification to that effect. If so, all you have to do next is unload the hive (which saves it back out to disk) and you’re done. Try rebooting normally and see if everything is now copacetic. If you can’t lay your hands on a WinRE boot device, then you may be able to perform a similar operation by physically removing the drive and hanging it off an existing workstation. (Obviously if you’re using RAID then this method won’t work.) Use one of those wonderfully convenient USB-to-IDE/SATA adapters that you can get from your favorite hardware supplier for $30 or so. The methodology is pretty much the same: check the drive for errors, then run REGEDIT, load and unload the hives, and see if you get a message indicating that the corruption has been handled.

加入网络世界社区有个足球雷竞技app脸谱网LinkedIn对自己最关心的话题发表评论。
相关:

版权所有©2009 IDG ComRaybet2munications, Inc.

SD-WAN买家指南:向供应商(和您自己)提出的关键问题