Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
97 views
in Technique[技术] by (71.8m points)

Restore Appearance and Personalization to Windows 10 Control Panel

I would like to restore task links to Appearance and Personalization in Win10 Control Panel Category View.

I have been able to successfully add the old Personalization, Color and Appearance, and Desktop Background according to TenForums Tutorials.

https://www.tenforums.com/tutorials/6051-add-personalize-classic-context-menu-windows-10-a.html https://www.tenforums.com/tutorials/154265-how-add-desktop-background-control-panel-windows.html https://www.tenforums.com/tutorials/154267-how-add-color-appearance-control-panel-windows.html

These tutorials restore the applets in Large/Small Icon view but not in Category view. What I would like to do is add the above back to Category view. I attached pics of what I want to do: Specifically, in the "adjust your computer's settings" I would like to restore the shortcuts under Appearance and Personalization (1st pic) and the task list shortcuts under the Personalization and Notification Icons headings in Pic 2. I think you can create a simple tasklist.xml document, and reference it from a ShowInternalTaskListURL string in the registry key that add the applet back to control panel. So my intention is not for any hard-core certificaiton or re-building of shell32.dll file. Just create a simple xml document to reference in the registry. I believe the xml file I want is in themecpl.dll in this case.

From what I understand, some sort of task list.xml document can restore the links in Category view, according to https://docs.microsoft.com/en-us/windows/win32/shell/creating-searchable-task-links?redirectedfrom=MSDN. I found a rather old and complete control panel task list from Win7 or Vista on Scribed of all places and removed all sections relating to Personalization. I included a snippet of the xml code below. It looks like the two snippets add "change the theme" and "change screensaver" to the Personalization heading in the second pic. I have been able to do that much but am having trouble deciphering all of the code.

What I am looking to do is figure out how to add the links back to Appearance in the first figure. I also have no idea what the condition and parameters in the second set of XML does.

Do you know who I could ask that knows about this stuff? I always see good answers from knowledgeable folks on StackExchange but I have tried posting and never get any replies. Do you have any suggestions? enter image description here enter image description here

`<?xml version="1.0" ?>
 <applications xmlns="http://schemas.microsoft.com/windows/cpltasks/v1"
          xmlns:sh="http://schemas.microsoft.com/windows/tasks/v1">

 <application id="{ED834ED6-4B5A-4BFE-8F11-A626DCB6A921}">

 <sh:task id="{AF3BA0EC-B240-401E-B4EE-3E89F275205B}">
 <sh:name>@shell32.dll,-24369</sh:name>
 <sh:keywords>@shell32.dll,-25067</sh:keywords>
 <sh:keywords>@shell32.dll,-25084</sh:keywords>
 <sh:keywords>@shell32.dll,-25194</sh:keywords>
 <sh:keywords>@shell32.dll,-25085</sh:keywords>
 <sh:keywords>@shell32.dll,-25235</sh:keywords>
 <sh:keywords>@shell32.dll,-25070</sh:keywords>
 <sh:keywords>@shell32.dll,-25233</sh:keywords>
 <sh:keywords>@shell32.dll,-25234</sh:keywords>
 <sh:keywords>@shell32.dll,-25213</sh:keywords>
 <sh:keywords>@shell32.dll,-25393</sh:keywords>
 <sh2:controlpanel name="Microsoft.Personalization"/>
 <sh:command>explorer shell:::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921}</sh:command>
 </sh:task>

 <sh:task id="{DF7B19EF-DEA5-47D7-BBA5-9FCBE400A59D}">
 <sh:name>@shell32.dll,-24367</sh:name> 
 <sh:keywords>@shell32.dll,-25067</sh:keywords> 
 <sh:keywords>@shell32.dll,-25194</sh:keywords> 
 <sh:keywords>@shell32.dll,-25080</sh:keywords> 
 <sh:keywords>@shell32.dll,-25070</sh:keywords> 
 <sh:keywords>@shell32.dll,-25182</sh:keywords> 
 <sh:keywords>@shell32.dll,-25213</sh:keywords> 
 <sh:command>%windir%system32
undll32.exe 
 shell32.dll,Control_RunDLLdesk.cpl,screensaver,@screensaver</sh:command>
 <sh:conditions>
 <sh:condition name="shcond://v1#RegValEquals" invert="true">
 <sh:parameter name="Regkey" value="HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession 
 ManagerEnvironment"/>
 <sh:parameter name="Regval" value="PROCESSOR_ARCHITECTURE"/><sh:parameter name="RegvalExpected" 
 value="ARM"/></sh:condition>
 </sh:conditions>
 </sh:task>`
question from:https://stackoverflow.com/questions/65921147/restore-appearance-and-personalization-to-windows-10-control-panel

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...