Update windows10.ps1

This commit is contained in:
simeononsecurity
2022-08-23 12:56:10 +00:00
committed by GitHub
parent c9de49a0dd
commit e4c4438654

View File

@ -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