Browse Source

Update Win 10.ps1

pull/3/head
farag2 5 years ago
committed by GitHub
parent
commit
2ddd72ff27
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Win 10.ps1

3
Win 10.ps1

@ -931,4 +931,7 @@ IF ((Test-Path -Path $env:SystemRoot\Temp))
}
# Показывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name RestartNotificationsAllowed2 -Value 1 -Force
# Включить патч Retpoline против Spectre v2 ###
New-ItemProperty -Path "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" -Name FeatureSettingsOverride -Value 1024 -Force
New-ItemProperty -Path "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" -Name FeatureSettingsOverrideMask -Value 1024 -Force
Stop-Process -ProcessName explorer

Loading…
Cancel
Save