run .bat file to unlock bitlocker drive BEFORE user login

gowanus

New member
Local time
5:26 PM
Messages
3
Folks,

Many hours of googling have not yet yielded a solution...

I have a .bat file that requests input of the PIN to unlock a bitlocker encrypted partition.
I would like to run this before windows LOGON (ask for password during boot).
This is because I placed several of the user directories (desktop etc) onto that partition.
If I do not unlock the drive before login, desktop does not load, and other startup programs (e.g., dropbox, skydrive) cannot access their folders and fail.

I have tried scheduling a task at start up, without success.
The bat file needs to be run as administrator - but even when I indicate "run with highest privilege" it won't run properly.

I have basic knowledge or task scheduler, cmd line, and registry editing (BASIC knowledge...).
So any help you can provide (with details) would be much appreciated!

Gowanus
 

My Computer My Computer

At a glance

Windows 7 64 bit
Computer type
PC/Desktop
OS
Windows 7 64 bit

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel Core 2 Duo E6550 @2.33GHz4GB DDR"NVIDIA GeForce 8600 GS
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell / Lenovo g550
OS
Windows 7 Ultimate 64-bit
CPU
Intel Core 2 Duo E6550 @2.33GHz
Motherboard
foxconn g33m02
Memory
4GB DDR"
Graphics Card(s)
NVIDIA GeForce 8600 GS
Hard Drives
HDD 1 = 150GB
HDD 2 = 1.5TB
PSU
450W
Cooling
Stock fan
Internet Speed
12Mb
Antivirus
AVG Internet Security
ah found something else also:
Use the Group policy editor.
%systemroot%\system32\gpedit.msc

User Config\Windows Settings\Scripts\Logon/Logoff
Computer Config\Windows Settings\Scripts\Startup/Shutdown


So basically go to group policy by typing in the search bar "gpedit.msc" then the following path "computer config\windows settings\ scripts\ startup/shutdown
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel Core 2 Duo E6550 @2.33GHz4GB DDR"NVIDIA GeForce 8600 GS
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell / Lenovo g550
OS
Windows 7 Ultimate 64-bit
CPU
Intel Core 2 Duo E6550 @2.33GHz
Motherboard
foxconn g33m02
Memory
4GB DDR"
Graphics Card(s)
NVIDIA GeForce 8600 GS
Hard Drives
HDD 1 = 150GB
HDD 2 = 1.5TB
PSU
450W
Cooling
Stock fan
Internet Speed
12Mb
Antivirus
AVG Internet Security
So basically go to group policy by typing in the search bar "gpedit.msc" then the following path "computer config\windows settings\ scripts\ startup/shutdown

Thanks for trying to help.
I have been fiddling around with that for quite a while - no luck.
Script does not seem to run - neither at startup or logon.

I disables UAC just in case.
BTW, script rund fine when double clicked directly.
It really isn't that complicated:

"
@echo off
manage-bde D: -unlock -password
pause
"

Any additional help is appreciated.
Gowanus
 

My Computer My Computer

At a glance

Windows 7 64 bit
Computer type
PC/Desktop
OS
Windows 7 64 bit
Hmm I will keep looking other than that I can't answer at the moment maybe someone might be nice enough to jump in. But will get back to you
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel Core 2 Duo E6550 @2.33GHz4GB DDR"NVIDIA GeForce 8600 GS
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell / Lenovo g550
OS
Windows 7 Ultimate 64-bit
CPU
Intel Core 2 Duo E6550 @2.33GHz
Motherboard
foxconn g33m02
Memory
4GB DDR"
Graphics Card(s)
NVIDIA GeForce 8600 GS
Hard Drives
HDD 1 = 150GB
HDD 2 = 1.5TB
PSU
450W
Cooling
Stock fan
Internet Speed
12Mb
Antivirus
AVG Internet Security

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel Core 2 Duo E6550 @2.33GHz4GB DDR"NVIDIA GeForce 8600 GS
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell / Lenovo g550
OS
Windows 7 Ultimate 64-bit
CPU
Intel Core 2 Duo E6550 @2.33GHz
Motherboard
foxconn g33m02
Memory
4GB DDR"
Graphics Card(s)
NVIDIA GeForce 8600 GS
Hard Drives
HDD 1 = 150GB
HDD 2 = 1.5TB
PSU
450W
Cooling
Stock fan
Internet Speed
12Mb
Antivirus
AVG Internet Security
Could not get any of this to work. Thanks a lot for trying, though.
If anyone else comes up with a usable approach for unlocking bitlocker (non so partition) before login, please let me know.
Thanks!
 

My Computer My Computer

At a glance

Windows 7 64 bit
Computer type
PC/Desktop
OS
Windows 7 64 bit
Why don't you disable bitlocker on the partition\s users should have access. What is the point of encrypting it if the encryption shoud be gone befor the user logs on. I think the point of using bitlocker is so users must provide a password when they access a certain drive...
 

My Computer My Computer

At a glance

Windows 7 64 bit Ultimate
OS
Windows 7 64 bit Ultimate
What accont have you used to run the schedlued task, have you tried the system account?
 

My Computer My Computer

At a glance

Windows 7 64 bit Ultimate
OS
Windows 7 64 bit Ultimate
Back
Top