Update windows11.ps1

This commit is contained in:
simeononsecurity
2022-08-23 12:55:54 +00:00
committed by GitHub
parent 9972dd2f38
commit c9de49a0dd

View File

@ -156,6 +156,10 @@ Start-Job -Name "Configuring Windows - Optimizations, Debloating, and Hardening"
# iwr -useb 'https://simeononsecurity.ch/scripts/sosautomatesysmon.ps1'|iex # 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. #Fix high performance timers to get better performance from Windows 10.
bcdedit /deletevalue useplatformclock bcdedit /deletevalue useplatformclock
bcdedit /set useplatformclock false bcdedit /set useplatformclock false