From cd55ca11eb4fa6c037249be0a6f80fd0e41889b7 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Wed, 31 Mar 2021 09:21:52 +0200 Subject: [PATCH] finalizing --- scripts/modify-explorer.cmd | 4 ++-- tools/logon.cmd | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/scripts/modify-explorer.cmd b/scripts/modify-explorer.cmd index 3cecb12..d327270 100644 --- a/scripts/modify-explorer.cmd +++ b/scripts/modify-explorer.cmd @@ -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" ^ diff --git a/tools/logon.cmd b/tools/logon.cmd index 0b99133..eeeaaba 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -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 ...