11 Replies Latest reply on Mar 25, 2015 9:31 AM by Sae Park

    How do I run a powershell script as NT AUTHORITY\SYSTEM or BUILTIN\Administrators?

    Sae Park

      Hi,

      I am in the process of creating BL job to manage some of the certificates in the Windows environment that basically executes a powershell script.

      When I try to assign a permission to a cert, I get permission denied because the cert is owned by BUILTIN\Administrators with access to NT AUTHORITY\SYSTEM and BUILTIN\Administrators.

      But BL runs as BladelogicRSCD account and it executes powershell script as that user.

       

      Is there any way, without having access to administrator password or getting annoying credential window, to run a powershell script as NT AUTHORITY\SYSTEM or BUILTIN\Administrators?

       

      I've searched Google and found a few articles suggesting use of psexec, but it is not allowed in our environment =(

       

      Any help would be greatly appreciated.

      Thanks!