Bob Chana Posted December 28, 2017 Report post Posted December 28, 2017 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. Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted December 28, 2017 Report post Posted December 28, 2017 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 cheers niall Quote Share this post Link to post Share on other sites More sharing options...
Bob Chana Posted December 28, 2017 Report post Posted December 28, 2017 Many thanks Niall. Quote Share this post Link to post Share on other sites More sharing options...
Bob Chana Posted December 28, 2017 Report post Posted December 28, 2017 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 Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted December 28, 2017 Report post Posted December 28, 2017 i'll look into it... Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted December 28, 2017 Report post Posted December 28, 2017 ok i've modified the msi again please re-download it and let me know Quote Share this post Link to post Share on other sites More sharing options...
Bob Chana Posted December 28, 2017 Report post Posted December 28, 2017 Installed successfully, many thanks! 1 Quote Share this post Link to post Share on other sites More sharing options...
nielsvd Posted January 11, 2018 Report post Posted January 11, 2018 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? Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted January 11, 2018 Report post Posted January 11, 2018 hi Nielsvd I created two msi's did you use the user based msi ? Quote Share this post Link to post Share on other sites More sharing options...
nielsvd Posted January 11, 2018 Report post Posted January 11, 2018 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. Quote Share this post Link to post Share on other sites More sharing options...