Tag Archives: custom scripting

BatchPatch Custom Script Integration – Wait for Service to be Running Before Proceeding to Next Step in Job Queue

In the current version of BatchPatch there is not a built-in job queue method to wait for a particular service to be running on the target host before proceeding to the next step in the queue. However, it’s possible to still accomplish this by integrating a custom script. In a future version we will likely […]

Posted in Blog, General, Tutorials | Also tagged , , | Comments closed

Incorporating Custom Scripts in BatchPatch – Get Local Administrators Group Membership

Let’s have a look at how to incorporate a custom script into BatchPatch. In this case we’ll use BatchPatch to run a script that will retrieve the list of users who are members of the local administrators group on each target computer, and then optionally write it all to a text file. If you would […]

Posted in Blog, General, Tutorials | Also tagged , , , | Comments closed

Deploying a Registry Key / Value to HKEY_CURRENT_USER (HKCU) or All Users in HKEY_USERS (HKU)

A question that comes up periodically is “How can I deploy a registry key or value to the HKEY_CURRENT_USER (HKCU) hive of the registry on a target computer or group of computers?” If you were to follow the tutorial at this link to deploy a .reg file to target computers, you might have unexpected results […]

Posted in Blog, General, Tutorials | Also tagged , , , , , | Comments closed

Advanced Multi-Row Queue Sequence – Contingent Operations with Custom Scripts

Today the goal is to tie together some concepts that I’ve written about in the past in order to demonstrate how you can use the Advanced Multi-Row Queue Sequence to execute certain actions on some hosts with a contingency that something must be true on another host before the additional hosts begin operations. The Plan […]

Posted in Blog, General, Tutorials | Also tagged , , , , | Comments closed

BatchPatch Custom Script Integration – Install Windows Updates Only After Stopping a Specified Service

Today we’re going to look at another example of how you can integrate a custom script into BatchPatch to create an effect that you could not accomplish with the built-in actions alone. The Goal Using a combination of the Job Queue, a Deployment, and a custom script, instruct the target computer(s) to only install Windows […]

Posted in Blog, General, Tutorials | Also tagged , | Comments closed

Advanced Script Integration with BatchPatch

In BatchPatch we’ve tried to integrate numerous features to help an administrator perform his/her duties. However, no matter how much we provide out-of-the-box, there will always be unique situations in every environment, and it might be the case that you want BatchPatch to do something that it doesn’t already do. Of course in these instances […]

Posted in Blog, General, Tutorials | Also tagged , , , , | Comments closed