diff options
author | Peter | 2022-02-17 11:39:39 +0000 |
---|---|---|
committer | Peter | 2022-02-17 11:39:39 +0000 |
commit | 067c061c0fb418ad4d022631e54d0290a1db95aa (patch) | |
tree | 5a4767c07c678ebe910e965e9e5134c562efbe8e | |
parent | bda4fb11334f97be02e29a8700277446a940bada (diff) | |
download | win10-prep-067c061c0fb418ad4d022631e54d0290a1db95aa.tar.gz win10-prep-067c061c0fb418ad4d022631e54d0290a1db95aa.tar.bz2 win10-prep-067c061c0fb418ad4d022631e54d0290a1db95aa.zip |
Add diff file association
-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 977b565..bc49579 100644 --- a/win10-prep.bat +++ b/win10-prep.bat @@ -108,7 +108,7 @@ rem support win32calc if exists if exist %windir%\System32\win32calc.exe reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\calc.exe" /v "Debugger" /t REG_SZ /d "\"%SystemRoot%\System32\win32calc.exe\"" /f if exist %windir%\System32\win32calc.exe reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\calc.exe" /v "Debugger" /t REG_SZ /d "\"%SystemRoot%\System32\win32calc.exe\"" /f rem notepad file associations -for %%x in (cfg conf cpp cue go json md nfo nfo-orig patch php ps1 sh srt toml yml) do reg add "HKCR\.%%x" /ve /t REG_SZ /d "txtfile" /f +for %%x in (cfg conf cpp cue diff go json md nfo nfo-orig patch php ps1 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 DoSvc 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' |