如何恢复windows7启动项
将下面文本用记事本保存为a.bat,再右击a.bat》以管理员模式运行。
bcdedit /create {bb68514c-cff8-11dd-aca9-a775dac50ae8} /d "Microsoft Windows 7" /application osloader
bcdedit /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} device partition=E:
bcdedit /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} path \Windows\system32\winload.exe
bcdedit /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} locale zh-CN
bcdedit /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} inherit {bootloadersettings}
bcdedit /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} osdevice partition=E:
bcdedit /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} systemroot \Windows
bcdedit /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} nx OptIn
bcdedit /displayorder {bb68514c-cff8-11dd-aca9-a775dac50ae8} /addlast
bcdedit /timeout 5
pause