Accessing BCDBoot.exe from PowerShell

by Naeem Khedarun 15. September 2011 04:53

 

This one was driving me crazy for a little while…

The term 'bcdboot' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:8
+ bcdboot <<<<
    + CategoryInfo          : ObjectNotFound: (bcdboot:String) [], CommandNotFoundException

I wondered whether it was the case with all System32 binaries and security, so some Googling turned up: http://social.technet.microsoft.com/Forums/en-GB/configmgradminconsole/thread/f1662e6e-5b15-450a-bca1-f3e2f99b7580

So if you would like to access bcdboot from PowerShell, and for my current script I definitely do, then you can use:

C:\Windows\sysnative\bcdboot

image

Irritating, but a relief to find its possible. Happy hacking.

Categories: PowerShell

Comments

Frances Verch
Frances Verch United States on 9/28/2011 4:29:21 AM

thanks, will check back soon, have bookmarked you for now.

pingback
freerob.com on 10/1/2011 5:23:01 AM

Pingback from freerob.com

HTML | Free Software | Free Templates | Freerob.com

Comments are closed