c语言编译器蓝屏,解决Winxp Stop c0000218 unknown hard error 蓝屏故障的方法

周末家里的电脑出故障了,系统无法启动,运行到XP的启动界面时蓝屏,显示“c0000218 unknown hard

error”,好可怕,不会全部要重装吧?

经过一番网络查找、研究,终于找到解决办法,并成功解决,步骤如下:

【机型】IBM ThinkPad T43

【操作系统】WinXP SP3

【故障代码】STOP: c0000218 Unknow Hard Error

微软提供的故障分析及解决方案如下:

Stop 0xc0000218 error message means that a

necessary registry hive file could not be loaded. This error

message can occur if the file is corrupt or missing. To resolve

this issue, you can reinstall the operating system and restore the

registry files from a backup. The registry files may have been

corrupted because of hard disk corruption or some other hardware

problem.

This error message can also occur if the driver has

corrupted the registry data while loading into memory, or the

memory where the registry is loading has a parity error. In the

latter case, turn off the external cache and check the memory

chips.

To resolve this issue, follow these steps:

Start your computer by running the Recovery

Console, run the chkdsk /p command on the drive, and then restart

your computer. Test to determine whether the issue is resolved. If

the issue is resolved, do not complete the remaining steps. If the

issue is not resolved, go to step 2.

When Windows loads, press SPACE BAR when the "Load

Last Known Good" message appears.

Complete a parallel installation, and restore the

registry files from a tape backup. To do so:

Reinstall Windows in a separate folder.

Restore the damaged registry hive from backup. This

procedure is specific to the backup application that you used to

make a backup. Consult the documentation of your backup application

or consult the vendor if you need assistance. Typically, this

procedure requires you to restore a system state backup to an

alternate location, and then copy the appropriate registry files to

the %SYSTEMROOT%\System32\config folder of the damaged operating

system.

If you do not have a tape backup, include the

backup of network servers and production workstations.

NOTE: If Windows is stored on a FAT partition, you

can restore the files by using another computer and by copying the

registry hive files to the %SYSTEMROOT%\System32\Config

subfolder.

根据微软的解释,发生c0000218 unknown hard error

蓝屏故障的主要原因是由于非法关机导致注册表写入错误。具体是是注册表的某个文件(C:\Windows\System32\Config\下)已经损坏。

【解决步骤】

1、下载UltraISO和WinPeBoot.iso文件。这两个文件从网上搜索就行了。

2、用UltraISO文件制作启动盘:

(1)首先,下载好软件后,解压出来,直接运行,点击打开按钮,如图:

a4c26d1e5885305701be709a3d33442f.png

(2)找到准备好的WinPeBoot.iso文件

a4c26d1e5885305701be709a3d33442f.png

(3)选择好后,点击打开,这样,光盘映像被加载到软件当中,选择启动光盘菜单中的写入硬盘映像。

a4c26d1e5885305701be709a3d33442f.png

(4)弹出写入硬盘映像信息,点击写入。

a4c26d1e5885305701be709a3d33442f.png

【注意事项】:我开始用的是USB-HDD模式,但是后来无法启动Finaldata文件,提示“FinalData.exe不是合法的Win32文件”。参考网上注意事项,又改成了USB-ZIP模式制作启动盘,就成功了。

(5)弹出格式化提示,选择是。

a4c26d1e5885305701be709a3d33442f.png

(6)选择完毕后,就开始直接写入U盘了。

a4c26d1e5885305701be709a3d33442f.png

写入,制作完毕后,会显示刻录成功的提示,我们点返回就OK了

3、进入BIOS,将U盘调整为第一磁盘,第一启动。

首先,将你制作好的可启动U盘插到你的电脑上,然后,进入BIOS进行调整第一引导顺序了,因主板不同,BIOS多少有点区别,以往用光盘装系统,必须调整启动项为光驱启动,而现在我们要用U盘装系统,所以要调整为U盘启动。

下面我们举例两个不同bios的调整方法。

(1)按DEL进入BIOS,进入boot选项卡,选择“hard disk

drives"(硬盘驱动器),a4c26d1e5885305701be709a3d33442f.png

将“1st drive"调整为你的U盘,如果显示的不是你的U盘,可以按回车进行选择调整。调整完毕后,反回,然后进入"Boot

device prinrity"选项卡,将第一启动调整为你的U盘。

最后,按F10保存,即可以启动

(2)进入BIOS,首先将第一启动调整为First boot device调整为:USB-HDD,然后,再选择“Hard disk

boot prierity"选项,将你的U盘调整为第一个驱动器。最后按F10保佑退出。

把电脑的第一启动项设为USB设备启动-----修改BIOS后记得保存哦!快捷方式一般F10!

4、使用上面的U盘启动,进入系统后在U盘中找到FINALDATA ,启动之。

【注意事项】不同的攻略里所说的处理文件不一样,但主要范围在以下文件之中:

%systemroot%\windows\system32\config\system

%systemroot%\windows\system32\config\software

%systemroot%\windows\system32\config\sam

%systemroot%\windows\system32\config\security

%systemroot%\system32\config\default

我的就是system.log文件出问题造成的。

在目录中找到相关文件和他的log文件,选中后,在菜单中选择“恢复”,另存一个位置;

5、在资源管理器中将恢复后的文件拷贝到\Windows\System32\Config目录中;

6、退出U盘启动的PE,重新开机启动。

【注意事项】我在拷贝system.log文件的时候,提示“文件或目录c:\windows\system32\config\system.LOG已损坏且无法读取”,采取的解决办法是:

“我的电脑”中选中盘符后单击鼠标右键,在弹出的驱动器属性窗口中依次选择 “工具→开始检查”并选择“自动修复文件系统错误”和“扫描并恢复坏扇区”,然后点击开始,扫描时间会因磁盘容量及扫描选项的不同而有所差异(按上面的方法做后,会弹出一个框,点是,自动关机后在开机进行修复)。

开机重启后进入Chkdsk状态,自动检测和修复后,问题解决!

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值