Small script/readme tweaks

This commit is contained in:
Michael Campagnaro 2022-10-27 16:36:07 -04:00
parent 7a7c9c87be
commit 4be87e93b1
3 changed files with 6 additions and 4 deletions

View File

@ -17,6 +17,7 @@ rem https://gist.github.com/xezrunner/a7a42dbc1096a40b0c78f09488fe5a2b
reg query HKLM\SYSTEM\Setup /v DisabledDefenderServices | find "0x1" reg query HKLM\SYSTEM\Setup /v DisabledDefenderServices | find "0x1"
if %errorlevel% == 0 goto already_patched if %errorlevel% == 0 goto already_patched
echo.
echo Please note that Defender can only be disabled in Win10 v2004 and upwards if Tamper Protection is disabled. echo Please note that Defender can only be disabled in Win10 v2004 and upwards if Tamper Protection is disabled.
echo This setting can be found in Window settings (hint: search for 'tamper'). Please do this now and then, echo This setting can be found in Window settings (hint: search for 'tamper'). Please do this now and then,
pause pause
@ -100,7 +101,7 @@ goto eof
:already_patched :already_patched
echo Defender has already been disabled by this script. echo Defender has already been disabled by this script.
echo.
:eof :eof
echo.
pause pause

View File

@ -19,6 +19,7 @@ rem https://docs.microsoft.com/en-us/windows/threat-protection/windows-defender-
rem https://github.com/AndyFul/ConfigureDefender rem https://github.com/AndyFul/ConfigureDefender
rem https://github.com/AndyFul/Hard_Configurator rem https://github.com/AndyFul/Hard_Configurator
echo.
echo Enabling Windows Defender echo Enabling Windows Defender
reg query HKLM\SYSTEM\Setup /v DisabledDefenderServices | find "0x0" reg query HKLM\SYSTEM\Setup /v DisabledDefenderServices | find "0x0"
if %errorlevel% == 0 goto already_patched if %errorlevel% == 0 goto already_patched
@ -101,7 +102,7 @@ goto eof
:already_patched :already_patched
echo Defender has already been enabled by this script. echo Defender has already been enabled by this script.
echo.
:eof :eof
echo.
pause pause

View File

@ -61,7 +61,7 @@
* Disable UAC screen dimming * Disable UAC screen dimming
* Open User Account Control settings * Open User Account Control settings
* Drag the slider down one notch to remove the dimming * Drag the slider down to the notch that doesn't dim the screen.
* Disable remote assistance * Disable remote assistance
@ -74,7 +74,7 @@ processor time and is generally useless.
* **note** If you see an error about a selected task {0} no longer existing then you'll need * **note** If you see an error about a selected task {0} no longer existing then you'll need
to repair the task scheduler. See to repair the task scheduler. See
https://www.thewindowsclub.com/the-selected-task-0-no-longer-exists-error-in-task-scheduler https://www.thewindowsclub.com/the-selected-task-0-no-longer-exists-error-in-task-scheduler
* Go to `Local` -> `Microsoft` -> `Maintenance` and disable the WinSAT task. * Go to `Local\Microsoft\Windows\Maintenance` and disable the WinSAT task.
* Disable the Windows Customer Experience Improvement program via group policy * Disable the Windows Customer Experience Improvement program via group policy
https://web.archive.org/web/20200131202352/https://www.ghacks.net/2016/10/26/turn-off-the-windows-customer-experience-program/ https://web.archive.org/web/20200131202352/https://www.ghacks.net/2016/10/26/turn-off-the-windows-customer-experience-program/