From 83851b5df6ee7674320847d2b4cef9ad43b95d9d Mon Sep 17 00:00:00 2001 From: farag2 Date: Wed, 9 Jan 2019 22:27:19 +0300 Subject: [PATCH] Update Win 10.ps1 --- Win 10.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Win 10.ps1 b/Win 10.ps1 index 56eb1d74..14bf6d92 100644 --- a/Win 10.ps1 +++ b/Win 10.ps1 @@ -464,13 +464,13 @@ IF (!(Test-Path HKCU:\Software\Policies\Microsoft\Windows\CloudContent)) } New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\CloudContent -Name DisableWindowsSpotlightFeatures -Value 1 -Force # Добавить в исключение Защитник Windows папку -Add-MpPreference -ExclusionPath D:\Программы\Прочее -Force +Add-MpPreference -ExclusionPath D:\folder -Force # Отключить справку по F1 IF (!(Test-Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) { New-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force } -New-ItemProperty -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(Default)" -Type String -Value "" -Force +New-ItemProperty -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -Type String -Value "" -Force # Раскрыть окно Диспетчера задач $taskmgr = Get-Process Taskmgr -ErrorAction SilentlyContinue IF ($taskmgr)