From 88c186f53c23bb4617a51926ea39a357422cebe7 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Fri, 19 Nov 2021 08:50:32 +0200 Subject: [PATCH] Correlated EP defaults with clean Windows install defaults --- ExplorerPatcher/StartMenu.c | 4 ++-- ExplorerPatcher/dllmain.c | 2 +- ExplorerPatcher/settings.reg | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ExplorerPatcher/StartMenu.c b/ExplorerPatcher/StartMenu.c index 76aa2d9..c562fae 100644 --- a/ExplorerPatcher/StartMenu.c +++ b/ExplorerPatcher/StartMenu.c @@ -684,7 +684,7 @@ DWORD GetStartMenuPosition(FARPROC SHRegGetValueFromHKCUHKLMFunc) { DWORD dwSize = sizeof(DWORD); - DWORD dwTaskbarAl = 0; + DWORD dwTaskbarAl = 1; if (!SHRegGetValueFromHKCUHKLMFunc || SHRegGetValueFromHKCUHKLMFunc( TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced"), TEXT("TaskbarAl"), @@ -694,7 +694,7 @@ DWORD GetStartMenuPosition(FARPROC SHRegGetValueFromHKCUHKLMFunc) (LPDWORD)(&dwSize) ) != ERROR_SUCCESS) { - dwTaskbarAl = 0; + dwTaskbarAl = 1; } return dwTaskbarAl; diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 85a549d..a1d088d 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -68,7 +68,7 @@ DWORD bPropertiesInWinX = FALSE; DWORD bNoMenuAccelerator = FALSE; DWORD bTaskbarMonitorOverride = 0; DWORD dwIMEStyle = 0; -DWORD dwTaskbarAl = 0; +DWORD dwTaskbarAl = 1; DWORD bShowUpdateToast = FALSE; DWORD bToolbarSeparators = FALSE; HMODULE hModule = NULL; diff --git a/ExplorerPatcher/settings.reg b/ExplorerPatcher/settings.reg index 56965d8..d0afd4b 100644 --- a/ExplorerPatcher/settings.reg +++ b/ExplorerPatcher/settings.reg @@ -37,10 +37,10 @@ "TaskbarDa"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search] ;b Show Search button -"SearchboxTaskbarMode"=dword:00000000 +"SearchboxTaskbarMode"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ;b Show Task view button -"ShowTaskViewButton"=dword:00000000 +"ShowTaskViewButton"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People] ;b Show People on the taskbar * "TaskbarMn"=dword:00000000