ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Updating Windows from the Command Line

    IT Discussion
    windows server 2012 r2 windows server 2012 windows 8 windows 8.1 windows updates sam windows administration
    7
    16
    2.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      scottalanmiller
      last edited by

      Keeping a system up to date is very important and doing so from the command line can be one of the easiest ways to do this on Windows.

      Updating a Windows system, server or desktop, can be as simple as running this command as an administrator:

      wuauclt.exe /detectnow /updatenow
      

      If you only want to look for the latest updates without applying them, you can just run:

      wuauclt.exe /detectnow
      
      L N 2 Replies Last reply Reply Quote 4
      • L
        Lakshmana @scottalanmiller
        last edited by

        @scottalanmiller I tried this command in Windows 10 no reply

        S 1 Reply Last reply Reply Quote 0
        • S
          scottalanmiller @Lakshmana
          last edited by

          @Lakshmana said in Updating Windows from the Command Line:

          @scottalanmiller I tried this command in Windows 10 no reply

          It should be silent.

          T 1 Reply Last reply Reply Quote 3
          • T
            thwr @scottalanmiller
            last edited by

            @scottalanmiller @Lakshmana Absolutely silent. No output at all. There are other ways to monitor the actual behavior (Windows event log, WSUS, ...)

            1 Reply Last reply Reply Quote 0
            • I
              IRJ
              last edited by

              It would be a nightmare to do this on a medium to large size network without WSUS control. It is a good command for updating a pc here or there.

              T 1 Reply Last reply Reply Quote 2
              • T
                thwr @IRJ
                last edited by thwr

                @IRJ said in Updating Windows from the Command Line:

                It would be a nightmare to do this on a medium to large size network without WSUS control. It is a good command for updating a pc here or there.

                You will most probably have some means of deploying updates in larger environments, like WSUS or something bigger like SCCM.

                I 1 Reply Last reply Reply Quote 1
                • I
                  IRJ @thwr
                  last edited by

                  @thwr said in Updating Windows from the Command Line:

                  @IRJ said in Updating Windows from the Command Line:

                  It would be a nightmare to do this on a medium to large size network without WSUS control. It is a good command for updating a pc here or there.

                  You will most probably have some means of deploying updates in larger environments, like WSUS or something bigger like SCCM.

                  Yeah sir. I was just adding that comment in case a rookie admin sees this post and tries to send the command out to the whole network.

                  T 2 Replies Last reply Reply Quote 1
                  • T
                    thwr @IRJ
                    last edited by

                    @IRJ said in Updating Windows from the Command Line:

                    @thwr said in Updating Windows from the Command Line:

                    @IRJ said in Updating Windows from the Command Line:

                    It would be a nightmare to do this on a medium to large size network without WSUS control. It is a good command for updating a pc here or there.

                    You will most probably have some means of deploying updates in larger environments, like WSUS or something bigger like SCCM.

                    Yeah sir. I was just adding that comment in case a rookie admin sees this post and tries to send the command out to the whole network.

                    🙂

                    1 Reply Last reply Reply Quote 0
                    • S
                      scottalanmiller
                      last edited by

                      It's just for those cases where you need to push the updates before getting started with something 🙂

                      I 1 Reply Last reply Reply Quote 1
                      • I
                        IRJ @scottalanmiller
                        last edited by IRJ

                        @scottalanmiller said in Updating Windows from the Command Line:

                        It's just for those cases where you need to push the updates before getting started with something 🙂

                        I dont want to see a thread saying I pushed this out to 500 PCs in the middle of the day and my network is toast....lol

                        😂

                        1 Reply Last reply Reply Quote 2
                        • T
                          thwr @IRJ
                          last edited by thwr

                          @IRJ said in Updating Windows from the Command Line:

                          @thwr said in Updating Windows from the Command Line:

                          @IRJ said in Updating Windows from the Command Line:

                          It would be a nightmare to do this on a medium to large size network without WSUS control. It is a good command for updating a pc here or there.

                          You will most probably have some means of deploying updates in larger environments, like WSUS or something bigger like SCCM.

                          Yeah sir. I was just adding that comment in case a rookie admin sees this post and tries to send the command out to the whole network.

                          You mean like

                          Invoke-Command -ComputerName (Get-ADComputer -filter * | Select -Expand Name) -Script { wuactl.... }
                          

                          (DON'T TRY THIS AT HOME WORK)

                          1 Reply Last reply Reply Quote 3
                          • T
                            thwr
                            last edited by

                            http://www.toodarkpark.org/computers/humor/shoot-self-in-foot.html

                            1 Reply Last reply Reply Quote 3
                            • S
                              StrongBad
                              last edited by

                              A little network traffic is good for keeping users on their toes. Remind them that you are doing things.

                              1 Reply Last reply Reply Quote 2
                              • A
                                alex.olynyk
                                last edited by

                                its nice to see the windows administration tag, good stuff coming in

                                S 1 Reply Last reply Reply Quote 2
                                • S
                                  scottalanmiller @alex.olynyk
                                  last edited by

                                  @alex.olynyk said in Updating Windows from the Command Line:

                                  its nice to see the windows administration tag, good stuff coming in

                                  No official page yet, but getting some little nuggets ready as I am working towards some stuff. 😉

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    nadnerB @scottalanmiller
                                    last edited by nadnerB

                                    @scottalanmiller said in Updating Windows from the Command Line:

                                    Keeping a system up to date is very important and doing so from the command line can be one of the easiest ways to do this on Windows.

                                    Updating a Windows system, server or desktop, can be as simple as running this command as an administrator:

                                    wuauclt.exe /detectnow /updatenow
                                    

                                    If you only want to look for the latest updates without applying them, you can just run:

                                    wuauclt.exe /detectnow
                                    

                                    Also:
                                    wuauclt.exe /a /detectnow

                                    (/ResetAuthorization)

                                    http://ss64.com/nt/wuauclt.html

                                    1 Reply Last reply Reply Quote 2
                                    • 1 / 1
                                    • First post
                                      Last post