Using CMD script and VBScript to control Windows Update  

Page 5 of 7 FirstFirst ... 34567 LastLast
  1. Paul Black's Avatar
    Posts : 12,150
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #40

    Homer712 said:
    @Paul Black The script you posted does in fact sort by date, which I think would be the desired output.
    I am glad that it worked for you.
      My Computer

  2. Homer712's Avatar
    Posts : 129
    Windows 10, 1909 (OS Build 18363.1379 )
       #41

    @Matthew Wai, ran into my first issue this afternoon. I've been checking for updates the past couple of days and no updates were ever found. Ran the WD Signature update check and those were found and installed. No problem there. But this afternoon there was an update found and of course the small window "Do you want to run Windows Update MiniTool" came up. I clicked yes and waited . . . and waited. Nothing. So I thought it might have been that I ran the update via the cmd window script below.

    cscript.exe "C:\WinUpdate Scripts\Check_for_updates.vbs"
    pause

    So I then just double-clicked on the "Check_for_updates.vbs." Same small window "Do you want to run Windows Update MiniTool" came up, and I again clicked yes and waited . . . and waited. Again, nothing.

    Using CMD script and VBScript to control Windows Update-image_96.png
    This is the text from the "Updates_found.txt" file that was created: Update for Microsoft Defender Antivirus antimalware platform - KB4052623 (Version 4.18.2103.3)

    After WUMT not launching twice, I just double clicked on it in and installed the update above as well as a WD Signature update that was found as well.

    Using CMD script and VBScript to control Windows Update-image_97.png
      My Computer


  3. Posts : 2
    Windows 10
       #42

    Hi Matthew and Brink,

    Test the script and I'm having a problem using Windows 10 20H2, here's the link for more info

    matthew script error.mp4 on Vimeo

    Last edited by Brink; 1 Week Ago at 17:10. Reason: embedded video
      My Computer

  4. Homer712's Avatar
    Posts : 129
    Windows 10, 1909 (OS Build 18363.1379 )
       #43

    @Brink, don't know about this post. Joined today, only one post, and that with a "link" to a video. As Elmer Fudd use to say . . . "Be berry, berry careful."
      My Computer

  5. Brink's Avatar
    Posts : 56,207
    64-bit Windows 10 Pro for Workstations build 21354
       #44

    Homer712 said:
    @Brink, don't know about this post. Joined today, only one post, and that with a "link" to a video. As Elmer Fudd use to say . . . "Be berry, berry careful."
    Hello Homer,

    It's fine. It's just a video hosting service you can link to.
      My Computers


  6. Posts : 2
    Windows 10
       #45

    Hi brink,

    I just put a link to the vimeo, because don't read all the rules for the forum and also to avoid people downloading or maybe has a video attached, I prefer to link to vimeo. Hope to see a solution for the problem I got with this script.
      My Computer

  7. Matthew Wai's Avatar
    Posts : 5,006
    Windows 10 Home 20H2
    Thread Starter
       #46

    lenkaringames said:
    Hope to see a solution for the problem I got with this script.
    The solution has just been put into the following updated version:

    Click here to download "Matthew's preference.zip"

    Run "Disable hijackers.cmd" and the problem should not recur.
    Thanks for reporting the problem!
      My Computer

  8. Matthew Wai's Avatar
    Posts : 5,006
    Windows 10 Home 20H2
    Thread Starter
       #47

    Homer712 said:
    the small window "Do you want to run Windows Update MiniTool" came up. I clicked yes and waited . . . and waited. Nothing.
    Nothing will happen unless you have run "Import Scheduled Task.cmd" as I already told you before.
    When you click on "Yes" in the dialog box, the script will run the following file only if it exists.

    %ProgramData%\TenForums.com\Windows_Update\Windows Update MiniTool.exe

    "Import Scheduled Task.cmd" will copy WUMT from the "bin" folder into the above location.
    After importing the tasks, you may disable them anytime if you don't like them.
    The "WDD_Updates" task will automatically install the following in the background:

    Homer712 said:
    WD Signature update

    Homer712 said:
    This is the text from the "Updates_found.txt" file that was created: Update for Microsoft Defender Antivirus antimalware platform - KB4052623 (Version 4.18.2103.3)
    Your version is absent from the following list:


    https://www.catalog.update.microsoft...px?q=KB4052623
    Last edited by Matthew Wai; 1 Week Ago at 02:09.
      My Computer

  9. Homer712's Avatar
    Posts : 129
    Windows 10, 1909 (OS Build 18363.1379 )
       #48

    Matthew, thank you again for the explanation. Didn't fully understand that the "Import Scheduled Task.cmd" did a bit more than just set up the tasks. I downloaded the revised version you just posted above, ran the "Disable hijackers.cmd" and selected "yes" to the import of the tasks. Checked in the /ProgramData location and the files are there in the TenForums.com/Windows_Update folder.

    Should be good to go, thanks again.
      My Computer


  10. Posts : 24
    Windows 10 Pro 64-bit 2004 All up updated
       #49

    Thanks for the script however after running MoUsoCoreWorker.exe still running/preventing sleep after update KB5000842 and service stacking 10.0.19041.903

    UPDATE: After checking after rebooting it was still running but I just checked again and MoUsoCoreWorker.exe has stopped now. THANKS AGAIN!
      My Computer


 
Page 5 of 7 FirstFirst ... 34567 LastLast

Tutorial Categories

Using CMD script and VBScript to control Windows Update Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
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 23:45.
Find Us




Windows 10 Forums