Jump to content


Configuring BitLocker in Intune - Part 2. Automating Encryption

Recommended Posts

ok here's the USER version of the msi with my 3 edited scripts added, i've not tested it, that's up to you so go ahead and test it and if I need to fix something let me know,

Download the User version of the MSI here: TriggerBitlockerUser.msi



Share this post

Link to post
Share on other sites

Hello Niall,

Thanks for the script. Installation with Intune works great.

I'm using the script in the USER context, deployed a machine with AutoPilot with a non-admin user.

The task in Tak Scheduler however runs in the Users context, which fails. When I adjust to run in the SYSTEM context the task runs succesfully and Bitlocker is enabled. Can you make an adjustment ro run the script in the right context? Or am I missing something?

Share this post

Link to post
Share on other sites

Hi Niall,

yes I did! Here are the steps I took.

- MSI gets deployed and installed without an issue
- Scheduled Tasks are created
-  I adjusted install time manually using an Admin account
- At time of installation the log file shows an Exception Message: Access Denied message.

I see that the Scheduled task is executed in the USERS context, is that correct?
When I change to SYSTEM, the task is successfully being executed.

Share this post

Link to post
Share on other sites

Join the conversation

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

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.