Jump to content
Sign in to follow this  
titewad

MS Windows XP Automatic Updates

Recommended Posts

titewad

I'm writing a script to turn on Windows Automatic Updates for friends/family. No matter how many times I email them with instructions for this and other PC protection measures, they never do it. I'm hoping if I automate it with a script so they just have to click on one thing, they'll do it.

I ran the script, below, on a XP SP2 machine and it works fine, but I don't know if the screen is the same on a plain XP or XP SP1 machine. Does anyone have access to an unpatched XP PC, where they could check?

Also, if anyone has a 98, 98SE, ME or 2000 OS and can check to see if the wuaucpl.cpl is available and if the screen title and button names are the same as those used in XP SP2, I'd appreciate it.

Just reply back with the OS, service pack and any differences in window title or buttons.

Thank you.

CODE

MsgBox(1,"You are running",@OSVersion & " " & @OSServicePack)

Run("control.exe wuaucpl.cpl")

WinWait("Automatic Updates")

ControlClick("Automatic Updates", "", "Button1")

ControlClick("Automatic Updates", "", "Button7")

ControlClick("Automatic Updates", "", "Button5")

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×