Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to manually run windows update without accessing the windows update web site. Could you give me a hand?


share|improve this question
up vote 6 down vote accepted


wuauclt.exe /detectnow
share|improve this answer
thanks for the answer but unfortunately that didn't work. I run that command and nothing happens (no error, no message, just nothing) – StackOverflower Oct 1 '10 at 15:11
There's a script we have run that I think uses this doesn't give any visual feedback unless the updates show up in the system tray. The Windows Update function was designed by idgits, I think...very little feedback. – Bart Silverstrim Oct 1 '10 at 15:13
There's a logfile kept to it's activities but I can't remember where off the top of my head. You'd have to look at the process monitor to se if wuauclt is running, then google for the windows update logfile that will give you feedback. – Bart Silverstrim Oct 1 '10 at 15:14
@Timmy: Are you sure that you have the latest (required) updates installed? They require a new Windows Installer to get updates, you get this via the Windows Update website at first launch. – pauska Oct 1 '10 at 15:16
I know nothing :), it's not my machine. Since it's a client server I won't play with it. I think I could handle it in another way. Thanks man. – StackOverflower Oct 1 '10 at 15:32

Microsoft has a script to search, download, and install Windows Updates from the command line.

share|improve this answer
Absolutely brilliant resource, @Chris S! – Skyhawk Oct 1 '10 at 16:40
great link, I hadn't seen anyone at Microsoft put out sample com MSupdate code – Jim B Oct 1 '10 at 21:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.