win10-prep

Batch script to tweak Windows 10 to a more usable form
Log | Files | Refs

commit 13baad73e1acfde6cdc0526d897a1aec577bcd4e
parent 2b25fc16eb9d8484673873cdd1de6224792b75c9
Author: breadcat <peter@minskio.co.uk>
Date:   Sun,  5 Jul 2020 19:47:29 +0100

Disable a couple more services

Diffstat:
Mwin10-prep.bat | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/win10-prep.bat b/win10-prep.bat @@ -116,7 +116,7 @@ if exist %windir%\System32\win32calc.exe reg add "HKLM\SOFTWARE\Microsoft\Window rem notepad file associations for %%x in (cfg conf cpp cue go json md nfo nfo-orig patch php sh srt toml yml) do reg add "HKCR\.%%x" /ve /t REG_SZ /d "txtfile" /f rem disable various services -for %%x in (AppMgmt CscService DiagTrack dmwappushservice HomeGroupListener HomeGroupProvider PcaSvc RemoteRegistry SCardSvr SCPolicySvc Spooler WebClient wercplsupport WerSvc WSearch) do reg add "HKLM\SYSTEM\CurrentControlSet\Services\%%x" /v "Start" /t REG_DWORD /d "4" /f +for %%x in (AppMgmt CscService DiagTrack dmwappushservice DusmSvc HomeGroupListener HomeGroupProvider lfsvc PcaSvc ProtectedStorage RemoteRegistry SCardSvr SCPolicySvc seclogon Spooler WebClient wercplsupport WerSvc WMPNetworkSvc wscsvc WSearch) do reg add "HKLM\SYSTEM\CurrentControlSet\Services\%%x" /v "Start" /t REG_DWORD /d "4" /f rem attempt to disable some online search 'features' reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d "0" /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /ve /t REG_SZ /d "" /f