Today I was working with a customer that wanted upgrade MBAM from 2.0 to 2.5 SP1. It was a simple stand-alone configuration with a two server setup.
Deployed exactly like this example: https://support.microsoft.com/en-us/kb/3046555. Great guide.
The upgrade process is (normally) pretty straight forward. Basically, you need to back up the database, uninstall the old version of MBAM, Install the new version of MBAM and then run the configuration wizard. But in this scenario the IIS service didn’t survive the upgrade, so the helpdesk and the self-service portal wasn’t working.
So while we’re trying to fix this problem, helpdesk calls for BitLocker recovery keys started to come in. So how do we access the recovery keys without a working portal?
Luckily everything is stored in SQL, so with a little query and some magic, we can continue to support our users.
To access the 48 digit recovery key saved in SQL, you need to perform the following steps:
- Open the SQL Management Studio, and Expand the MBAM_Recovery_and_Hardware database.
- Under Tables, Select RecoveryAndHardwareCore.Keys.
Right-Click RecoveryAndHardwareCore.Keys, and Select Top 1000 Rows.
This should create a query that will give you a list of all RevoveryKeyID’s and RecoveryKey’s in the Database.
If you want to search for a specific Recovery Key, then you can add the following line to the query:
WHERE RecoveryKeyId LIKE ‘fcc%’
That’s it… Enjoy.