Windows 10: A vbs script intended to check for updates does not work.
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")
It does not work at my end because no updates are shown as available when they are available.
Does it work at your end?
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
Added cmd line arg -update for autostart search updates.
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.
Check for updates in Windows Update shortcut - Create in Windows 10 - Windows 10 Forums
Last edited by Brink; 07 Nov 2016 at 17:38.
Can you explain how to do so in details? I am a computer idiot.
It works. Thanks!
You're most welcome.
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.
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.
- 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; 30 Oct 2016 at 13:40.
"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?
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.
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.
No error message appears.
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 spotlight works when locking the screen from the desktop. but will not show on the lockscreen when booting up.
refreshed system with deleting everything.
sfc detected no problems
dism no problems.
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...
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...
may i know when does windows 10 check for updates?
every days or every boot ?