No announcement yet.

adding batch file to runonce via psexec/Hyena

  • Filter
  • Time
  • Show
Clear All
new posts

  • adding batch file to runonce via psexec/Hyena

    Want to push a batchfile via Hyena into the runonce reg item so when the system reboots it will execute the batchfile

  • #2
    You should be able to create a Custom Tool for this. You'll need to set the registry key the way you want on your computer, then export out that key to a .reg file. You'll also need to get a copy of psexec from here:

    In Hyena go to Tools->Custom Tools->Tool Settings, click New and enter a Caption Name of something like Update Registry. I believe this will work for the Command Line:

    cmd /c psexec \\%E% reg import \\server\regkeys\data.reg

    Click OK to add that tool, then to run it select a couple of test computers in the right-hand window then right-click and choose Tools->Update Registry.


    • #3
      Thanks alot, I appreciate the detail on the response