From e4c4438654882b2c4c31fa0a51676db79901dac2 Mon Sep 17 00:00:00 2001 From: simeononsecurity <4913771+simeononsecurity@users.noreply.github.com> Date: Tue, 23 Aug 2022 12:56:10 +0000 Subject: [PATCH] Update windows10.ps1 --- windows10.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows10.ps1 b/windows10.ps1 index da6c79a..c1e0a7b 100644 --- a/windows10.ps1 +++ b/windows10.ps1 @@ -144,6 +144,10 @@ Start-Job -Name "Configuring Windows - Optimizations, Debloating, and Hardening" #Start-Job -Name "SoS Sysmon" -ScriptBlock { # 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