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


Can Windows Update be run from the command line?

Posted on 2010-11-08
Medium Priority
Last Modified: 2012-05-10
Can Windows Update be run from the command line?



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!
Question by:shivani98
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
LVL 20

Expert Comment

ID: 34082997
Strictly no.. as it uses IE for for a lot of the interaction.

you could try this which does a lot of the stuff via CLI

Expert Comment

ID: 34083035
wuauclt.exe /detectnow /resetauthorization
might work for you

Expert Comment

ID: 34083092
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

LVL 20

Expert Comment

ID: 34083702
Any of these suggestions useful ?

Author Comment

ID: 34091150
Sir basically i want to update my OS Updatation . so is there any command which will update OS Silentely.
LVL 20

Accepted Solution

woolnoir earned 1500 total points
ID: 34091155
the utility i posted ( ) 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.
LVL 47

Expert Comment

by:Donald Stewart
ID: 34096459
A useful way to use the wuinstall along with psexec( 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)

Author Closing Comment

ID: 34109648

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

721 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