Page 1 of 1

bitlocker invalid syntax

Posted: 16 Jan 2015 01:46
by yusef88
what's the right way to enter password in next command

Code: Select all

manage-bde -unlock k: -password MyPass
because i get this error message

Code: Select all

ERROR: Invalid Syntax.
"MyPass" was not understood.

Re: bitlocker invalid syntax

Posted: 16 Jan 2015 07:09
by bdeshi
pw prompts for a password. so you need to exec

Code: Select all

manage-bde -unlock k: -password
and you'll be prompted to enter a password. Enter the password (no bullets/*'s will be displayed).

piping or redirecting doesn't work here. :(

Re: bitlocker invalid syntax

Posted: 16 Jan 2015 10:44
by yusef88
I was hoping the batch enter the password and mount the drive without prompting like truecrypt,why microsoft doesn't make things easy..thanks

Re: bitlocker invalid syntax

Posted: 16 Jan 2015 11:07
by PeterH
yusef88 wrote:I was hoping the batch enter the password and mount the drive without prompting like truecrypt,why microsoft doesn't make things easy..thanks
Maybe MS thinks that a PW specified in a script is about as secure as no password?
(For some software it wouldn't be hard to scan scripts for such strings. So the user may think he has added security...)

Re: bitlocker invalid syntax

Posted: 16 Jan 2015 12:07
by bdeshi
btw, you can pass a recovery file/key as an argument the way you want.
you need to have generated the recovery file first. (Manage Bitlocker->Save Recovery Key)
Find the recovery key in the saved/printed file (it should be the last readable line in the file), then use this either cmd:

Code: Select all

manage-bde -unlock K: -rp "000000-000000-000000-000000-000000-000000-000000-000000"
manage-bde -unlock K: -recoverypassword "000000-000000-000000-000000-000000-000000-000000-000000"
repalce the 00000-00000-... with the key.

(you can delete/shred the file afterwards!)

ed: this->either

Re: bitlocker invalid syntax

Posted: 17 Jan 2015 01:47
by yusef88
@SammaySarkar thank you :tup:
now i have a serious problem win 8.1 does not wake up from sleep i googled and the suggested solution is to update display drivers but windows tell me the best driver software is already installed :cry:

Re: bitlocker invalid syntax

Posted: 17 Jan 2015 02:07
by highend
And we now have to guess which graphic card you use, which driver is installed and whatever "the best" means in this case? oO

Re: bitlocker invalid syntax

Posted: 17 Jan 2015 09:21
by yusef88
reinstall driver fixed the problem
actually VirtualBox network driver was the problem not display driver
http://gurustop.net/blog/2013/09/11/win ... ox-bridge/