Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: run window update from command line?

18 Jun 2012   #1

Win7 Starter 32 bits
 
 
run window update from command line?

can Window Update be ran from command line?

My System SpecsSystem Spec
.

19 Jun 2012   #2

Windows 7 Pro x64 SP1
 
 

yes, you can run it from the command line

%windir%\system32\wuapp.exe startmenu

works but it brings up the gui

Rich
My System SpecsSystem Spec
19 Jun 2012   #3

Win7 Starter 32 bits
 
 

run window update from command line?-win.update.png

my win 7 update is set up like this.
do you know how my win 7 gets update notice?

Quote   Quote: Originally Posted by richnrockville View Post
yes, you can run it from the command line

%windir%\system32\wuapp.exe startmenu

works but it brings up the gui

Rich


My System SpecsSystem Spec
.


20 Jun 2012   #4

Windows 7 Pro x64 SP1
 
 

"my win 7 update is set up like this.
do you know how my win 7 gets update notice?"

What the update program does is check for updates when you boot your computer. the check for
updaters is most likely in the startup options on your system.

That's why the shield shows on the right side of your status bar when there are updates available.

Rich
My System SpecsSystem Spec
20 Jun 2012   #5

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

The screen you posted and RichnRockville described affects automatic updates. You can run Windows Update manually at any time to see if you're up-to-date.
My System SpecsSystem Spec
20 Jun 2012   #6

Windows 7 Home Premium 32bit
 
 
Windows update script

Here is a useful script to download and install Windows updates just from the command line:

Searching, Downloading, and Installing Updates (Windows)

Copy script to notepad and save it to WUA_SearchDownloadInstall.vbs.
Open a command prompt and type CSCRIPT WUA_SearchDownloadInstall.vbs
(dont' forget the CSCript command).
My System SpecsSystem Spec
21 Jun 2012   #7

Win7 Starter 32 bits
 
 

i typed this command in command prompt, but this did not work.

run window update from command line?-win-update-command-prompt.png

and
i clicked this file name in doc. lib.,
"searching for update..." showed up in command prompt.

run window update from command line?-win-update.script.png


Quote   Quote: Originally Posted by pjhutch View Post
Here is a useful script to download and install Windows updates just from the command line:

Searching, Downloading, and Installing Updates (Windows)

Copy script to notepad and save it to WUA_SearchDownloadInstall.vbs.
Open a command prompt and type CSCRIPT WUA_SearchDownloadInstall.vbs
(dont' forget the CSCript command).


My System SpecsSystem Spec
21 Jun 2012   #8

Windows 7 Home Premium 32bit
 
 
running the script

You did not change directory to where the script was.

cd c:\Users\<your userid>\Documents
dir
cscript WUA_SearchDownloadInstall.vbs


My System SpecsSystem Spec
24 Jun 2012   #9

Win7 Starter 32 bits
 
 

how do u change directory?

Quote   Quote: Originally Posted by pjhutch View Post
You did not change directory to where the script was.

cd c:\Users\<your userid>\Documents
dir
cscript WUA_SearchDownloadInstall.vbs


My System SpecsSystem Spec
25 Jun 2012   #10

Windows 7 Home Premium 32bit
 
 
Change dir

You run the CD command to change directory to where the script is saved to. To change drive just type C:, to change directory enter CD and then the path
e.g.
CD c:\Users\<your userid>\Documents
My System SpecsSystem Spec
Reply

 run window update from command line?




Thread Tools



Similar help and support threads for2: run window update from command line?
Thread Forum
UAC bug with runas from command line? General Discussion
Windows Update by Command Line Windows Updates & Activation
Stop Command Line Window Message From Closing General Discussion
is there a command line to force to check up for update Windows Updates & Activation
How to run a command line utility? General Discussion
Command Line General Discussion
Can you boot from the command line? Chillout Room

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 01:09 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33