|
Post by es64u2 on Jan 14, 2017 13:00:25 GMT -8
Please excuse my bad English. Yesterday I've tried to get back the Classic theme on Windows 10. After installing procexp.exe I searched the 'ThemeSection' handle on winlogon.exe. I tried to delete the user rights on the handle. This took effect and the classic style windows openend. The handle isn't closed, just there are no more rights for the system. Maybe you can use user rights in the classictheme.exe solution to re-enable the modern design for opening the Modern Apps without restarting winlogon.exe.
|
|
|
Post by anixx on Jan 22, 2017 0:06:40 GMT -8
Modern apps do not work with Classic theme on W10?
P.S. very intetesting topic, it will allow to make Classic theme change reversible. Need a command line tool to do so.
|
|
|
Post by Splitwirez on Jan 22, 2017 14:42:25 GMT -8
Modern apps do not work with Classic theme on W10? P.S. very intetesting topic, it will allow to make Classic theme change reversible. Need a command line tool to do so. ... O:
|
|
|
Post by es64u2 on Feb 19, 2017 15:15:17 GMT -8
No, there isn't any modern app working on my Windows 10 Home 64 in Classic Theme Mode. If I start any app a window opens and then there is nothing in except the background colour. Sometimes dwm.exe crashed. In procexp.exe you need to delete the whole user name, not the rights of one only. I've tried handle.exe, but there's no command for that. But it's not the only problem. If you want to re-enable it, procexp.exe says of course 'Access Denied!'. Are 'IbmPad' ore anotherone working further on ClassicTheme.exe?
|
|
|
Post by anixx on Feb 19, 2017 17:46:14 GMT -8
> In procexp.exe you need to delete the whole user name, not the rights of one only. Deleting only rights (by unchecking) with ObjDir for instance, works for me. No need to delete the user. I can re-enable Classic Theme again the same way. www.osronline.com/article.cfm?article=42
|
|
|
Post by Spitfire_x86 on Mar 24, 2017 12:15:43 GMT -8
So... it's possible to do THIS: As you can see, I've started two notepad instances: first with ThemeSection 'Query State' permission disabled, and second with that permission enabled. You can do this easily this way: Start Process Explorer as SYSTEM, for example with psexec: PSEXEC -i -s -d procexp.exeGo to ThemeSection handle properties and set Query State permission for user LogonSessionId_0_<numbers> from Allow to DENY. EDIT: You have to use the advanced settings to change it - for some reason it won't save if you just use the checkboxes on Security tab. Every new program should now open with classic theme. Now set the permission back to Allow - new programs start with Win10 theme. This includes every UWP/Modern app that won't start with classic theme, like Win10 Settings (you may need to restart ApplicationFrameHost). I hope that there's some way to automate that - or maybe make it switchable with a shortcut?
|
|
|
Post by 6sicsix on Mar 31, 2017 2:02:21 GMT -8
I've been messing about with using userinit / task scheduler to launch applicationframeworkhost.exe, then running a batch script to close the handle to ThemeSection in winlogon. You can still access settings fine, but I agree it would be much better find a scripted way of denying access instead of just closing the handle so it can never be "re-enabled"
Once we have a way to deny/allow access to the handle in winlogon using a command - I was thinking of: 1. Launching allplicationframeworkhost.exe then closing the handle at logon 2. making a batch file which can be added to the right click context menu to add the option "Open (Toggle Theme)" which will toggle the handle then launch the program 3. making an exe file to replace sethc.exe so that the handle can be toggled by pressing shift five times for when it's not an item you can right-click to run (modern settings links)
Heres the command to close the handle using sysinternals handle.exe
in a batch file: FOR /F "tokens=1,3,6 delims=: " %%A IN ('Handle ThemeSection') DO IF [%%A] EQU [winlogon.exe] Handle -c %%C -p %%B -y
in command prompt: FOR /F "tokens=1,3,6 delims=: " %A IN ('Handle ThemeSection') DO IF [%A] EQU [winlogon.exe] Handle -c %C -p %B -y
Any ideas on denying permission instead of closing the handle?
|
|
|
Post by anixx on Jun 23, 2019 3:34:37 GMT -8
|
|