jnelsoninjax Posted December 4, 2022 Share Posted December 4, 2022 (edited) 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. Link to comment Share on other sites More sharing options...
Dick Montage Posted December 4, 2022 Share Posted December 4, 2022 A bit more info would help. Like, who is applying a policy? Is it a work laptop that is centrally managed? Gerowen and Yonah 2 Share Link to comment Share on other sites More sharing options...
jnelsoninjax Posted December 5, 2022 Author Share Posted December 5, 2022 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. Link to comment Share on other sites More sharing options...
Gerowen Posted December 5, 2022 Share Posted December 5, 2022 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. binaryzero and Yonah 2 Share Link to comment Share on other sites More sharing options...
Dick Montage Posted December 7, 2022 Share Posted December 7, 2022 On 05/12/2022 at 02:26, jnelsoninjax said: I did use O&O Shut up to change a few things There's your problem! It's not a clean install anymore. Gerowen, +Warwagon and Jim K 3 Share Link to comment Share on other sites More sharing options...
binaryzero Posted December 7, 2022 Share Posted December 7, 2022 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. Yonah and Good Bot, Bad Bot 2 Share Link to comment Share on other sites More sharing options...
Sensi Posted December 7, 2022 Share Posted December 7, 2022 Press win + r then type services.msc, scroll to the bottom, locate Windows Update and change to automatic. Should solve your problem. +Warwagon 1 Share Link to comment Share on other sites More sharing options...
jnelsoninjax Posted December 7, 2022 Author Share Posted December 7, 2022 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. Link to comment Share on other sites More sharing options...
binaryzero Posted December 8, 2022 Share Posted December 8, 2022 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. Link to comment Share on other sites More sharing options...
jnelsoninjax Posted December 8, 2022 Author Share Posted December 8, 2022 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 Link to comment Share on other sites More sharing options...
binaryzero Posted December 8, 2022 Share Posted December 8, 2022 Errr remove the " " Link to comment Share on other sites More sharing options...
jnelsoninjax Posted December 8, 2022 Author Share Posted December 8, 2022 (edited) 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 December 8, 2022 by jnelsoninjax Link to comment Share on other sites More sharing options...
binaryzero Posted December 8, 2022 Share Posted December 8, 2022 Set-ExecutionPolicy Unrestricted spikey_richie and jnelsoninjax 2 Share Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now