diff options
author | breadcat | 2020-07-05 19:47:29 +0100 |
---|---|---|
committer | breadcat | 2020-07-05 19:47:29 +0100 |
commit | 13baad73e1acfde6cdc0526d897a1aec577bcd4e (patch) | |
tree | af7bcedf6d9968c80d41775244eb007900644011 /win10-prep.bat | |
parent | 2b25fc16eb9d8484673873cdd1de6224792b75c9 (diff) | |
download | win10-prep-13baad73e1acfde6cdc0526d897a1aec577bcd4e.tar.gz win10-prep-13baad73e1acfde6cdc0526d897a1aec577bcd4e.tar.bz2 win10-prep-13baad73e1acfde6cdc0526d897a1aec577bcd4e.zip |
Disable a couple more services
Diffstat (limited to 'win10-prep.bat')
-rw-r--r-- | win10-prep.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win10-prep.bat b/win10-prep.bat index 436ff5b..17d1b35 100644 --- 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 |