w10install/scripts/modify-explorer.cmd

23 lines
844 B
Batchfile
Raw Normal View History

2021-03-06 15:10:45 +01:00
@echo off
echo ####### %0 #######
2021-03-31 00:22:47 +02:00
echo disabling quick access ...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" ^
/v "HubMode" /t REG_DWORD /d 1 /f 1>nul
2021-03-30 22:38:15 +02:00
echo disabling network icon ...
2021-03-06 15:10:45 +01:00
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\NonEnum" ^
/v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /t REG_DWORD /d 1 /f 1>nul
2021-03-30 23:24:39 +02:00
echo removing 3d Objects ...
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f 1>nul
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f 1>nul
2021-03-06 15:10:45 +01:00
echo restarting explorer ...
taskkill /f /im explorer.exe 1>nul 2>nul
start explorer.exe
echo ####### %0 #######
2021-03-31 00:22:47 +02:00