恢复F8(恢复到出厂设置)功能

恢复F8(恢复到出厂设置)功能


最近刚用了个Dell Inspiron 1370本,因原装的Win7 Home Basic 64用着不便,就自装了Win7 x86 旗舰。不料有些驱动总是不对,特别是摄像头系统无法用!于是想恢复出厂,可才发现F8 dell factory image restore (恢复到出厂设置)选项没有了!
特别感谢sanyork http://dell.usersound.com/forums/147/questions/1287

不过我直接运行他的脚本,却发现F8中根本就不能执行“系统修复”了!查阅了无数资料,觉得“BCDEDIT.EXE /set {ramdiskoptions} ramdisksdidevice partition=\Device\HarddiskVolume2
”有问题。其中的HarddiskVolume2不论怎样设置总是不行!
由于我的Recovery分区还在,于是用DiskGenius取消Recovery分区的隐藏,并设驱动号G:(网友可根据自己的情况,记下驱动器号)。修改脚本:
BCDEDIT.EXE /create {ramdiskoptions} /d "Ramdisk Options"
BCDEDIT.EXE /set {ramdiskoptions} ramdisksdidevice partition=G:
BCDEDIT.EXE /set {ramdiskoptions} ramdisksdipath \boot.sdi
BCDEDIT.EXE /create {8f001a0d-3843-11df-a48a-a4badbb16552} -d "Windows Recovery Enviorment" -application OSLOADER
BCDEDIT.EXE /set {8f001a0d-3843-11df-a48a-a4badbb16552} description "Windows Recovery Enviorment"
BCDEDIT.EXE /set {8f001a0d-3843-11df-a48a-a4badbb16552} device ramdisk=[G:]\winre.wim,{ramdiskoptions}
BCDEDIT.EXE /set {8f001a0d-3843-11df-a48a-a4badbb16552} path \windows\system32\boot\winload.exe
BCDEDIT.EXE /set {8f001a0d-3843-11df-a48a-a4badbb16552} osdevice ramdisk=[G:]\winre.wim,{ramdiskoptions}
BCDEDIT.EXE /set {8f001a0d-3843-11df-a48a-a4badbb16552} systemroot \windows
BCDEDIT.EXE /set {8f001a0d-3843-11df-a48a-a4badbb16552} inherit {bootloadersettings}
BCDEDIT.EXE /set {8f001a0d-3843-11df-a48a-a4badbb16552} winpe yes
BCDEDIT.EXE /set {8f001a0d-3843-11df-a48a-a4badbb16552} nx OptIn
BCDEDIT.EXE /set {default} recoverysequence {8f001a0d-3843-11df-a48a-a4badbb16552}
BCDEDIT.EXE /set {default} recoveryenabled yes 

OK!F8 dell factory image restore (恢复到出厂设置)选项出来了!我已完成了恢复。
与sanyork 文中不同之处请自行比对。

你可能感兴趣的:(miscellaneous)