Kaseya Community

Procedure to suspend bitlocker pre-patch and resume bitlocker post-patch?

This question is answered

Hello all,

I have written the .bat scripts to both suspend and resume bitlocker.

See below:

" Manage-bde.exe -protectors -enable c: "

" Manage-bde.exe -protectors -disable c: "

Now I am trying to figure out how to attach them to the patch deployment process in the Pre/Post Procedure Module.

Any ideas?

Thanks,

Chris

Verified Answer
  • I actually ended up figuring it out.

    Here is my full Agent Procedure if anyone else runs into this problem.

    impersonateUser("Administrator", "***", "DOMAIN", "All Operating Systems", "Continue on Fail")

    executeShellCommand("\\SERVER\SHARE\Script.BAT", "Execute as User in 64-bit shell", All Operating Systems", "Continue on Fail")

    The thing that needed to be changed was the "Execute as User" to "Execute as User in 64-bit shell" and it worked like a charm.

All Replies
  • I actually ended up figuring it out.

    Here is my full Agent Procedure if anyone else runs into this problem.

    impersonateUser("Administrator", "***", "DOMAIN", "All Operating Systems", "Continue on Fail")

    executeShellCommand("\\SERVER\SHARE\Script.BAT", "Execute as User in 64-bit shell", All Operating Systems", "Continue on Fail")

    The thing that needed to be changed was the "Execute as User" to "Execute as User in 64-bit shell" and it worked like a charm.