diff options
author | breadcat | 2020-07-05 21:35:21 +0100 |
---|---|---|
committer | breadcat | 2020-07-05 21:35:21 +0100 |
commit | 9b94f83fbfac9bcd2a524df5c745e2296968891e (patch) | |
tree | 6086e58351f70af9123331f2d6320a5f1128776e /win10-prep.bat | |
parent | 3cb95a0b74abf0ccc3555919434b164885d69bf7 (diff) | |
download | win10-prep-9b94f83fbfac9bcd2a524df5c745e2296968891e.tar.gz win10-prep-9b94f83fbfac9bcd2a524df5c745e2296968891e.tar.bz2 win10-prep-9b94f83fbfac9bcd2a524df5c745e2296968891e.zip |
Open powershell scripts with notepad
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 00713e2..117c3fb 100644 --- a/win10-prep.bat +++ b/win10-prep.bat @@ -114,7 +114,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 sh srt toml yml) do reg add "HKCR\.%%x" /ve /t REG_SZ /d "txtfile" /f +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 rem disable various services 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' |