How do I enable automatic windows updates?


Recommended Posts

I have googled this phrase and tried the options it outlines, but the setting I need is simply not there. It does seem to indicate that a policy may be enabled that disables it, but I have looked briefly through the group policy editor and since I am not 100% certain what I am looking for, nothing stands out as being the specific policy. Most specifically I wish to automate the Windows Security updates, which seem to happen around twice a day or so.

On 04/12/2022 at 18:10, Dick Montage said:

A bit more info would help.  Like, who is applying a policy?  Is it a work laptop that is centrally managed?

Not a work laptop, it is a clean install of the OS. I did use O&O Shut up to change a few things, but I've not done anything involving group policies.

On 04/12/2022 at 21:26, jnelsoninjax said:

Not a work laptop, it is a clean install of the OS. I did use O&O Shut up to change a few things, but I've not done anything involving group policies.

A lot of those applications that do things like that use group policy and registry edits to accomplish the task.

  • Like 2
On 06/12/2022 at 20:54, binaryzero said:

Defender will install the definitions automatically, you don't need to keep checking Windows update multiple times a day...

Otherwise you can do it via script (PowerShell), and a scheduled task.

The problem is that it doesn't update on its on, it pops up telling me there are updates, but doesn't install automatically.

1. Open PowerShell (Admin).

2. Run - "Install-Module PSWindowsUpdate". Accept untrusted repos, if you want to add the repo to the trusted list, go for it. Once installed, close PowerShell Window.

3. Open new PowerShell (Admin) window, run "Get-WindowsUpdate -Install -IgnoreReboot -Confirm:$false -Verbose".

4. Optional: Open PowerShell ISE, paste "Get-WindowsUpdate -Install -IgnoreReboot -Confirm:$false -Verbose", save as .ps1. Add to scheduled task.

 

On 07/12/2022 at 19:45, binaryzero said:

1. Open PowerShell (Admin).

2. Run - "Install-Module PSWindowsUpdate". Accept untrusted repos, if you want to add the repo to the trusted list, go for it. Once installed, close PowerShell Window.

3. Open new PowerShell (Admin) window, run "Get-WindowsUpdate -Install -IgnoreReboot -Confirm:$false -Verbose".

4. Optional: Open PowerShell ISE, paste "Get-WindowsUpdate -Install -IgnoreReboot -Confirm:$false -Verbose", save as .ps1. Add to scheduled task.

 

That did not do anything, no error messages, just as soon as I pasted the command and hit enter it simply displayed the command again

Capture.PNG.72afa76c82a58d9db945f678e1f15b1f.PNG

On 07/12/2022 at 20:12, binaryzero said:

Errr remove the " "

Oops! I tried to copy the script without the " " but I wasn't looking that closely!

OK, I got to the second script Get-WindowsUpdate -Install -IgnoreReboot -Confirm:$false -Verbose and I get an error saying that scripts can not run on this system.

Edited by jnelsoninjax

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • "...a low price of just $340..." I don't think it means what you think it means.
    • This Corsair Vengeance DDR5-6000 32GB RAM with RGB is a great deal for limited time by Sayan Sen Memory prices have been through the roof for a while, though it seems like things might finally be getting better. If you are in the market for one, then grab this Corsair Vengeance DDR5 32GB (2x16GB) DDR5 6000 CL36 kit with RGB for a low price of just $340 (purchase link under the specs table down below). The kit is compatible with both AMD and Intel systems as it supports both EXPO and XMP overclocking profiles, respectively. 6000 MT/s is often the sweet spot for many systems as it provides ample data transfer speed while still being on Gear 1 mode. This Vengeance variant has RGB so if you love bright setups with such lighting, this is a win-win for you. The technical specifications of the Corsair Vengeance memory kit are given in the table below: Specification Value Memory Type DDR5 Memory Size (Total) 32GB Kit Configuration 2 × 16GB Form Factor UDIMM (Desktop) Pin Count 288-pin Speed (Data Rate) 6000 MT/s Speed Rating PC5-48000 Tested CAS Latency 38-44-44-96 Voltage (Tested) 1.35V Performance Profile AMD EXPO & Intel XMP Heat Spreader Aluminum heatspreader Cooling Type Passive (Heatsink) Lighting Ten Zone RGB Software Support Corsair iCUE Get it at the link below: CORSAIR Vengeance RGB DDR5 32GB (2 x 16GB) 6000 CL38 – Gray (CMH32GX5M1E6000Z38): $339.99 (Sold and Shipped by Woot US, Fulfilled by Amazon US) This Woot deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • The very fact that a TPM (v2.0 specifically which is part of the issue I suspect) is now a baseline for any supported Windows installation will naturally mean other vendors will start to leverage it as they know it'll be there. It's called progress, and it's always been the way. A TPM isn't a windows thing, it's just a module designed to securely store keys. Secure boot isn't a Windows thing (although MS are the TCA as I recall hence the upheaval this year as the 2011 certs expire), it's just a way to verify a bootloader is signed. Windows simply leverages them.
    • It's a local account with the ability to reset a password at a very base level. I really don't get the issue that gets whipped up around it But you do you
  • Recent Achievements

    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      479
    2. 2
      PsYcHoKiLLa
      244
    3. 3
      Steven P.
      72
    4. 4
      +Edouard
      66
    5. 5
      Skyfrog
      65
  • Tell a friend

    Love Neowin? Tell a friend!