run window update from command line?

Page 1 of 2 12 LastLast

  1. Posts : 275
    Win7 Starter 32 bits
       #1

    run window update from command line?


    can Window Update be ran from command line?
      My Computer


  2. Posts : 1,800
    Windows 7 Pro x64 SP1
       #2

    yes, you can run it from the command line

    %windir%\system32\wuapp.exe startmenu

    works but it brings up the gui

    Rich
      My Computer


  3. Posts : 275
    Win7 Starter 32 bits
    Thread Starter
       #3

    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?

    richnrockville said:
    yes, you can run it from the command line

    %windir%\system32\wuapp.exe startmenu

    works but it brings up the gui

    Rich
      My Computer


  4. Posts : 1,800
    Windows 7 Pro x64 SP1
       #4

    "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 Computer


  5. Posts : 6,458
    x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
       #5

    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 Computer


  6. Posts : 103
    Windows 7 Home Premium 32bit
       #6

    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 Computer


  7. Posts : 275
    Win7 Starter 32 bits
    Thread Starter
       #7

    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


    pjhutch said:
    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).
    Last edited by fluidmotion; 21 Jun 2012 at 10:18.
      My Computer


  8. Posts : 103
    Windows 7 Home Premium 32bit
       #8

    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 Computer


  9. Posts : 275
    Win7 Starter 32 bits
    Thread Starter
       #9

    how do u change directory?

    pjhutch said:
    You did not change directory to where the script was.

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


      My Computer


  10. Posts : 103
    Windows 7 Home Premium 32bit
       #10

    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 21:37.
Find Us