费了千辛万苦才找到原因,,真是tmd太气人来,,,
因为每次管理员方式打开cmd稍麻烦,我是msdn原版系统安装,所以我每次都顺手就用管理员打开Windows PowerShell,这个比较方便些
在Windows PowerShell中,bcdedit /enum , bcdedit /set description "设置引导系统名称" 这些命令都没问题,,
可唯独:bcdedit /set {b1473217-c4d1-11ed-b166-ab15f4a6bf64} description "win11Enterprise-backup64GB盘有点问题"
这个命令无论如何也执行不动,老提示错误,
C:\Users\Enterprise> bcdedit /set {b1473217-c4d1-11ed-b166-ab15f4a6bf64} description "win11Enterprise-backup64GB盘有点问题"指定的设置命令无效。运行 "bcdedit /?" 获得命令行帮助。参数错误。
[color=]我以为是自己输错了,是不是哪里多个空格,或是少个字母,甚至标识符错了,不会啊,我可是复制的,难道复制会出问题?? 于是这样捣鼓,那样测试,终于在偶然的测试中,才发现原来set后如果带有标识符,就必须在cmd管理员命令下使用,见下边:
Microsoft Windows [版本 10.0.22000.856]
(c) Microsoft Corporation。保留所有权利。
C:\windows\system32>bcdedit /set {b1473217-c4d1-11ed-b166-ab15f4a6bf64} description "win11Enterprise-backup64GB盘有点问题"
操作成功完成。
C:\windows\system32>bcdedit /enum
Windows 启动管理器
--------------------
标识符 {bootmgr}
device partition=\Device\HarddiskVolume4
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale zh-cn
inherit {globalsettings}
default {current}
resumeobject {b2c8f294-c5f2-11ed-aac7-b068e628b888}
displayorder {current}
{b1473217-c4d1-11ed-b166-ab15f4a6bf64}
{b1473219-c4d1-11ed-b166-ab15f4a6bf64}
{b1473215-c4d1-11ed-b166-ab15f4a6bf64}
{52f006e4-6062-40ff-a8cc-9bb1a86a2312}
toolsdisplayorder {memdiag}
timeout 60
Windows 启动加载器
-------------------
标识符 {current}
device partition=C:
path \windows\system32\winload.efi
description win11Enterprise-74.6GB盘
locale zh-cn
inherit {bootloadersettings}
recoverysequence {d51e48ec-a791-11ec-8254-fb659137e43f}
recoveryenabled Yes
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \windows
resumeobject {b2c8f294-c5f2-11ed-aac7-b068e628b888}
nx OptIn
bootmenupolicy Standard
Windows 启动加载器
-------------------
标识符 {b1473217-c4d1-11ed-b166-ab15f4a6bf64}
device partition=H:
path \windows\system32\winload.efi
description win11Enterprise-backup64GB盘有点问题
locale zh-cn
inherit {bootloadersettings}
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=H:
systemroot \windows
resumeobject {b1473216-c4d1-11ed-b166-ab15f4a6bf64}
nx OptIn
bootmenupolicy Standard
Windows 启动加载器
-------------------
标识符 {b1473219-c4d1-11ed-b166-ab15f4a6bf64}
device partition=E:
path \windows\system32\winload.efi
description win8.1Enterprise-58.8GB盘
locale zh-cn
inherit {bootloadersettings}
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=E:
systemroot \windows
resumeobject {b1473218-c4d1-11ed-b166-ab15f4a6bf64}
nx OptIn
bootmenupolicy Standard
detecthal Yes
Windows 启动加载器
-------------------
标识符 {b1473215-c4d1-11ed-b166-ab15f4a6bf64}
device partition=G:
path \windows\system32\winload.efi
description win10Enterprise-90GB盘
locale zh-cn
inherit {bootloadersettings}
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=G:
systemroot \windows
resumeobject {b1473214-c4d1-11ed-b166-ab15f4a6bf64}
nx OptIn
bootmenupolicy Standard
Windows 启动加载器
-------------------
标识符 {52f006e4-6062-40ff-a8cc-9bb1a86a2312}
device ramdisk=[G:]\WEPE\WEPE64.WIM,{ramdiskoptions}
path \Windows\system32\boot\winload.efi
description 微pe工具
locale zh-CN
osdevice ramdisk=[G:]\WEPE\WEPE64.WIM,{ramdiskoptions}
systemroot \Windows
nx OptIn
pae ForceEnable
detecthal Yes
winpe Yes