From fd67107dd7a969a8ae1fc193d321f2907754ce5b Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Tue, 27 Sep 2022 22:45:32 +0200 Subject: [PATCH] Edge re-appears #60 --- scripts/autoconfig-all.cmd | 4 ++++ scripts/unpin-taskbar-icons.cmd | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 scripts/unpin-taskbar-icons.cmd diff --git a/scripts/autoconfig-all.cmd b/scripts/autoconfig-all.cmd index 965fbb6..076b303 100644 --- a/scripts/autoconfig-all.cmd +++ b/scripts/autoconfig-all.cmd @@ -209,6 +209,10 @@ rem ... stupid os problem #3 call cleanup-programlist.cmd echo. +rem ... stupid os problem #4 +call unpin-taskbar-icons.cmd +echo. + rem ... remove stupid public folders call cleanup-publicdir.cmd diff --git a/scripts/unpin-taskbar-icons.cmd b/scripts/unpin-taskbar-icons.cmd new file mode 100644 index 0000000..cfbc381 --- /dev/null +++ b/scripts/unpin-taskbar-icons.cmd @@ -0,0 +1,11 @@ +@echo off + +echo ####### %0 ####### + +echo removing all applications from taskbar ... +del /F /S /Q /A "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*" +reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband /F +taskkill /f /im explorer.exe +start explorer.exe + +echo ####### %0 #######