有没有一种方式(命令行等)configuration窗口的方式,而不是在启动时玩F8游戏,所以closures窗口和重新启动将始终提出了高级启动菜单,或者有一种closures窗口的方式,以便它会一直拿出Windows恢复环境。 我正在考虑设置一些registry设置或某些types的命令行工具,以便重新启动时,Windows启动进入高级启动菜单。
如果这两者都不可行,那么我怎样才能将Windows恢复环境(WinRE)添加到启动菜单 – 可以用BCDEdit或Easy BCD来完成吗?
这是随着Windows 7 64位的方式。
谢谢,
马修。
首先,使用bcdedit -export backup_file.bcd备份当前的BCD。 如果启动驱动器上启用了BitLocker,则需要将其禁用,直到完成更改。
如果你只想显示菜单: bcdedit /delete {bootmgr} default
启动电脑与registry无关,只有BCD控制启动过程。
增加WinRE是有点涉及的; 有什么具体的你想找的,或者你只是想整个环境?
编辑 :
安装WinRE( 简单的方法):
运行这些将WinRE添加到您的BCD中:
Bcdedit –create {ramdiskoptions} Bcdedit –set {ramdiskoptions} ramdisksdidevice boot Bcdedit -set {ramdiskoptions} ramdisksdipath \boot\boot.sdi
你现在有了ramdisk选项。
Bcdedit –store c:\BCD –create /d “WinRE” /application osloader
请注意它为您提供的GUID,因为您需要它接下来的几行:
Bcdedit –set {guid1} systemroot \Windows Bcdedit –set {guid1} detecthal Yes Bcdedit –set {guid1} winpe Yes Bcdedit –set {guid1} osdevice ramdisk=X:\Path\To\WinRE.wim,{ramdiskoptions} Bcdedit –set {guid1} device ramdisk=X:\Path\To\WinRE.wim,{ramdiskoptions}
这几乎全是来自内存; 所以有可能我忘了一些东西。 我不知道有什么简单的方法可以启动到WinRE一笔交易。