在命令提示符中删除启动项,可按以下步骤操作:
1.按 Win+R 键,输入 “cmd” 并回车,打开命令提示符。若提示权限不足,可找到 C:\Windows\System32 目录下的 cmd.exe 文件,右键选择 “以管理员身份运行”。或者可以通过任务管理器中勾选管理员权限运行cmd。
2.在命令提示符窗口中输入 “bcdedit” 并回车,查看当前系统的启动项列表,找到与 GHOST 相关的启动项,记下其 “标识符”,标识符通常是一个由数字和字母组成的字符串,位于 “ {} ” 中。
3.输入 “bcdedit /delete {标识符} /f” 并回车,其中 “{标识符}” 需替换为上一步中查找到的实际标识符。“/f” 参数表示强制删除,无需确认。若提示 “操作成功完成”,则说明启动项已成功删除。
以下是示例:
C:\Windows\system32>bcdedit
Windows 启动管理器
--------------------
标识符 {bootmgr}
device partition=\Device\HarddiskVolume2
path \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
description Windows Boot Manager
locale zh-CN
inherit {globalsettings}
flightsigning Yes
default {current}
resumeobject {8f7f1f66-5396-11eb-9d52-e42d258f88be}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Windows 启动加载器
-------------------
标识符 {current}
device partition=C:
path \Windows\system32\winload.efi
description Windows 10
locale zh-CN
recoverysequence {8f7f1f68-5396-11eb-9d52-e42d258f88be}
osdevice partition=C:
systemroot \Windows
resumeobject {8f7f1f66-5396-11eb-9d52-e42d258f88be}
bootmenupolicy Standard
Windows 启动加载器
-------------------
标识符 {curjasdasghghzdrent}
device partition=C:
path \Windows\system32\winload.efi
description Windows 11
locale zh-CN
recoverysequence {8f7f1f68-5396-11eb-9d52-e42d258f88be}根据启动加载器块的内容选择需要删除的启动项,例如想要删除“Windows 11”启动项,就复制标识符,
如下:
bcdedit /delete {curjasdasghghzdrent} /f提示 “操作成功完成”,则说明启动项已成功.
END

评论 (0)