Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Script to run windows updates until the system is up to date

Posted on 2009-04-07
4
Medium Priority
?
470 Views
Last Modified: 2012-05-06
I am looking for a script I can run on a new formated XP system that will check for windows updates, install them and restart the system, this would run until the system is up to date.  Or I could settle for having a static number of loops like 3 times.

Check for updates
Install Updates
Restart

Is this possible?
0
Comment
Question by:ohmErnie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Accepted Solution

by:
zrobinson earned 1000 total points
ID: 24088963
0
 
LVL 14

Assisted Solution

by:BigBadWolf_000
BigBadWolf_000 earned 1000 total points
ID: 24089331
This is what will work for you...very kool script....ready to use with several optional variables...enjoy

Documentation...
http://www.vbshf.com/vbshf/forum/forums/thread-view.asp?tid=199&start=1
Download (txt rename to vbs)
http://www.vbshf.com/vbshf/forum/forums/get-attachment.asp?attachmentid=345
 
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24171595
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question