Push Windows registry file to all

Seems like it should be easy but I am having issues. I entered regset “blahblah” for each line and the job failed. I did notice later that relevance was set to true (guess I missed that when a copied a job and modified it). What am I doing wrong? Thanks for your input

1 Like

I’m afraid I cannot determine what you are talking about.

E.g. Under Action - regset “[HKEY_CLASSES_ROOT\XXXXXX\shell]”

Taking lines from a .reg file and trying to apply like example above.

Thanks for the quick reply!

That’s…not a complete command. I believe you still need a value name and a value on that?

HKEY_CLASSES_ROOT is special as well. It’s a virtual hive made up of both HKCU\Software\Classes and HKLM\Software\Classes , so you maybe better off updating HKLM\Software\Classes directly

As you can tell, I am a beginner. This is the content of the .reg file. Would it not be as simple as creating a job that runs this .reg file? We use an in house app that needs to be updated

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\XXXXXX]
“URL Protocol”=""

[HKEY_CLASSES_ROOT\XXXXXX\DefaultIcon]
@=“XXXXXX.exe,1”

[HKEY_CLASSES_ROOT\XXXXXX\shell]

[HKEY_CLASSES_ROOT\XXXXXX\shell\open]

[HKEY_CLASSES_ROOT\XXXXXX\shell\open\command]
@="“C:\XXXXXX\utilities\XXXXXX\XXXXXX.exe” “%1"”

There are a few different ways to achieve this, but one of the easier perhaps is to leverage the Windows Registry Wizard in BES Support, where you can essentially import an existing .reg file, define some parameters/configurations, and have the wizard create the job/action for you. Here’s a video on its usage in case it helps: https://www.youtube.com/watch?v=urTsHZIIPko

fantastic link, helped tremendously. Thank you!