mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Mar 28, 2024 17:07:55 GMT -8
demo version of old intl.cpl home location dialog recreation ( .net core 8.0 runtime required to run it , final version will not be depended on .net core 8 runtime ) Demo.zip (74.91 KB) image of demo version , final version UI will be same as original one
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Mar 29, 2024 2:11:59 GMT -8
Home Location Dialog Remake I will release it soon , I have to add all regions , and make some minor improvements
|
|
|
Post by OrthodoxWin32 on Mar 29, 2024 4:22:16 GMT -8
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Mar 29, 2024 12:34:53 GMT -8
Remake of classic Home Location dialog of windows region and clock control panel (intl.cpl)
for some reasons I don't know my Visual Studio 2022 didn't allow me to use .net framework 4.x as target framework and I forced to use .net 8.0 I released two versions of the app one contains all of libraries and working fine as stand alone app and one other depends on .net framework 8.0 and you have to install .net framework 8.0 and it runtime to run the app
Source code and download links :github.com/MehranAkbarii/WindowsHomeLocationRemakeScreenshots:
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Mar 29, 2024 13:21:32 GMT -8
Unrecoverable Control Panels :
important settings : Display Language Settings (part of UserLanguagesCpl.dll which Removed in Windows 10 1809 , we can use Windows 7 Text Services and Input Languages as replacement for add input language feature in Removed Language Settings Control Panel) Set Default Programs (part of sud.dll which Removed in Windows 10 1709-1803)
not important setting : Location Settings (Removed in windows 10)
|
|
|
Post by OrthodoxWin32 on Mar 29, 2024 14:29:15 GMT -8
I just have three comments : - Hiding the PowerShell console would be great, I don't know if it's possible. - Cancel button not working - The buttons are poorly displayed with the classic theme :
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Mar 29, 2024 15:00:36 GMT -8
I just have three comments : - Hiding the PowerShell console would be great, I don't know if it's possible. - Cancel button not working - The buttons are poorly displayed with the classic theme : I will set the values programmatically into Windows Registry in future builds since it needed more coding stuff I skipped it for current build and used power shell command , also I will fix cancel button functionality I will make classic variant of this app and change the button style to look much better in classic themes
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Mar 29, 2024 15:32:20 GMT -8
Home Location v1.0.1-beta released
|
|
|
Post by enderboy on Mar 29, 2024 23:33:19 GMT -8
IF YOUR PROBLEM OR QUESTION IS ALREADY EXPLAINED IN THE README FILES I AM NOT GOING GO ANSWER YOU. READ THE TEXT I PUT THERE BEFORE ASKING QUESTIONS.I started this project like a month ago, seeing Microsoft ruining the good old control panel more and more with every update was what started it. Currently i managed to restore Personalization,Windows Update,Display, Notification Tray icons,Default Apps(only visual,half of the page is broken still),Performance Info and tools and its score that can also redirect you to that page in system CPL. The pages open inside CPL without needing to open in an external window(some applet settings still do that unfortunately).Tested in Every major Windows 10 release(not tested for 11).Some legacy applets may not work depending on the version of Windows 10 you are using(eg 7 intl.cpl works up to 1909,8.X themecpl.dll works up to 1607). Some applets functionalities can't be restored unfortunately but you can still view their pages(eg 7 style usercpl.dll). There is a way to restore links on versions 1507-1809 instead of importing files to shell32.dll.mun you directly import them to shell32.dll but it will require you to break shell32.dll's signature and will force you to disable secure boot and choose "disable driver signature enforcement" every time you boot. It's not very secure so thats why i wouldn't recommend attempting to get links on Windows 10 versions 1507-1809. UPDATED WINDHAWK MOD FOR VERSION 3.2 02/02/2024 This updated mod includes correct Applet Sorting for 7/8.X Restorations. Use this mod instead of the one included in the pack. Thanks again aubymori !
{Spoiler} // ==WindhawkMod== // @id cpl-reborn // @name Control Panel Reborn // @description Finally. // @version 1.1.1 // @author aubymori // @github https://github.com/aubymori // @include explorer.exe // @include control.exe // @include mblctr.exe // @include rundll32.exe // @include DpiScaling.exe // @compilerOptions -lpsapi -lcomctl32 // ==/WindhawkMod==
// ==WindhawkModReadme== /* # Control Panel Reborn Finally. */ // ==/WindhawkModReadme==
#include <psapi.h> #include <windhawk_utils.h>
/** * Custom applet order. * Arrays with less than 14 items need to be filled with NULLs * or else the mod will crash. */ LPCWSTR g_szAppletOrder[][20] = { /* System and Security */ { L"::{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}", // Action Center L"::{4026492F-2F69-46B8-B9BF-5654FC07E423}", // Windows Firewall L"::{BB06C0E4-D293-4f75-8A90-CB05B6477EEE}", // System L"::{36eef7db-88ad-4e81-ad49-0e313f0c35f8}", // Windows Update L"::{025A5937-A6BE-4686-A844-36FE4BEC8B6D}", // Power Options L"::{87D66A43-7B11-4A28-9811-C86EE395ACF7}", // Indexing Options L"::{F6B6E965-E9B2-444B-9286-10C9152EDBC5}", // File History L"::{B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}", // Backup and Restore L"::{D9EF8727-CAC2-4e60-809E-86F80A666C91}", // BitLocker Drive Encryption L"::{F942C606-0914-47AB-BE56-1321B8035096}", // Storage Senses L"::{ECDB0924-4208-451E-8EE0-373C0956DE16}", // Work Folders L"::{BE122A0E-4503-11DA-8BDE-F66BAD1E3F3A}", // Windows Anytime Upgrade / Add features to Windows 8.1 L"::{78F3955E-3B90-4184-BD14-5397C15F1EFC}", // WEI L"::{74246bfc-4c96-11d0-abef-0020af6b0b7a}", // Device Manager L"::{D20EA4E1-3957-11d2-A40B-0C5020524153}", // Administrative Tools NULL, NULL, NULL, NULL, NULL, }, /* Network and Internet */ { L"::{8E908FC9-BECC-40f6-915B-F4CA0E70D03D}", // Network and Sharing Center L"::{67CA7650-96E6-4FDD-BB43-A8E774F73A57}", // HomeGroup L"::{A3DD4F92-658A-410F-84FD-6FBBBEF2FFFE}", // Internet Options L"::{4026492F-2F69-46B8-B9BF-5654FC07E423}", // Windows Firewall L"::{9C73F5E5-7AE7-4E32-A8E8-8D23B85255BF}", // SYNC Center NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, /* Hardware and Sound */ { L"::{2227A280-3AEA-1069-A2DE-08002B30309D}", // Printers L"::{A8A91A66-3A7D-4424-8D24-04E180695C7A}", // Devices and Printers L"::{9C60DE1E-E5FC-40f4-A487-460851A8D915}", // AutoPlay L"::{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}", // Sound L"::{6C8EEC18-8D75-41B2-A177-8831D59D2D50}", // Mouse L"::{025A5937-A6BE-4686-A844-36FE4BEC8B6D}", // Power Options L"::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921}", // Personalization L"::{725BE8F7-668E-4C7B-8F90-46BDB0936430}", // Keyboard L"::{74246bfc-4c96-11d0-abef-0020af6b0b7a}", // Device Manager L"::{40419485-C444-4567-851A-2DD7BFA1684D}", // Phone and Modem L"::{259EF4B1-E6C9-4176-B574-481532C9BCE8}", // Game Controllers L"::{C555438B-3C23-4769-A71F-B6D3D9B6053A}", // Display L"::{5ea4f148-308c-46d7-98a9-49041b1dd468}", // Windows Mobility Center L"::{F82DF8F7-8B9F-442E-A48C-818EA735FF9B}", // Pen and Touch L"::{E9950154-C418-419e-A90A-20C5287AE24B}", // Location Settings L"::{0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}", // Biometric Devices NULL, NULL, NULL, NULL, }, /* Programs */ { L"::{7B81BE6A-CE2B-4676-A29E-EB907A5126C5}", // Programs and Features L"::{17cd9488-1228-4b2f-88ce-4298e93e0966}", // Default Programs L"::{37efd44d-ef8d-41b1-940d-96973a50e9e0}", // Desktop Gadgets L"::{ED7BA470-8E54-465E-825C-99712043E01C}", // GODMODE NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, /* User Accounts and Family Safety */ { L"::{60632754-c523-4b62-b45c-4172da012619}", // User Accounts L"::{96AE8D84-A250-4520-95A5-A47A7E3C548B}", // Parental Controls / Family Safety L"::{78CB147A-98EA-4AA6-B0DF-C8681F69341C}", // Windows CardSpace L"::{1206F5F1-0569-412C-8FEC-3204630DFB70}", // Credential Manager NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, /* Appearance and Personalization */ { L"::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921}", // Personalization L"::{C555438B-3C23-4769-A71F-B6D3D9B6053A}", // Display L"::{37efd44d-ef8d-41b1-940d-96973a50e9e0}", // Desktop Gadgets L"::{0DF44EAA-FF21-4412-828E-260A8728E7F1}", // Taskbar and Start Menu / Taskbar and Navigation L"::{D555645E-D4F8-4c29-A827-D93C859C4F2A}", // Ease of Access Center L"::{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}", // Folder Options L"::{BD84B380-8CA2-1069-AB1D-08000948F534}", // Fonts NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, /* Clock, Language, and Region */ { L"::{E2E7934B-DCE5-43C4-9576-7FE4F75E7480}", // Date and Time L"::{BF782CC9-5A52-4A17-806C-2A894FFEEAC5}", // Language L"::{62d8ed13-c9d0-4ce8-a914-47dd628fb1b0}", // Region and Langauge / Region NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, /* Ease of Access */ { L"::{D555645E-D4F8-4c29-A827-D93C859C4F2A}", // Ease of Access Center L"::{58E3C745-D971-4081-9034-86E34B30836A}", // Speech Recognition NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, };
#define CControlPanelAppletList_HDPA(pThis) *((HDPA *)pThis + 2) #define CControlPanelAppletList_Category(pThis) *((DWORD *)pThis + 32)
/* Map CPL category ID to array index */ int MapCategory(int category) { switch (category) { /* System and Security */ case 5: return 0; /* Network and Internet */ case 3: return 1; /* Hardware and Sound */ case 2: return 2; /* Programs */ case 8: return 3; /* User Accounts and Family Safety */ case 9: return 4; /* Appearance and Personalization */ case 1: return 5; /* Clock, Language, and Region */ case 6: return 6; /* Ease of Access */ case 7: return 7; default: return -1; } }
int FindApplet(LPCWSTR lpszApplet, int category) { for (UINT i = 0; i < ARRAYSIZE(g_szAppletOrder[category]); i++) { if (NULL == g_szAppletOrder[category][i]) { break; }
if (0 == wcsicmp(g_szAppletOrder[category][i], lpszApplet)) { return i; } } return -1; }
int (*CControlPanelAppletList_s_SortAppletsInCategory_orig)(void *, void *, LPARAM); int CControlPanelAppletList_s_SortAppletsInCategory_hook( void *p1, void *p2, LPARAM lParam ) { HDPA hDpa = CControlPanelAppletList_HDPA(lParam); LPVOID pThing1 = DPA_GetPtr(hDpa, *(int *)p1); LPVOID pThing2 = DPA_GetPtr(hDpa, *(int *)p2); int category = MapCategory(CControlPanelAppletList_Category(lParam)); if (category >= 0 && hDpa && pThing1 && pThing2) { LPCWSTR pszApplet1 = (LPCWSTR)((char *)pThing1 + 520); LPCWSTR pszApplet2 = (LPCWSTR)((char *)pThing2 + 520); int iApplet1 = FindApplet(pszApplet1, category); if (iApplet1 < 0) { return 1; } else { int iApplet2 = FindApplet(pszApplet2, category); if (iApplet2 >= 0 && iApplet1 > iApplet2) { return 1; } else { return -1; } } } return 0; }
LPCWSTR g_szAppletsToUnhide[] = { L"::{BF782CC9-5A52-4A17-806C-2A894FFEEAC5}", // Language Settings L"::{ED834ED6-4B5A-4BFE-8F11-A626DCB6A921}", // Personalization L"::{D9EF8727-CAC2-4e60-809E-86F80A666C91}", // BitLocker Drive Encryption L"::{D17D1D6D-CC3F-4815-8FE3-607E7D5D10B3}", // Text to Speech L"::{E95A4861-D57A-4BE1-AD0F-35267E261739}", // Windows SlideShow (?) L"::{96AE8D84-A250-4520-95A5-A47A7E3C548B}", // Family Safety L"::{BB06C0E4-D293-4f75-8A90-CB05B6477EEE}", // System };
LPCWSTR g_szCanonicalNames[] = { L"Microsoft.Display", L"Microsoft.Personalization", L"Microsoft.Language", L"Microsoft.LocationAndOtherSensors", L"Microsoft.LocationSettings", L"Microsoft.WindowsUpdate", L"Microsoft.Troubleshooting", L"Microsoft.DevicesAndPrinters", L"Microsoft.RegionalAndLanguageOptions", L"Microsoft.System", L"::{BB06C0E4-D293-4f75-8A90-CB05B6477EEE}", L"bthprops.cpl" };
void ZeroStringInModule(HMODULE hModule, LPCWSTR lpSearch) { if (!lpSearch) { return; }
MODULEINFO info = { 0 }; GetModuleInformation( GetCurrentProcess(), hModule, &info, sizeof(MODULEINFO) );
DWORD_PTR base = (size_t)info.lpBaseOfDll; size_t size = (size_t)info.SizeOfImage; size_t patternLen = wcslen(lpSearch) * 2;
for (size_t i = 0; i < size - patternLen; i++) { bool found = true;
for (size_t j = 0; j < patternLen; j++) { found = *((char *)lpSearch + j) == *(char *)(base + i + j);
if (!found) { break; } }
if (found) { size_t ptr = base + i; Wh_Log(L"Found L\"%s\"!", lpSearch);
MEMORY_BASIC_INFORMATION mbi; VirtualQuery((wchar_t *)ptr, &mbi, sizeof(MEMORY_BASIC_INFORMATION));
if (!VirtualProtect(mbi.BaseAddress, mbi.RegionSize, PAGE_READWRITE, &mbi.Protect)) { return; }
ZeroMemory((void *)ptr, patternLen);
DWORD dwOldProtect; VirtualProtect(mbi.BaseAddress, mbi.RegionSize, mbi.Protect, &dwOldProtect);
return; } }
Wh_Log(L"Did find not L\"%s\". :(", lpSearch); }
const WindhawkUtils::SYMBOL_HOOK hooks[] = { { { L"private: static int __cdecl CControlPanelAppletList::s_SortAppletsInCategory(int const *,int const *,__int64)" }, &CControlPanelAppletList_s_SortAppletsInCategory_orig, CControlPanelAppletList_s_SortAppletsInCategory_hook, false } };
BOOL Wh_ModInit(void) { HMODULE hShell32 = LoadLibraryW(L"shell32.dll"); if (!hShell32) { Wh_Log(L"Failed to load shell32.dll"); return FALSE; }
for (size_t i = 0; i < ARRAYSIZE(g_szAppletsToUnhide); i++) { ZeroStringInModule( hShell32, g_szAppletsToUnhide[i] ); }
for (size_t i = 0; i < ARRAYSIZE(g_szCanonicalNames); i++) { ZeroStringInModule( hShell32, g_szCanonicalNames[i] ); }
if (!WindhawkUtils::HookSymbols( hShell32, hooks, ARRAYSIZE(hooks) )) { Wh_Log(L"Failed to hook one or more symbol functions"); return FALSE; }
return TRUE; }
VERSION 3.2 25/12/2023Download Here Changelog: -Added a Windhawk mod to stop redirection inside CPL more efficiently(thanks aubymori ) -Added 7 Style Display CPL -Added Biometric Devices CPL -Added Parental Controls(Family Safety) CPL[for decoration only) -Added Cardspace CPL[for decoration only) -Added Language CPL(functional on 10 1803,for decoration on 1809 and newer) -Added a semi accurate program to replicate old taskbar properties dialog,edited by me(original by torto ) -Added my edit of the URI Redirector to stop redirection outside CPL(original by ihatemetro )THREAD UPDATE 9/10/2023Updated the title to avoid confusion. VERSION 1.0 22/8/2023Here is the first version of this pack. If you find something that does not work and not included in any readme file please notify me. Download here How did you get Windows 7 control panel sidebar?
|
|
|
Post by Brawllux on Mar 30, 2024 3:31:19 GMT -8
IF YOUR PROBLEM OR QUESTION IS ALREADY EXPLAINED IN THE README FILES I AM NOT GOING GO ANSWER YOU. READ THE TEXT I PUT THERE BEFORE ASKING QUESTIONS.I started this project like a month ago, seeing Microsoft ruining the good old control panel more and more with every update was what started it. Currently i managed to restore Personalization,Windows Update,Display, Notification Tray icons,Default Apps(only visual,half of the page is broken still),Performance Info and tools and its score that can also redirect you to that page in system CPL. The pages open inside CPL without needing to open in an external window(some applet settings still do that unfortunately).Tested in Every major Windows 10 release(not tested for 11).Some legacy applets may not work depending on the version of Windows 10 you are using(eg 7 intl.cpl works up to 1909,8.X themecpl.dll works up to 1607). Some applets functionalities can't be restored unfortunately but you can still view their pages(eg 7 style usercpl.dll). There is a way to restore links on versions 1507-1809 instead of importing files to shell32.dll.mun you directly import them to shell32.dll but it will require you to break shell32.dll's signature and will force you to disable secure boot and choose "disable driver signature enforcement" every time you boot. It's not very secure so thats why i wouldn't recommend attempting to get links on Windows 10 versions 1507-1809. UPDATED WINDHAWK MOD FOR VERSION 3.2 02/02/2024 This updated mod includes correct Applet Sorting for 7/8.X Restorations. Use this mod instead of the one included in the pack. Thanks again aubymori !
{Spoiler} // ==WindhawkMod== // @id cpl-reborn // @name Control Panel Reborn // @description Finally. // @version 1.1.1 // @author aubymori // @github https://github.com/aubymori // @include explorer.exe // @include control.exe // @include mblctr.exe // @include rundll32.exe // @include DpiScaling.exe // @compilerOptions -lpsapi -lcomctl32 // ==/WindhawkMod==
// ==WindhawkModReadme== /* # Control Panel Reborn Finally. */ // ==/WindhawkModReadme==
#include <psapi.h> #include <windhawk_utils.h>
/** * Custom applet order. * Arrays with less than 14 items need to be filled with NULLs * or else the mod will crash. */ LPCWSTR g_szAppletOrder[][20] = { /* System and Security */ { L"::{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}", // Action Center L"::{4026492F-2F69-46B8-B9BF-5654FC07E423}", // Windows Firewall L"::{BB06C0E4-D293-4f75-8A90-CB05B6477EEE}", // System L"::{36eef7db-88ad-4e81-ad49-0e313f0c35f8}", // Windows Update L"::{025A5937-A6BE-4686-A844-36FE4BEC8B6D}", // Power Options L"::{87D66A43-7B11-4A28-9811-C86EE395ACF7}", // Indexing Options L"::{F6B6E965-E9B2-444B-9286-10C9152EDBC5}", // File History L"::{B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}", // Backup and Restore L"::{D9EF8727-CAC2-4e60-809E-86F80A666C91}", // BitLocker Drive Encryption L"::{F942C606-0914-47AB-BE56-1321B8035096}", // Storage Senses L"::{ECDB0924-4208-451E-8EE0-373C0956DE16}", // Work Folders L"::{BE122A0E-4503-11DA-8BDE-F66BAD1E3F3A}", // Windows Anytime Upgrade / Add features to Windows 8.1 L"::{78F3955E-3B90-4184-BD14-5397C15F1EFC}", // WEI L"::{74246bfc-4c96-11d0-abef-0020af6b0b7a}", // Device Manager L"::{D20EA4E1-3957-11d2-A40B-0C5020524153}", // Administrative Tools NULL, NULL, NULL, NULL, NULL, }, /* Network and Internet */ { L"::{8E908FC9-BECC-40f6-915B-F4CA0E70D03D}", // Network and Sharing Center L"::{67CA7650-96E6-4FDD-BB43-A8E774F73A57}", // HomeGroup L"::{A3DD4F92-658A-410F-84FD-6FBBBEF2FFFE}", // Internet Options L"::{4026492F-2F69-46B8-B9BF-5654FC07E423}", // Windows Firewall L"::{9C73F5E5-7AE7-4E32-A8E8-8D23B85255BF}", // SYNC Center NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, /* Hardware and Sound */ { L"::{2227A280-3AEA-1069-A2DE-08002B30309D}", // Printers L"::{A8A91A66-3A7D-4424-8D24-04E180695C7A}", // Devices and Printers L"::{9C60DE1E-E5FC-40f4-A487-460851A8D915}", // AutoPlay L"::{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}", // Sound L"::{6C8EEC18-8D75-41B2-A177-8831D59D2D50}", // Mouse L"::{025A5937-A6BE-4686-A844-36FE4BEC8B6D}", // Power Options L"::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921}", // Personalization L"::{725BE8F7-668E-4C7B-8F90-46BDB0936430}", // Keyboard L"::{74246bfc-4c96-11d0-abef-0020af6b0b7a}", // Device Manager L"::{40419485-C444-4567-851A-2DD7BFA1684D}", // Phone and Modem L"::{259EF4B1-E6C9-4176-B574-481532C9BCE8}", // Game Controllers L"::{C555438B-3C23-4769-A71F-B6D3D9B6053A}", // Display L"::{5ea4f148-308c-46d7-98a9-49041b1dd468}", // Windows Mobility Center L"::{F82DF8F7-8B9F-442E-A48C-818EA735FF9B}", // Pen and Touch L"::{E9950154-C418-419e-A90A-20C5287AE24B}", // Location Settings L"::{0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}", // Biometric Devices NULL, NULL, NULL, NULL, }, /* Programs */ { L"::{7B81BE6A-CE2B-4676-A29E-EB907A5126C5}", // Programs and Features L"::{17cd9488-1228-4b2f-88ce-4298e93e0966}", // Default Programs L"::{37efd44d-ef8d-41b1-940d-96973a50e9e0}", // Desktop Gadgets L"::{ED7BA470-8E54-465E-825C-99712043E01C}", // GODMODE NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, /* User Accounts and Family Safety */ { L"::{60632754-c523-4b62-b45c-4172da012619}", // User Accounts L"::{96AE8D84-A250-4520-95A5-A47A7E3C548B}", // Parental Controls / Family Safety L"::{78CB147A-98EA-4AA6-B0DF-C8681F69341C}", // Windows CardSpace L"::{1206F5F1-0569-412C-8FEC-3204630DFB70}", // Credential Manager NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, /* Appearance and Personalization */ { L"::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921}", // Personalization L"::{C555438B-3C23-4769-A71F-B6D3D9B6053A}", // Display L"::{37efd44d-ef8d-41b1-940d-96973a50e9e0}", // Desktop Gadgets L"::{0DF44EAA-FF21-4412-828E-260A8728E7F1}", // Taskbar and Start Menu / Taskbar and Navigation L"::{D555645E-D4F8-4c29-A827-D93C859C4F2A}", // Ease of Access Center L"::{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}", // Folder Options L"::{BD84B380-8CA2-1069-AB1D-08000948F534}", // Fonts NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, /* Clock, Language, and Region */ { L"::{E2E7934B-DCE5-43C4-9576-7FE4F75E7480}", // Date and Time L"::{BF782CC9-5A52-4A17-806C-2A894FFEEAC5}", // Language L"::{62d8ed13-c9d0-4ce8-a914-47dd628fb1b0}", // Region and Langauge / Region NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, /* Ease of Access */ { L"::{D555645E-D4F8-4c29-A827-D93C859C4F2A}", // Ease of Access Center L"::{58E3C745-D971-4081-9034-86E34B30836A}", // Speech Recognition NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }, };
#define CControlPanelAppletList_HDPA(pThis) *((HDPA *)pThis + 2) #define CControlPanelAppletList_Category(pThis) *((DWORD *)pThis + 32)
/* Map CPL category ID to array index */ int MapCategory(int category) { switch (category) { /* System and Security */ case 5: return 0; /* Network and Internet */ case 3: return 1; /* Hardware and Sound */ case 2: return 2; /* Programs */ case 8: return 3; /* User Accounts and Family Safety */ case 9: return 4; /* Appearance and Personalization */ case 1: return 5; /* Clock, Language, and Region */ case 6: return 6; /* Ease of Access */ case 7: return 7; default: return -1; } }
int FindApplet(LPCWSTR lpszApplet, int category) { for (UINT i = 0; i < ARRAYSIZE(g_szAppletOrder[category]); i++) { if (NULL == g_szAppletOrder[category][i]) { break; }
if (0 == wcsicmp(g_szAppletOrder[category][i], lpszApplet)) { return i; } } return -1; }
int (*CControlPanelAppletList_s_SortAppletsInCategory_orig)(void *, void *, LPARAM); int CControlPanelAppletList_s_SortAppletsInCategory_hook( void *p1, void *p2, LPARAM lParam ) { HDPA hDpa = CControlPanelAppletList_HDPA(lParam); LPVOID pThing1 = DPA_GetPtr(hDpa, *(int *)p1); LPVOID pThing2 = DPA_GetPtr(hDpa, *(int *)p2); int category = MapCategory(CControlPanelAppletList_Category(lParam)); if (category >= 0 && hDpa && pThing1 && pThing2) { LPCWSTR pszApplet1 = (LPCWSTR)((char *)pThing1 + 520); LPCWSTR pszApplet2 = (LPCWSTR)((char *)pThing2 + 520); int iApplet1 = FindApplet(pszApplet1, category); if (iApplet1 < 0) { return 1; } else { int iApplet2 = FindApplet(pszApplet2, category); if (iApplet2 >= 0 && iApplet1 > iApplet2) { return 1; } else { return -1; } } } return 0; }
LPCWSTR g_szAppletsToUnhide[] = { L"::{BF782CC9-5A52-4A17-806C-2A894FFEEAC5}", // Language Settings L"::{ED834ED6-4B5A-4BFE-8F11-A626DCB6A921}", // Personalization L"::{D9EF8727-CAC2-4e60-809E-86F80A666C91}", // BitLocker Drive Encryption L"::{D17D1D6D-CC3F-4815-8FE3-607E7D5D10B3}", // Text to Speech L"::{E95A4861-D57A-4BE1-AD0F-35267E261739}", // Windows SlideShow (?) L"::{96AE8D84-A250-4520-95A5-A47A7E3C548B}", // Family Safety L"::{BB06C0E4-D293-4f75-8A90-CB05B6477EEE}", // System };
LPCWSTR g_szCanonicalNames[] = { L"Microsoft.Display", L"Microsoft.Personalization", L"Microsoft.Language", L"Microsoft.LocationAndOtherSensors", L"Microsoft.LocationSettings", L"Microsoft.WindowsUpdate", L"Microsoft.Troubleshooting", L"Microsoft.DevicesAndPrinters", L"Microsoft.RegionalAndLanguageOptions", L"Microsoft.System", L"::{BB06C0E4-D293-4f75-8A90-CB05B6477EEE}", L"bthprops.cpl" };
void ZeroStringInModule(HMODULE hModule, LPCWSTR lpSearch) { if (!lpSearch) { return; }
MODULEINFO info = { 0 }; GetModuleInformation( GetCurrentProcess(), hModule, &info, sizeof(MODULEINFO) );
DWORD_PTR base = (size_t)info.lpBaseOfDll; size_t size = (size_t)info.SizeOfImage; size_t patternLen = wcslen(lpSearch) * 2;
for (size_t i = 0; i < size - patternLen; i++) { bool found = true;
for (size_t j = 0; j < patternLen; j++) { found = *((char *)lpSearch + j) == *(char *)(base + i + j);
if (!found) { break; } }
if (found) { size_t ptr = base + i; Wh_Log(L"Found L\"%s\"!", lpSearch);
MEMORY_BASIC_INFORMATION mbi; VirtualQuery((wchar_t *)ptr, &mbi, sizeof(MEMORY_BASIC_INFORMATION));
if (!VirtualProtect(mbi.BaseAddress, mbi.RegionSize, PAGE_READWRITE, &mbi.Protect)) { return; }
ZeroMemory((void *)ptr, patternLen);
DWORD dwOldProtect; VirtualProtect(mbi.BaseAddress, mbi.RegionSize, mbi.Protect, &dwOldProtect);
return; } }
Wh_Log(L"Did find not L\"%s\". :(", lpSearch); }
const WindhawkUtils::SYMBOL_HOOK hooks[] = { { { L"private: static int __cdecl CControlPanelAppletList::s_SortAppletsInCategory(int const *,int const *,__int64)" }, &CControlPanelAppletList_s_SortAppletsInCategory_orig, CControlPanelAppletList_s_SortAppletsInCategory_hook, false } };
BOOL Wh_ModInit(void) { HMODULE hShell32 = LoadLibraryW(L"shell32.dll"); if (!hShell32) { Wh_Log(L"Failed to load shell32.dll"); return FALSE; }
for (size_t i = 0; i < ARRAYSIZE(g_szAppletsToUnhide); i++) { ZeroStringInModule( hShell32, g_szAppletsToUnhide[i] ); }
for (size_t i = 0; i < ARRAYSIZE(g_szCanonicalNames); i++) { ZeroStringInModule( hShell32, g_szCanonicalNames[i] ); }
if (!WindhawkUtils::HookSymbols( hShell32, hooks, ARRAYSIZE(hooks) )) { Wh_Log(L"Failed to hook one or more symbol functions"); return FALSE; }
return TRUE; }
VERSION 3.2 25/12/2023Download Here Changelog: -Added a Windhawk mod to stop redirection inside CPL more efficiently(thanks aubymori ) -Added 7 Style Display CPL -Added Biometric Devices CPL -Added Parental Controls(Family Safety) CPL[for decoration only) -Added Cardspace CPL[for decoration only) -Added Language CPL(functional on 10 1803,for decoration on 1809 and newer) -Added a semi accurate program to replicate old taskbar properties dialog,edited by me(original by torto ) -Added my edit of the URI Redirector to stop redirection outside CPL(original by ihatemetro )THREAD UPDATE 9/10/2023Updated the title to avoid confusion. VERSION 1.0 22/8/2023Here is the first version of this pack. If you find something that does not work and not included in any readme file please notify me. Download here How did you get Windows 7 control panel sidebar? use aero10 theme by vaporvance. Don't forget to get old new explorer as well and enable the first 2 options.
|
|
|
Post by enderboy on Mar 30, 2024 4:17:21 GMT -8
How did you get Windows 7 control panel sidebar? use aero10 theme by vaporvance. Don't forget to get old new explorer as well and enable the first 2 options. Sorry I can’t access devainart (because I don’t have an account) Can you give me a download link?
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Mar 30, 2024 4:51:37 GMT -8
|
|
|
Post by Brawllux on Mar 30, 2024 4:58:29 GMT -8
combining this with the other removed options would be the best thing ever.
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Mar 30, 2024 6:50:24 GMT -8
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Mar 30, 2024 11:40:48 GMT -8
I am working on remake of windows 7 keyboard and language tab (dialog) using C# and restore it's all functionalities by help of these docs
How the project will look like :
|
|
|
Post by Windows User on Mar 30, 2024 15:24:28 GMT -8
Why there's no Windows 10 rtm Tasks Links in CPL Restoration pack 3.2?
|
|
|
Post by Brawllux on Mar 30, 2024 16:02:43 GMT -8
Why there's no Windows 10 rtm Tasks Links in CPL Restoration pack 3.2? i will add it back with more variations later.
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Mar 30, 2024 16:20:55 GMT -8
|
|
eggcorn
Freshman Member
ujyhcndewedhcnhbwncdd🗣️🗣️🔥🔥🔥💯💯💯💯
Posts: 78
OS: Windows 11
Theme: just win11
CPU: 12th generation Intel
|
Post by eggcorn on Mar 30, 2024 17:05:17 GMT -8
Here are the files for Windows 7 control panel category names. Tested on Windows 10 22h2 real hardware Instruction Boot into recovery mode Open notepad and go to file-open Delete shell32.dll.mui Go to where ever you placed your file and copy it Go to en-gb in system32 or en-us I cannot remember Paste the file into en-gb or en-us Reboot into normal mode You should have windows 7 control panel categories EDIT: You can just use Iobit Unlocker then put the .mui file into system32\en-gb and restart explorer Brawllux, if you want you can include this in your pack View Attachmentworks on en-US or ja-JP?
|
|
|
Post by enderboy on Mar 30, 2024 23:13:18 GMT -8
Here are the files for Windows 7 control panel category names. Tested on Windows 10 22h2 real hardware Instruction Boot into recovery mode Open notepad and go to file-open Delete shell32.dll.mui Go to where ever you placed your file and copy it Go to en-gb in system32 or en-us I cannot remember Paste the file into en-gb or en-us Reboot into normal mode You should have windows 7 control panel categories EDIT: You can just use Iobit Unlocker then put the .mui file into system32\en-gb and restart explorer Brawllux, if you want you can include this in your pack View Attachmentworks on en-US or ja-JP? Probably but you would have to edit the file shell32.dll.mui yourself All you have to do is go to sting 2001 and 2002 and change the category names
|
|