Scripting Question

Setting a registry key after patching process

06/19/2014 2044 views

We are using virtual computers and we want to automatically update the master images. To do so we are using WSUS and KACE. Everything is working just fine except for it being not automated. I imagine automation to look somewhat like this:

1. Master image gets booted
2. KACE Agent is manually started to check for patches
3. KACE sets a registry key that it is done patching
4. A script in the background checks each 5mins if the registry key is set
5. WSUS kicks in and patches all the Microsoft stuff.

The only thing that doesn't work yet is step 3. Is there a way to set a registry key after patching a system? Or would you recommend a different approach for the solution we are trying to implement?

Thanks in advance!
0 Comments   [ + ] Show comments


All Answers

Any other ideas?
Answered 06/25/2014 by: ystauffer
Yellow Belt

Patching is never done, it is a on going thing.  Better off doing the WSUS updates as soon as it comes out of imaging and install the kace agent at that time and it will patch itself according to the patching schedule.  You can look at the patching reports or any of the latest patches you are deploying and use that to see what machines are and are not patched.
Answered 06/19/2014 by: SMal.tmcc
Red Belt

  • Thank you for your answer. I know that patching is an ongoing thing and that it needs to be done over and over again. Our system doesn't allow us to keep the master images running because they need to be turned off so that the client computers can be created through them. This way we only have to patch a handful of computers instead of 120.
    So whenever we turn the master images on we want them to update / patch their system automatically.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ