News, Product Information, and Tips
Check out our free utlities in the downloads section

Remote Administration



Remote Administration For Windows. Easy remote access of Windows 7, XP, 2008, 2000, and Vista Computers

Click here to find out more

Create Outlook Profiles



No more setup wizards in Outlook. Setup Outlook Profiles automatically from the command line

Click here to find out more

Network Administrator



Reboot Hundreds of computers, disable flash drives, deploy power managements settings.

Click here to get your free copy of Network Administrator. Over 25 plugins to make your life easier

USB Disabler



Disable Flash Drives for specific users, or only allow specific drives.

Click here for your free trial

Search

Archives

Force install of security patches – Across your network

Post image for Force install of security patches – Across your network

by Steve Wiseman on January 26, 2012 · 5 comments

in Network Administrator,Scripts,Tips

I got a question from Mike this week:

“Hi steve. Hope all is well. I am the IT manager at a small bank in Texas. We have lots of patch management tools…so I am not looking for that. Before an audit I would like to quickly force all of my machines to download and install the latest security patches from MS. Is there any way to force Windows to do this from the command line? And I mean like right now! :) Not next Tuesday. Thanks!”

I came across a script right on Microsoft’s website that can do something close to what you want:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa387102(v=vs.85).aspx

It has a few issues. First, it tries to install all patches. Like the latest version of Internet Explorer, major service packs, and that ridiculous Windows Search 4.0. These require user intervention, and might even break things.

Another issue with the script is that it does not let you know when it failed because the network is down.

We took that script changed it to only include security updates. That way it gets to the core of the issue – getting the latest security patches, without any extra stuff.

With our new version of the script we created a plugin for Network Administrator. This will allow you to remotely install the latest security patches across your network:

Force Automatic Update Across your Network

If the computer already is up to date, it will say: “This computer is up to date”

You can tell it to just download, or download and install. There is even an option to reboot when the install is complete:

The free version allows you to work with three computers at a time. You can get it from our download page:

http://www.intelliadmin.com/index.php/downloads/

What about that script? If you want to do it yourself without Network Administrator, here is the updated version:

http://www.intelliadmin.com/ForceAU.dat

Just rename it to ForceAU.vbs, and call it like this from the command line:

cscript.exe ForceAU.vbs

Once it starts, it will zoom through and install the latest security patches:

The script, and the plugin work with Windows XP, 2003, Windows Vista, Windows 7, and Windows 2008.

It does require administrator access, so if your users have a limited account you will need to either use the task scheduler, group policy, or Network Administrator.

One other thing to note, is that it does not install service packs – So keep that in mind when using the plugin, or the script.

Like this article? Then sign up for my newsletter to get free tips and software sent right to your inbox once a week. Like you, I hate spam – I will never spam, or sell your email address.

Related Articles:

{ 5 comments… read them below or add one }

1 Dave W January 26, 2012 at 1:28 am

Steve,

How in the *hell* did you find those methods in VB Script?

I have the god awful script that launches IE, and has code to check for each different version of IE so it can do the proper clicks and stuff.

I am going to try your script first thing in the morning when I get to the office

2 Steve Wiseman January 26, 2012 at 1:30 am

Hi there Dave. I spent a lot longer on this script that I originally thought, and I had some help too :) Indeed it was not easy to find the Category option that allows the script to skip the service packs, IE upgrades, and that Windows Search 4.0…especially since this solution works with other language versions of Windows

3 Jimmy January 26, 2012 at 6:10 pm

Steve,

What a great tool. Thanks for this

4 Mr Hot Dog January 27, 2012 at 12:35 pm

Hi Steve,

I purchased Network Administrator a while back. How do I install this latest plugin?

5 Steve Wiseman January 27, 2012 at 12:43 pm

Hello,

If you already have a previous version…simply make sure it is not running, and install the latest from here:

http://www.intelliadmin.com/NetworkAdministrator.exe

It will automatically install the new plugins.

This is true for the free, and paid versions.

Leave a Comment

Category Links - Windows Forum - Exchange Forum