farag2
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
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 |
|
|
|