1

I want to startup my Windows and then see a dialog box (or a commandline window) that prompts me for the drive password to decrypt it automatically after bootup.

I tried to make a .bat "script" (related question) but it just didn't work while I was able to decrypt the drive with the same commands I by hand in the commandline.

kluka
  • 2,164
  • 6
  • 23
  • 37
  • Even though this questions overlaps with the related question; I think it's useful to have this one because a lot of people might search with this phrasing – kluka Jan 10 '13 at 16:09
  • 1
    "it just didn't work" - Why, any errors? – Karan Jan 11 '13 at 00:47
  • I'm stupid - I forget the pause at the end. But now I need to find a way to make it start as administrator from startup – kluka Jan 11 '13 at 01:12
  • 1
    Have you seen [these](http://superuser.com/questions/183011/auto-start-a-program-and-run-under-other-account-on-user-logon) [questions](http://superuser.com/questions/418136/how-to-run-an-exe-on-boot-and-keep-it-running-regardless-of-who-logs-in-on-wind) already? – Karan Jan 11 '13 at 01:22

1 Answers1

3

My current (unpolished barebone) solution:

.bat file with

@echo off
manage-bde G: -unlock -password
pause

Put that in the task manager; trigger at logon. It has to run as administrator (highest voted answer works like a charm). Has one big flaw though at the moment: When I enter a wrong password I don't get another prompt but "press any key to continue..."

kluka
  • 2,164
  • 6
  • 23
  • 37