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

    • SpaceX has secured a significant cloud-services deal with Google, agreeing to a monthly payment of $920 million for computing power.  This agreement, covers approximately 110,000 NVIDIA GPUs and other components.... https://cio.economictimes.indiatimes.com/news/investments/google-to-buy-computing-from-spacex-at-920-million-per-month/131543026    
    • no thanks is overpriced and its not the fastest ram neither.
    • It is, but it also has a bad performance reputation even on high-end gaming PCs. Some people say it's the engine's fault, others say it's the games developers' fault, who knows... At the end of the day, for the average gamer, the take is this: PC game with Unreal Engine 5? Be affraid and cross your fingers, it's a 50/50 chance.
    • 25th anniversary Xbox Series X unveiled with classic translucent green design by Pulasthi Ariyasinghe The Xbox Games Showcase had a new Xbox console reveal from Microsoft celebrating the gaming brand turning 25 years old. This is to be a new limited edition Xbox Series X and controller collection that draws on the design of the rare green version of the original Xbox console. The "XBOX Series X25 Limited Edition" is coming out later this year with its matching controller. "Inspired by the look and feel of the original XBOX console, both the console and controller feature a translucent OG Green design, with subtle tributes to the journey we’ve been on together," said Microsoft in the announcement. The Xbox Series X|S line has received several new variants over the years, but this will be the first edition with a translucent design. The Xbox Series X25 will have one terabyte of internal storage and a green light on the X to signify the console lines' history. There is a 25th anniversary logo printed on the front plate. Microsoft is also teasing that the community will be able to find "a few hidden surprises throughout" the machine as well. As for the new X25 Special Edition Xbox controller, this is also coming with the classic translucent green design for its front and back plates. "From the original ABXY colors, to the timeless green, every detail calls back to the beginning, including the bumpers honoring the original black and white buttons on the original “Duke” controller," says the company about this release. "The back case and battery door are fully transparent, revealing the classic XBOX logo." The XBOX 25th anniversary collection, containing both the translucent console and controller, will be available for purchase in November 2026 as a limited-edition release. Microsoft will be offering the new XBOX Wireless Controller X25 Special Edition separately as well. Pricing details and pre-order information will be coming later.
  • 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
      243
    3. 3
      Steven P.
      72
    4. 4
      +Edouard
      66
    5. 5
      FloatingFatMan
      65
  • Tell a friend

    Love Neowin? Tell a friend!