Jump to content


Godlysoup

Deployment successful but no change in registry

Recommended Posts

I've been trying to import a registry key in order to upgrade the bomgar automatic elevation installed on our clients. I've tried regedit.exe /s, reg import, I've tried creating a batch that copies it locally and then runs it, and I've tried New-ItemProperty through a PowerShell script. All exemgr log gives me is an exit 0 code successful. The scripts run fine on their own if I just right-click and run as admin or type it into cmd manually. It' a HKLM registry so it shouldn't require the user at all.

I'm at a loss, any advise would be helpful. 

Thanks,

GS

Share this post


Link to post
Share on other sites

Suggestion:  google "run cmd prompt as system using psexec", and on a test system, get to a cmd prompt as system.  then run your powershell script (or your batch file, etc.)  If that doesn't help you figure out the issue, presuming it doesn't violate any of your practices, if you'd post your posh script here, perhaps one of us could help you add logging to it, or a more verbose exit code if there's an error.

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.