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 Apr 6, 2024 15:14:59 GMT -8
Remake Removed options from windows region and clock control panel (intl.cpl) Released (make sure that you have windows 7 input cpl (7nput.dll and 7nput.dll.mui) files and placed them in the right pathes) change log:-v1.1.2: Initial stable release -v1.1.4: Font changed to default control panel's font -v1.1.5: Minor UI improvements -v1.1.6: The lpksetup launcher (lpksetupRun.exe) dependency is removed from this version and now app can directly run lpksetup.exe and also you can run the app from anywhere and it is not required to copy the .exe file to your windows directory -v1.1.7: Bug fixes and other minor improvements -v1.2.2-pre-release: language switching added -v1.3.0: language switching and download language packs features added -v1.3.4: applied better filtering to download language packs link -v1.3.6: final polishing and bug fixes -v1.4.0: fixed null reference exception issue when user only has one UI language installed , app's unnecessarily dependencies removed -v1.4.1: now you can run the app and manage you home location settings without admin permission like v1.1.7 but still you need to run program as admin if you want to manage your display language settings -v1.5.0: Preferred languages switching feature added -v1.5.3: bug fixes and other minor improvements
Repository link:github.com/MehranAkbarii/WindowsRegionAndLanguageRemake
|
|
|
Post by OrthodoxWin32 on Apr 7, 2024 2:17:07 GMT -8
mehraanakbarii I'm sorry, but the executable does not open. The process appears for a second in Task Manager, then closes.
It appears to be a crash. Attached is the error data :
|
|
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 Apr 7, 2024 4:30:29 GMT -8
mehraanakbarii I'm sorry, but the executable does not open. The process appears for a second in Task Manager, then closes.
It appears to be a crash. Attached is the error data :
send me screenshot of following reg path Computer\HKEY_CURRENT_USER\Control Panel\Desktop\PreferredUILanguages
|
|
|
Post by OrthodoxWin32 on Apr 7, 2024 4:44:41 GMT -8
Computer\HKEY_CURRENT_USER\Control Panel\Desktop\PreferredUILanguages
This value does not exist on my system registry ; maybe the problem comes from there.
|
|
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 Apr 7, 2024 4:47:26 GMT -8
Computer\HKEY_CURRENT_USER\Control Panel\Desktop\PreferredUILanguages
This value does not exist on my system registry ; maybe the problem comes from there. yes
|
|
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 Apr 7, 2024 4:48:38 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 Apr 7, 2024 4:50:28 GMT -8
Computer\HKEY_CURRENT_USER\Control Panel\Desktop\PreferredUILanguages
This value does not exist on my system registry ; maybe the problem comes from there. I will find a workaround for it , app should read another reg key when value is not existed
|
|
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 Apr 7, 2024 5:10:25 GMT -8
Computer\HKEY_CURRENT_USER\Control Panel\Desktop\PreferredUILanguages
This value does not exist on my system registry ; maybe the problem comes from there. now try v1.4.0 Issue solved
|
|
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 Apr 7, 2024 5:13:17 GMT -8
|
|
|
Post by OrthodoxWin32 on Apr 7, 2024 7:37:14 GMT -8
I will find a workaround for it , app should read another reg key when value is not existed It work, thank you.
|
|
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 Apr 7, 2024 7:51:58 GMT -8
I will find a workaround for it , app should read another reg key when value is not existed It work, thank you. fine , try add more display languages and test it language switching functionality
|
|
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 Apr 7, 2024 14:54:24 GMT -8
Remake Removed options from windows region and clock control panel (intl.cpl) v1.4.1 Released
-v1.4.1: now you can run the app and manage you home location settings without admin permission like v1.1.7 but still you need to run program as admin if you want to manage your display language settings
|
|
|
Post by OrthodoxWin32 on Apr 7, 2024 14:56:19 GMT -8
fine , try add more display languages and test it language switching functionality Yes, I will test it as soon as I have time.
|
|
technicalissues
Sophomore Member
Windows 10 that is 1:1 to 7; coming soon
Posts: 157
OS: Windows 10 22H2
Theme: Windows 7 Visuals and functions
CPU: Intel i5-13400F
RAM: 16GB DDR5
GPU: NVIDIA RTX 4060
|
Post by technicalissues on Apr 8, 2024 10:43:02 GMT -8
It seems that the windows update applet takes an EXTREMELY long time to load. Sure it does work as expected but it takes so long
|
|
|
Post by enderboy on Apr 8, 2024 10:51:48 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 !
// ==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 Can you not get fully functional Windows Update by copying svchost from Windows 7 and use sc in Cmd to create the service and get the old Windows Update service
|
|
|
Post by Brawllux on Apr 8, 2024 13:03:59 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 !
// ==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 Can you not get fully functional Windows Update by copying svchost from Windows 7 and use sc in Cmd to create the service and get the old Windows Update service Well if you want every modification you made to vanish with one update feel free to try restoring update functionality.
|
|
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 Apr 8, 2024 15:59:08 GMT -8
Remake Removed options from windows region and clock control panel (intl.cpl) upcomming feature :- Preferred languages : Apps and websites will appear in the first language in the list that they support.
|
|
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 Apr 9, 2024 1:39:46 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 Apr 10, 2024 10:13:50 GMT -8
I tried to remake default programs by app page but unfortunately I could not access to C:\Program Files\WindowsApps directory programmatically and because it required system permission I even tried to run it as trusted installer or administrator but still did not work
|
|
|
Post by OrthodoxWin32 on Apr 10, 2024 10:42:43 GMT -8
I tried to remake default programs by app page but unfortunately I could not access to C:\Program Files\WindowsApps directory programmatically and because it required system permission I even tried to run it as trusted installer or administrator but still did not work It seems to me that this file is very protected. I managed to have total control of it, but I don't know how I did it (I remember it being difficult).
He also created a program for file associations : www.nirsoft.net/utils/file_types_manager.htmlUnfortunately, this program doesn't work very well for UWP-type applications ; you have to run the program as trusted installer, but in this case, another part of the associations displayed disappear.
|
|