Tag Archives: advanced 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

Copy a File to All User Profile Directories on Target Computers

We recently received a request for help with using BatchPatch to copy a Microsoft Outlook signature file to the appropriate user profile directory on numerous target computers. BatchPatch already has a built-in function for copying files from the BatchPatch computer to a specified directory on target computers, but a problem arises when trying to copy […]

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

Install Windows Updates Only If Sufficient Space Is Detected On Target C: Drive – Custom Scripting in BatchPatch

Today I’m going to demonstrate an ‘advanced’ concept in BatchPatch. We will use a combination of features, including the Job Queue, the Deployment feature, and bit of custom scripting to achieve the desired effect. The goal here is to illustrate how you can use BatchPatch to accomplish something that might not be directly built-in to […]

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