Page 1 of 2 12 LastLast

  1. Join Date : Mar 2016
    Posts : 156
    Windows 10 Home
       4 Weeks Ago #1

    A vbs script intended to check for updates does not work.


    The following vbs script was copied from this page.

    Set automaticUpdates = CreateObject("Microsoft.Update.AutoUpdate")
    automaticUpdates.DetectNow()

    It does not work at my end because no updates are shown as available when they are available.
    Does it work at your end?
      My System SpecsSystem Spec


  2. Join Date : Jan 2015
    UK, Midlands
    Posts : 6,188
    Win 10 Pro (1607)
       4 Weeks Ago #2

    Hi, can't comment on that, but a possibility if you want to launch windows update from a command line is this portable tool:
    Download Windows Update MiniTool - MajorGeeks

    Noted comment:
    Added cmd line arg -update for autostart search updates.
      My System SpecsSystem Spec


  3. Join Date : Oct 2013
    Posts : 16,429
    64-bit Windows 10 Pro build 14971
       4 Weeks Ago #3

    Hello Matthew,

    If you like, the Windows Update context menu below includes an item to "Check for updates".

    Windows Update Settings context menu - Add in Windows 10

    It uses the command below that you could also use to create a "Check for updates" shortcut if you like.

    explorer ms-settings:windowsupdate-action

    Check for updates in Windows Update shortcut - Create in Windows 10 - Windows 10 Forums
    Last edited by Brink; 3 Weeks Ago at 17:38.
      My System SpecsSystem Spec


  4. Join Date : Mar 2016
    Posts : 156
    Windows 10 Home
       4 Weeks Ago #4

    dalchina said: View Post
    Added cmd line arg -update for autostart search updates.
    Can you explain how to do so in details? I am a computer idiot.

    Brink said: View Post
    explorer ms-settings:windowsupdate-action
    It works. Thanks!
      My System SpecsSystem Spec


  5. Join Date : Oct 2013
    Posts : 16,429
    64-bit Windows 10 Pro build 14971
       4 Weeks Ago #5

    You're most welcome.
      My System SpecsSystem Spec


  6. Join Date : Mar 2016
    Posts : 156
    Windows 10 Home
       4 Weeks Ago #6

    I want it to automatically check for updates in the background and notify me only when an update is available to download.
    Can MiniTool do so? What is the command line? Please explain in detail.
      My System SpecsSystem Spec


  7. Join Date : Jan 2015
    UK, Midlands
    Posts : 6,188
    Win 10 Pro (1607)
       4 Weeks Ago #7

    I can only point you to it and say that that's what the change log says was added. Others have had success with the tool in general, sometimes when Windows update itself wasn't working. Having read your post, I thought of that tool and wondered if it had a command line option. Apparently so, beyond that you would need to read up on it - I've not used it myself.

    wumt_x64.exe -update
    - launches the program + scans for updates - I can't tell you if it applies a Windows update as I have none pending.

    I also had a quick look at commands that used to work, but a superficial attempt found nothing that did from a command prompt. I would expect there is sthg.
    Last edited by dalchina; 4 Weeks Ago at 13:40.
      My System SpecsSystem Spec


  8. Join Date : Mar 2016
    Posts : 156
    Windows 10 Home
       4 Weeks Ago #8

    "D:\Matthew's folder\wumt_x64.exe -update"

    I ran the above command in a .bat file, but it did not work. What's wrong?
      My System SpecsSystem Spec


  9. Join Date : Jan 2015
    UK, Midlands
    Posts : 6,188
    Win 10 Pro (1607)
       4 Weeks Ago #9

    wumt_64.exe has to be in your programs path to be run like that. I.e. windows has to 'find' it.
    Or, you specify the exact path yourself.
    You can find suitable locations by typing echo %path% at a command prompt.
    I can only guess why it didn't work for you as you haven't said what error message if any you got.

    But this only scans for Windows updates- it doesn't apply them as far as I can tell.
    It's certainly an interesting program.
      My System SpecsSystem Spec


  10. Join Date : Mar 2016
    Posts : 156
    Windows 10 Home
       4 Weeks Ago #10

    dalchina said: View Post
    wumt_64.exe has to be in your programs path to be run like that. I.e. windows has to 'find' it.
    wumt_64.exe is actually in this folder D:\Matthew's folder\
    It starts if the command is "D:\Matthew's folder\wumt_x64.exe"
    A prompt window disappears as soon as it appears if the command is "D:\Matthew's folder\wumt_x64.exe -update" And nothing else happens.
    dalchina said: View Post
    I can only guess why it didn't work for you as you haven't said what error message if any you got.
    No error message appears.
      My System SpecsSystem Spec


 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Check for updates only during system idle?
Is there a way to program Windows to do this? The checking for updates (not to speak of actually downloading and installing them) can really slow down work on the computer.
Windows Updates and Activation
windows spotlight not working as intended?
windows spotlight works when locking the screen from the desktop. but will not show on the lockscreen when booting up. steps taking. refreshed system with deleting everything. sfc detected no problems dism no problems.
Customization
PC Shutdown script does not work
Hi, I was used to run a script "at 20:30 shutdown -s" in Run.exe to shutdown my laptop at specific time in Windows 7, but in W10, it does not work. I tried to run this script in cmd.exe as administrator, but it does not work eather, because in...
Software and Apps
Check for Updates is missing
Hopefully somebody can point me in the right direction. I've been working with a handful of Windows 10 boxes through the various releases of the tech preview to clean installs using RTM media and I've had a recurring problem. Normally, to get...
Windows Updates and Activation
may i know when does w10 check for updates?
Hi may i know when does windows 10 check for updates? every days or every boot ? thanks
Windows Updates and Activation
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:42.
Find Us
Twitter Facebook Google+



Windows 10 Forums