Skip to content

Customising Windows 7 deployments - part 5.

Featured Replies

  • 1 month later...
  • Replies 42
  • Views 97.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I couldn't import the XML file either. I could export and re-import one of my existing Task Sequences without a problem though.

  • Hmm. So everything seems to have worked (no errors at all in the log) however the drive icon in explorer has no lock and key and control panel says bitlocker is turned off.   manage-bde -status  

  • Hi Niall, I'd like to import your ts on Windows 2012, can you provide a zip instead of this xml? Note: I tried the xml on a SCCM 2007 but it doesn't show up either ....

Posted Images

I couldn't import the XML file either. I could export and re-import one of my existing Task Sequences without a problem though.

  • Author

i've just tested importing the Task Sequence on a console with SCCM 2007 SP2 R3 and MDT 2010 integrated, worked no problem. I don't have a SCCM console without MDT integration to test with so maybe that's it...

  • 1 month later...

"Note: This task sequence is for enabling Bitlocker in Bare Metal (New Computer) scenarios, I will cover enabling Bitlocker in a Refresh scenario in a later post."

 

Noticed this reference to "Refresh scenario" that is currently causing a client of mines some consternation and wondered if you could share any findings of issues with the TPM/Bitlocker interaction in this setting.

 

Thanks in advance for your consideration of this post.

  • Author

well what issues are you having specifically ? if you think in terms of refresh the only barrier is the encrypted drive, if you unlock the drive and suspend encryption on it then the rest of the refresh is as per normal (hardlinking and so on),

 

the challenge is do you

 

1. disable the encryption in Windows (most people do this prior to rebooting into WinPE and doing the remaining tasks)

2. disable it if found in WinPE - this is where you have to get creative as the task sequence wants to write to the largest available NTFS drive at boot time...

 

we did solve is though with some clever diskpart commands to reassign the drives followed by a reboot.

  • 5 months later...

Hmm. So everything seems to have worked (no errors at all in the log) however the drive icon in explorer has no lock and key and control panel says bitlocker is turned off.

 

manage-bde -status

 

post-10749-0-82118900-1336505441_thumb.jpg

 

I lied...error in the bitlocker.txt file

 

Attempting to enable BitLocker TPM

ERROR - the ProtectKeyWithTPM Method failed with the exit code: 80310030

Script ended 5/8/2012 11:20:24 PM

 

Would leaving the bios password in place cause this?

 

Nevermind, searched a different way and found the error code. Makes sense I still had the sccm bootable media in the drive.

 

FVE_E_BOOTABLE_CDDVD 0x80310030

BitLocker Drive Encryption detected bootable media (CD or DVD) in the computer. Remove the media and restart the computer before configuring BitLocker.

  • 11 months later...

I want to use this method, to enable Bitlocker with TPM and PIN.

The script looks like this:

enablebitlocker.vbs /on:tp /promptuser /l:%temp%\log.log

 

But, offcourse I want to pass the Pin code with a variable, to the script. I'm not able to prompt a user during the task sequence.

 

Is there a workaround for this?

 

Tanks in advance!

  • 5 months later...

SCCM2012 requires the Exported Task Sequence zipped. I've wasn't able to zip the file successfully to import it!

Hi there,

 

Thank you so much for your guides. It has been a very interesting a helpful site.

 

I have a problem Preparing the disk for BitLocker. I am using HP 8440p and have followed other guides on how to enable the TPM modules on the laptops. This task works fine and TPM gets enabled. The part which fails is after when the TS runs the command line "bdehdcfg.exe –target default –quiet", in the logs I get a source unknown error after the command runs. Google has turned up with no results.

 

At the start of the TS, after the Restart in Windows PE, we have a Partition Disk command which creates 2 partitions, one 350MB for System reserve which is bootable and the other for Windows which is not bootable.

 

Here is the rough process which my TS runs

 

Restart in Windows PE

Partition Disk (2 paritiions, system reserve and rest for Windows)

Apply operating System

Apply windows Settings

Apply Network Settings

Setup Windows and Config

Enable TPM Chip (runs a package created in SCCM to use HP BIOs config tool to enable TPM)

Restart (Restarts in the currently installed default operating system)

Prepare Drive for Bitlocker (Runs the command line "bdehdcfg.exe –target default –quiet") check box for Disable 64-bit file system redirection is ticked as we are deploying x64 Win 7

Restart (Restarts in the currently installed default operating system)

Enable Bitlocker

 

Everything is ok except for the one highlighted in red. Just bombs out. I check in TPM Management after it fails and reboots and logs into windows. TPM Status is on and ownership has been taken. So I assume it is all ready to go.

 

What am I missing, why is the command not running successfully. Is it because we already have 2 partitions created earlier in the TS?

 

Hope you can help. Been scratching my head for 3 days :(

 

Cheers!

 

 

 

 

 

ok so I figured it out. I removed the step to partition the drive again and it is now all working. Made sense since the partition has already been created at the start of the TS! doH!

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.