Thursday, December 13, 2012

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. 


No comments:

Post a Comment

Azure Policy support for remediating tags for existing resources

Use Azure policy to remediate tags for existing resources. https://azure.microsoft.com/en-us/updates/azure-provides-at-scale-tags-managem...