From c9de49a0ddac2889ea6a1c2d038c4a459a03706a Mon Sep 17 00:00:00 2001 From: simeononsecurity <4913771+simeononsecurity@users.noreply.github.com> Date: Tue, 23 Aug 2022 12:55:54 +0000 Subject: [PATCH] Update windows11.ps1 --- windows11.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows11.ps1 b/windows11.ps1 index 4ef25ee..83cfc49 100644 --- a/windows11.ps1 +++ b/windows11.ps1 @@ -156,6 +156,10 @@ Start-Job -Name "Configuring Windows - Optimizations, Debloating, and Hardening" # iwr -useb 'https://simeononsecurity.ch/scripts/sosautomatesysmon.ps1'|iex #} + #Allow Windows behinc a WSUS Server to auto repair itself + #Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS) + Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Servicing" -Name "RepairContentServerSource" -Type "DWORD" -Value "2" -Force + #Fix high performance timers to get better performance from Windows 10. bcdedit /deletevalue useplatformclock bcdedit /set useplatformclock false