I wasn't sure where to post this.
Once a week I boot to my WinPE and run a few scripts to clean up crap and run a chkdsk on my drives. My company just implemented Bitlocker. No problem, I just wrote a script and plunked it the root of my WinPe boot drive using the manage-bde -unlock -recoverypassword #####etc. it works fine.
I then wanted to use the -rebootcount manage-bde option to NOT have it lock and ask for the pin so I could reboot a couple of times to do some tasks without running the script. Like so:
manage-bde -protectors -disable C: -rebootcount 10
This worked fine from the real OS command line, but fails from under WinPE stating the C: is not a boot drive - which I guess is true because the session of Win PE did not boot from the C: drive.
Is there any way to do the -rebootcount from WinPE's manage-bde command line?
If I remember to do this from the real OS before I reboot to WinPE of course it works. I'd just like to script it to run under WinPE. Possible?