Pushing reg key as TrustedInstaller?

BatchPatch Forums Home Forums BatchPatch Support Forum Pushing reg key as TrustedInstaller?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14210
    ExhaustedTech
    Participant

    I’m guessing the answer is not but I figured it’s worth a shot since I’m struggling to do this via Powershell.
    I have a reg key that I need to modify but its current owner is TrustedInstaller and doesn’t allow modification. We’re currently logging in and changing the owner manually, then the key. I tried pushing it out via BP with different deployment options (system, elevated, etc) to see if I could get around it that way but couldn’t do it so far.
    Is there a way to do this with BP?

    #14211
    doug
    Moderator

    This is not a topic that I’m familiar with, but what I would suggest is figure out what the command line or script syntax is to change the ownership. I would expect that a local admin would have the permission to change the ownership, so you just need the command/script/syntax to make that change via command line instead of via regedit. Then once you have a script/command that you can run locally to make the change, you can then push that out from BP so that the change-ownership script/command runs first, and then the modify the reg value part runs second.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.