Can Windows Update be run from the command line?

Can Windows Update be run from the command line?

--------------------------------------------------------------------------------

Hello,

I have Genuine to question to ask all the people who updates their windows Online,I will be very straight to the question,Can we run the Windows update through Command line.

I hope this possible but not confirm about it and even though it is possible then person who knows in an out of the command line can update through the command line?

So,please provide your suggestion friends!

Thanks in Advance!
shivani98Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
woolnoirConnect With a Mentor Commented:
the utility i posted (  http://www.wuinstall.com/ ) can be used as part of a login or logoff screen to do the updates silently and without user interruption.

Or you can use the windows software update service (WSUS) which does it in the background, but not from the command line.
0
 
woolnoirCommented:
Strictly no.. as it uses IE for for a lot of the interaction.

you could try this http://www.wuinstall.com/ which does a lot of the stuff via CLI
0
 
SlouzerCommented:
wuauclt.exe /detectnow /resetauthorization
might work for you
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
woolnoirCommented:
Any of these suggestions useful ?
0
 
shivani98Author Commented:
Sir basically i want to update my OS Updatation . so is there any command which will update OS Silentely.
Thanks
Shiva
0
 
DonNetwork AdministratorCommented:
A useful way to use the wuinstall along with psexec(http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx) would be like so:


psexec \\* -c -f -s -d \\server\share\wuinstall.exe /install <<<"*" is a wildcard for whole domain

psexec @c:\computers.txt -c -f -s -d \\server\share\wuinstall.exe /install<<<would be a way to run on all non-servers(Computers.txt would have this list one per line)
0
 
shivani98Author Commented:
yes
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.