Skip to content

Problems to enable TPM Chip/Bitlocker with Lenovo

Featured Replies

Hi guys,

i have problems to enable Bitlocker in my Task Sequence. I use Lenovo devices T410, T420 and T430. I made some tests and the result is:

If i open a cmd windows in the tasksequence and run the command manual, browse to the location of the script on SCCM “Cscript.exe SetConfig.vbs SecurityChip Active” it works fine and the chip is enabled

 

Setconfig.vbs

'
' Set specific BIOS Setting
'
On Error Resume Next
Dim colItems

If WScript.Arguments.Count <> 2 Then
WScript.Echo "SetConfig.vbs [setting] [value]"
WScript.Quit
End If

strRequest = WScript.Arguments(0) + "," + WScript.Arguments(1) + ";"

strComputer = "LOCALHOST" ' Change as needed.
Set objWMIService = GetObject("WinMgmts:" _
&"{ImpersonationLevel=Impersonate}!\\" & strComputer & "\root\wmi")
Set colItems = objWMIService.ExecQuery("Select * from Lenovo_SetBiosSetting")

For Each objItem in colItems
ObjItem.SetBiosSetting strRequest, strReturn
Next

WScript.Echo strRequest
WScript.Echo " SetBiosSetting: " + strReturn

If strReturn <> "Success" Then
WScript.Quit
End If

Set colItems = objWMIService.ExecQuery("Select * from Lenovo_SaveBiosSettings")

strReturn = "error"
For Each objItem in colItems
ObjItem.SaveBiosSettings ";", strReturn
Next

WScript.Echo strRequest
WScript.Echo " SaveBiosSettings: " + strReturn


Than i create a softwarepackage “Bitlocker aktivierung” with Source Folder \\Server\Share\Locationofvbs and the following programs “Bitlocker aktivierung"

 

” Commandline setconfig.vbs

post-20287-0-38748200-1369315400_thumb.jpg
post-20287-0-82532100-1369315400_thumb.jpg

Than I edit my TaskSequence, add a Run Command Line step:

Cscript.exe SetConfig.vbs SecurityChip Active and I enable Packages and choose my “Enable bitlocker” package.

post-20287-0-50731500-1369315257_thumb.jpg

 

Than I deploy it, but it don't work:
I get the error message at step activate security chip:

Task Sequence has failed with the error code (0x80041017). For more informations, contact....

 

 

Any ideas? Many thanks in advance for your ideas

 

Cheers,
Steffen

 

 

 

post-20287-0-50731500-1369315257_thumb.jpg

post-20287-0-38748200-1369315400_thumb.jpg

post-20287-0-82532100-1369315400_thumb.jpg

Try the following syntax

 

cscript SetConfig.vbs SecurityChip Active BIOSPASSWORD,ascii,us

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.