finalizing

This commit is contained in:
Michael H.G. Schmidt 2021-03-31 09:21:52 +02:00
parent fcf540d765
commit cd55ca11eb
2 changed files with 8 additions and 3 deletions

View File

@ -2,9 +2,9 @@
echo ####### %0 #######
echo disabling quick access ...
echo enabling quick access ...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" ^
/v "HubMode" /t REG_DWORD /d 1 /f 1>nul
/v "HubMode" /t REG_DWORD /d 0 /f 1>nul
echo disabling network icon ...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\NonEnum" ^

View File

@ -156,6 +156,10 @@ echo adding home folder to explorer navigation pane ...
reg add "HKEY_CURRENT_USER\Software\Classes\CLSID\{59031a47-3f72-44a7-89c5-5595fe6b30ee}" ^
/v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d 1 /f 1>nul
echo make explorer show ThisPC on top ...
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" ^
/v "LaunchTo" /t REG_DWORD /d 1 /f 1>nul
echo restarting explorer ...
taskkill /f /im explorer.exe 2>nul
rem sleep 2 seconds ...
@ -236,9 +240,10 @@ rd /S /Q %USERPROFILE%\Links 2>nul
echo Searches ...
rd /S /Q %USERPROFILE%\Searches 2>nul
echo recent files ...
echo Recent files and libraries ...
del /F /Q %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\* 2>nul
del /F /Q %APPDATA%\Microsoft\Windows\Recent\* 2>nul
del /F /Q %APPDATA%\Microsoft\Windows\Libraries\* 2>nul
echo.
echo starting workstation service ...