Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


BCDedit says: "The set command specified is not valid"

BCDedit says: "The set command specified is not valid"

Hi all,

I am using Windows PowerShell (Admin).
My command line is this: "bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi"
I had used this exact command line before and it did work.
Now it says "The set command specified is not valid". It makes no sense.

Hardware: Acer Predator 710 Desktop

RE: BCDedit says: "The set command specified is not valid"

Are you certain the path \EFI\ubuntu\sjimx64.efi still exists? What happens if you run "bcdedit /?"? Do you get an error then? Have you done any updates between running powershell?

James P. Cottingham
I'm number 1,229!
I'm number 1,229!

RE: BCDedit says: "The set command specified is not valid"

Thanks for replying 2ffat :)

I am certain the path is right. I keep documented records of what were the solutions to previous issues, in case it happens again. And basically I copy/paste this command line to assure myself not to make a typo/mistake. Plus, it has proven to work before.
I can run bcdedit.
But you are right, there's been numerous updates since the last time I successfully used that command line. Namely the Win10 Creative update.
Should I infer that the command line needs to be modified? Maybe it needs to be adapted to whatever changes were done in the updates?

RE: BCDedit says: "The set command specified is not valid"

He wasn't asking if the path was copied correctly from your documentation. He is asking if the actual directory pointed to by the command line AND the file still exists after all the updates.

Lead Application Developer
New York State, USA

RE: BCDedit says: "The set command specified is not valid"

I see. Thank you for bringing that to my attention Beilstwh :)
I looked into this. I found 2 subdirectories in the boot dir: grub, and efi. However, the efi dir is empty! I suppose that's the problem.
Then, am I to create the missing ubuntu dir and the shimx64.efi file inside it?
If so, how?


RE: BCDedit says: "The set command specified is not valid"

I found where exactly the shimx64.efi is found.
In the 1st partition of disk 2. It's flagged "boot, esp".
What I don't get is, that this is the command line to use: "bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi"
Which I see it provides the path, but that does not provide the disk. Hence, how bcdedit knows for what disk that path is for? For all I know, bcdedit could be looking for it in the wrong disk. Maybe there's a parameter that allows to set the disk too?

RE: BCDedit says: "The set command specified is not valid"

It's fixed.
The solution was to switch to CMD from within the Admin Windows Powershell. Then the command line works!
Someone from a different forum suggested it.
Bcdedit said it was successful. Now lets restart the pc and see if loading Ubuntu is successful too.
I'll be back.

RE: BCDedit says: "The set command specified is not valid"

I can't quite confirm it, as I am having trouble with Ubuntu. But I believe what was done with bcdedit did work. I just have other issues to resolve at the Ubuntu end.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close