I am running Windows 8.1, and when I tried to use bcdedit.exe (for the first time on this install) it told me that:

'bcdedit' is not recognized as an internal or external command, operable program, or batch file.

I found this odd because:

  • My PATH variable includes C:\Windows\System32
  • bcdedit.exe is in System32
  • I'm running the command from an elevated command prompt (not through some other language)

I tried a variety of other things, including using cd to go to the folder and then putting in bcdedit.exe (instead of bcdedit). No luck. Anyone know what's going on?

  • This indicates your system image is corrupt this isn't a permission problem, can you run sfc? – Ramhound Oct 24 '14 at 21:33
  • Is this a fresh installation? What's your PATHEXT variable (echo %PATHEXT%)? Could you provide your entire PATH in case there's some syntax error in there? What does where bcdedit output? – Bob Oct 24 '14 at 23:33

Open an elevated command prompt.

You can use this to see if bcdedit is damaged:

sfc /VERIFYFILE=C:\windows\system32\bcdedit.exe

If the file is fine you will get an output like this:

Windows Resource Protection did not find any integrity violoations.

If the file is damaged you can try to replace from backups using:

sfc /scannow

If for any reason that fails you could always try downloading the Windows 8.1 Enterprise trial, install it in a virtual machine, and copy the bcdedit.exe from it.


This could also be due to running a 64-bit OS, in which case you need to access BCDEDIT from C:\Windows\Sysnative\bcdedit

  • Agreed, this can happen if you are running Windows x64 but your cmd program is x86 (running from \Windows\SysWOW64), then bcdedit is not available. When you use "\Widnows\sysnative" in such scenario, you are referring to the x64 system folder. – yms Sep 5 '17 at 12:05

protected by Community Jun 8 '18 at 11:37

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.