Failed to run the action: Enable BitLocker. Unspecified Error: (80004005)

Issue:-

When you run a Configuration Manager 2007 OSD Task Sequence that has the “Enable BitLocker” task in it, the task fails to run and BitLocker is not enabled on the PC. Looking the SMSTS.log reveals the below error message:

SMSTS.log

Executing command line: OSDBitLocker.exe /enable  /wait:False /mode:TPM /pwd:AD
==============================[ OSDBitLocker.exe ]==============================
Command line: “OSDBitLocker.exe” /enable /wait:False /mode:TPM /pwd:AD
Initialized COM
Command line for extension .exe is “%1” %*     OSDBitLocker   
Set command line: “OSDBitLocker.exe” /enable /wait:False /mode:TPM /pwd:AD
Target volume not specified, using current OS volume

Current OS volume is ‘C:’
Succeeded loading resource DLL ‘C:\Windows\SysWOW64\CCM\1033\TSRES.DLL’
Protection is OFF
Volume is fully decrypted
FALSE, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\tpm.cpp,130)
Unable to find instance of ‘Win32_Tpm’. Ensure that this device has a Trusted Platform Module which is enabled in the BIOS.
pTpm->Initialize(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\bitlocker\bitlocker.cpp,408)
No suitable TPM found (0x80004005)
InitializeTpm(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\bitlocker\bitlocker.cpp,1191)
ConfigureKeyProtection( keyMode, pwdMode, pszStartupKeyVolume ), HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\bitlocker\bitlocker.cpp,1396)
pBitLocker->Enable( argInfo.keyMode, argInfo.passwordMode, argInfo.sStartupKeyVolume, argInfo.bWait ), HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\bitlocker\main.cpp,650)
Process completed with exit code 2147500037
!——————————————————————————————–!
Failed to run the action: Enable BitLocker. Unspecified error (Error: 80004005; Source: Windows
Sending status message . . .
Send a task execution status message SMS_TSExecution_ActionFailError
………………………………….
…………………………………..
……………………………………
Task sequence execution failed with error code 80004005

Solution:-

It can happen due to various reasons, in my case it happened because TPM was off from the BIOS. It gets thru the enable TPM task but errors out at activate TPM since TPM did not actually turn on. 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s