script for autoupdating win10


  1. Posts : 1
    win10 and ubuntu 20
       #1

    script for autoupdating win10


    Winversion 20H2 (build SO 19042.1202)


    Hello,
    I am looking for a script ( command) for update a Win10 machine like I can do on an Ubuntu system.
    There I use a line like this :
    "sudo apt-get update && sudo -y apt-get dist-upgrade && -y sudo apt-get autoremove && sudo shutdown -h now" .
    Can anyone suggest something that does the same in Win10?
    Regards
      My Computer


  2. Posts : 41,412
    windows 10 professional version 1607 build 14393.969 64 bit
       #2

    I'm not able to compare to Ubuntu but can provide a link to use command line for Windows:

    wuauclt.exe /updatenow

    How to run Windows Updates from Command Line in Windows 10
      My Computer


  3. Posts : 580
    Windows 10 Home
       #3

    jomajo said:
    Winversion 20H2 (build SO 19042.1202)
    Hello,
    I am looking for a script ( command) for update a Win10 machine like I can do on an Ubuntu system.
    There I use a line like this :
    "sudo apt-get update && sudo -y apt-get dist-upgrade && -y sudo apt-get autoremove && sudo shutdown -h now" .
    Can anyone suggest something that does the same in Win10?
    Regards
    If you are new to Windows 10, please be advised that it updates itself automatically in the background. Press the Windows and "i" keys simultaneously and click "Update and Security" to see the current status. If you really want to scan manually from the command line, see

    Automatic Updates Client Windows 10/2016 - USOCLIENT | wuauclt.info

    Ben
      My Computer


 

  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 18:47.
Find Us




Windows 10 Forums