AutoUpdate and the Cmd Line Please Help

J

Joe Hardin

Is it possible from a DOS batch file to start auto update on an XP pro
system?

I have searched everywhere and I can't find a command or switches for the
task. I would like to run autoupdate in sequence with XP back and
diskcleanup and then shutdown.

Thanks for all your help,

Joe Hardin
(e-mail address removed)
 
P

PaddyBob

You're right, it is dangerous... LOL

Totally got my system in bits when I tried this... Luckily it was a test
environment...
 
J

Joe Hardin

Are both of you saying it's dangerous in your opinion to apply updates
unattended?

If so, what's the difference in using the GUI Autoupdate interface and
scheduling such, compared to firing off the update procedure using the
command line, if it's possible. I still haven't found a method to manually
start it from the cmd line.

Or, are you questioning the wisdom of cleaning the disk and backing it up at
shutdown?

Thanks,

Joe
 
T

Torgeir Bakken \(MVP\)

Joe said:
If so, what's the difference in using the GUI Autoupdate
interface and scheduling such, compared to firing off the
update procedure using the command line, if it's possible.
I still haven't found a method to manually start it from
the cmd line.
Hi

There is no ready command line tool available for this. But if you
create a VBScript (see links provided in the post by Ramesh), you
can start it with this command line:

cscript.exe "C:\My Scripts\WUA_SearchDownloadInstall.vbs"
 
J

Joe Hardin

Thanks for your input on the matter.

However, I would like to know your opinion on doing updates this way. You
won't hurt my feelings, I'm just thinking of how to minimize the energized
time at night for a computer.

Thanks,

Joe
 
K

Kelly

Hi Joe,
Are both of you saying it's dangerous in your opinion to apply updates
unattended?

Depends on the updates. Driver updates for example can wreck a system. Why
not select your own updates and don't depend on Windows to do it for you?
That is what I call dangerous.

--
All the Best,
Kelly (MS-MVP)

Troubleshooting Windows XP
http://www.kellys-korner-xp.com
 
T

Torgeir Bakken \(MVP\)

Joe said:
Thanks for your input on the matter.

However, I would like to know your opinion on doing updates
this way. You won't hurt my feelings, I'm just thinking of
how to minimize the energized time at night for a computer.
Hi

Personally, I don't use Automatic Updates (AU), I like to evaluate
the updates before installing the ones I see fit.

For people that doesn't feel they have the competence to evaluate what
updates is really needed, I would recommend to use AU (as long as it
doesn't download driver updates, but that I don't think AU does).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top