r/SQLServer • u/Mortimer452 • Oct 07 '25
Question Issues with SQL Service not starting with Bitlockered drives
Firstly I should mention we have a regulatory requirement to set the server up this way. I wish we could just do TDE or VMDK encryption at the hypervisor level but unfortunately this is simply not an option. Bitlocker is what we have to use to consider the data "encrypted at rest."
Our SQL 2022 server has Bitlocker enabled using TPM. The C: drive (OS) and data drive (D:, E: for SQL Data and logs) are all Bitlocker encrypted. We have auto-unlock enabled for the D: and E: drives.
Problem is, it appears that the additional fixed drives (D:, E:) don't actually auto-unlock until someone actually logs onto the server via the console or RDP. This means the SQL Server service cannot start until someone actually logs into the server.
Anyone run across this before? I have tried a few workarounds but so far have not figured out a way to get the D: and E: drives to unlock before someone logs into the console.
•
u/AutoModerator Oct 07 '25
After your question has been solved /u/Mortimer452, please reply to the helpful user's comment with the phrase "Solution verified".
This will not only award a point to the contributor for their assistance but also update the post's flair to "Solved".
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/VladDBA Microsoft MVP Oct 07 '25 edited Oct 07 '25
Any explanation why or is it just because someone in management said so?
Did you turn on auto-unlock for those drives?
Edited to add: if it's not clear, I'm really not a fan of bitlocker enabled on the data disks. TDE and encrypted backups (if you store any backups locally) and applying disk encryption at the hypervisor level should be the go-to option in that case.
2
u/BlacktoseIntolerant Oct 07 '25
I have a similar issue with one of our production SQL servers. Whenever the server reboots, someone needs to manually run an "unlock" script to unlock everything except the C: drive.
I have the SQL service on a delayed start for that specific reason, which works ... I'd say 40% of the time.
Is there no way to auto-fire a script to unlock those drives? A Scheduled Task upon server restart?
2
u/No_Resolution_9252 Oct 08 '25
Bitlocker is configured wrong for requirements, drives need to be configured to auto unlock using the network.
If the server is at high risk of being physically stolen, requiring intervention to unlock it could be the requirement.
You may still need TDE, you have to encrypt your backups manually otherwise.
1
u/TomeOfExperience Sep 15 '26
In addition to using bitlocker Auto Unlock, you might want to add a MSSQLSERVER service dependency to BDESVC.