【问题标题】:BCDEdit error, The parameter is incorrect [closed]BCDEdit错误,参数不正确[关闭]
【发布时间】:2019-08-03 20:34:24
【问题描述】:

我正在尝试将我的 SSD 添加到启动菜单。我按照Microsoft 提供的说明进行操作。但我一直收到同样的错误。

这个命令给了我错误:

bcdedit /copy {current} /d "mySSD"

然后我运行bcdedit /v 来查看identifier's GUID。这个命令也给了我同样的错误:

bcdedit /copy {c562ef5b-d0f6-11e8-bfb5-e86a64139893} /d "mySSD"

错误:

The copy command specified is not valid.
Run "bcdedit /?" for command line assistance.
The parameter is incorrect.

我该怎么办?


这是bcdedit /v的输出结果

Windows Boot Manager
--------------------
identifier              {9dea862c-5cdd-4e70-accb-f32b344d4795}
device                  partition=\Device\HarddiskVolume1
path                    \EFI\Microsoft\Boot\bootmgfw.efi
description             Windows Boot Manager
locale                  en-US
inherit                 {7ea2e1ac-2e61-4728-aaab-896d9d0a9f0e}
default                 {c562ef5b-d0f6-11e8-bfb5-e86a64139893}
resumeobject            {c562ef5a-d0f6-11e8-bfb5-e86a64139893}
displayorder            {c562ef5b-d0f6-11e8-bfb5-e86a64139893}
toolsdisplayorder       {b2721d73-1db4-4c62-bf7b-c548a880142d}
timeout                 0

Windows Boot Loader
-------------------
identifier              {c562ef5b-d0f6-11e8-bfb5-e86a64139893}
device                  partition=C:
path                    \Windows\system32\winload.efi
description             Windows 10
locale                  en-US
inherit                 {6efb52bf-1766-41db-a6bb-0ee5eff72bd7}
recoverysequence        {6e6c06d5-d0f4-11e8-addb-e86a64139893}
displaymessageoverride  Recovery
recoveryenabled         Yes
isolatedcontext         Yes
allowedinmemorysettings 0x15000075
osdevice                partition=C:
systemroot              \Windows
resumeobject            {c562ef5a-d0f6-11e8-bfb5-e86a64139893}
nx                      OptIn
bootmenupolicy          Standard

【问题讨论】:

    标签: windows windows-10 boot bcdedit


    【解决方案1】:

    问题在于这些命令命令提示符中工作,而我在PowerShell中运行它们。

    我在提升的 powershell 中运行了 cmd,然后它工作了。


    或者正如 Vasily Galkin 提到的,单引号包含 {} 之类的所有参数

    bcdedit /copy '{current}' /d "mySSD"

    【讨论】:

    • 太棒了!谁能想到!
    • 谢谢!
    • 另一种解决方法是单 qoute 所有包含 { 或 } 的参数,例如 bcdedit /copy '{current}' /d "mySSD"
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-30
    • 1970-01-01
    • 2012-09-17
    • 2021-04-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多