Skip to content

Configuring BitLocker in Intune - Part 2. Automating Encryption

Featured Replies

23 minutes ago, anyweb said:

hi Bob,

I based my version of the script on the end user being a local admin, if you need the non-admin version I can supply that also

Yes that would be fantastic, much appreciated.

  • Replies 56
  • Views 55.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

Posted Images

Hi Niall

Just a quick update, received Event ID error 11311 - Could not find source file - Cab1.cab.

I will troubleshoot further but thought I'd mention in case there's something obvious.

Thanks

Bob

  • 2 weeks later...

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?
 

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.

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.