Solved

Can Windows Update be run from the command line?

Posted on 2010-11-08
8
284 Views
Last Modified: 2012-05-10
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!
0
Comment
Question by:shivani98
8 Comments
 
LVL 20

Expert Comment

by:woolnoir
ID: 34082997
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
 
LVL 2

Expert Comment

by:Slouzer
ID: 34083035
wuauclt.exe /detectnow /resetauthorization
might work for you
0
 
LVL 5

Expert Comment

by:sabk
ID: 34083092
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 20

Expert Comment

by:woolnoir
ID: 34083702
Any of these suggestions useful ?
0
 

Author Comment

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

Accepted Solution

by:
woolnoir earned 500 total points
ID: 34091155
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
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 34096459
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
 

Author Closing Comment

by:shivani98
ID: 34109648
yes
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get the height value of a parent form 2 178
memorymap in visual studio 3 65
C Language combined operators 28 109
Third Party On Screen Keyboard, numeric only. 9 56
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++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

786 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