When troubleshooting Bitlocker-encrypted machines, I have noticed that a small portion of them did not reply correctly to standard Bitlocker status commands like “
manage-bde -status c:” and such. The response of the command would be then something like “Driver letter is missing” or similar output.
To fix this, create a batch (.bat) file and populate it with following:
net stop winmgmt /y c: cd %systemroot%\system32\wbem rd /S /Q repository regsvr32 /s %systemroot%\system32\scecli.dll regsvr32 /s %systemroot%\system32\userenv.dll mofcomp cimwin32.mof mofcomp cimwin32.mfl mofcomp rsop.mof mofcomp rsop.mfl for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s for /f %%s in ('dir /b *.mof') do mofcomp %%s for /f %%s in ('dir /b *.mfl') do mofcomp %%s mofcomp.exe win32_encryptablevolume.mof exit
And run it on affected machine. The process might take a minute or two, but when done, the system’s WMI is fixed and it responds to the
manage-bde command correctly. The drive might even be fully encrypted – the issue was just that the system was not responding to the status command correctly and this also resolved in an encryption error in SCCM’s hardware inventory and reports.