|
Post by strontium on Feb 13, 2024 8:24:21 GMT -8
Anybody know if system32 & windows root directories have CLSIDS?
I need to put icons on both folders. As you know (or you might not lol) customize tab is missing for c:\windows & c:\windows\system32.
Customize tab {ef43ecfe-2ab9-4632-bf21-58909dd177f0} is normally used for directory, drive and {450D8FBA-AD25-11D0-98A8-0800361B1103} (documents)
Whats dumb as hell is that windows root, system32 and syswow64 do lack customize tab but WinSxS has it.
There should be guids for windows and system32. I need to locate them in the registry and put customize tab on them. Otherwise theres no way to change icon on these
|
|
|
Post by R.O.B. on Feb 15, 2024 13:10:04 GMT -8
Hi, strontium. This is definitely possible, just not super straightforward. Since these folders are standard directories and not shell folders, they have no CLSID values. Instead, their icons need to be changed in the same way they would through the customize tab, just manually. When you change the icon of a regular folder, Windows keeps track of this in a file called desktop.ini, located inside of the folder itself (you will usually need to show hidden and protected operating system files in order to view desktop.ini files). So if you were to change the icon of another folder, you could copy its desktop.ini file to the directory you'd like (such as C:\Windows or C:\Windows\System32). However, the custom icon will not appear unless the folder has at least one attribute. To add an attribute, open an administrator Command Prompt and type the following command: attrib "C:\Windows" +r This command will add a read only attribute to the folder you specify (in this case C:\Windows). Alternatively, the system attribute (+s) should work as well if you'd rather do that (usually Windows itself will add the read only attribute to a folder when you change an icon). If done correctly, you should have custom icons for these folders! If the icon does not appear, try restarting explorer.exe and deleting the file %LocalAppData%\IconCache.db. And to change the icons later on, simply edit the desktop.ini files manually in a text editor. Hope this helps!
|
|
|
Post by strontium on Mar 3, 2024 10:02:56 GMT -8
Hi, strontium . This is definitely possible, just not super straightforward. Since these folders are standard directories and not shell folders, they have no CLSID values. Instead, their icons need to be changed in the same way they would through the customize tab, just manually. When you change the icon of a regular folder, Windows keeps track of this in a file called desktop.ini, located inside of the folder itself (you will usually need to show hidden and protected operating system files in order to view desktop.ini files). So if you were to change the icon of another folder, you could copy its desktop.ini file to the directory you'd like (such as C:\Windows or C:\Windows\System32). However, the custom icon will not appear unless the folder has at least one attribute. To add an attribute, open an administrator Command Prompt and type the following command: attrib "C:\Windows" +r This command will add a read only attribute to the folder you specify (in this case C:\Windows). Alternatively, the system attribute (+s) should work as well if you'd rather do that (usually Windows itself will add the read only attribute to a folder when you change an icon). If done correctly, you should have custom icons for these folders! If the icon does not appear, try restarting explorer.exe and deleting the file %LocalAppData%\IconCache.db. And to change the icons later on, simply edit the desktop.ini files manually in a text editor. Hope this helps! The point of what I am saying is there is an exact place in the registry which presets disallow type rules for windows root, system32 and program files i.e bans them from having a customize tab. As I said above winsxs has it but not the directories I mentioned. This is a weirdness which is hardcoded in a registry setting.
|
|