Custommx3 Posted May 25, 2007 Share Posted May 25, 2007 Is it possible to change your default icons on install? I want to change my My computer icon to an icon I have. I also want to rename my computer to something else. Can this be done during the install? Link to comment Share on other sites More sharing options...
Viscon Posted May 25, 2007 Share Posted May 25, 2007 most of the icons (quite a lot actually) you can change hacking shell32.dll.find shell32.dl_ file in I386 folder, and uncab it with this command in command prompt window:expand -r shell32.dl_now you have unpacked shell32.dll which you may open with Resource Hacker.on the left pane expand Icon Group folder, so you'll see all the icons to be changed.right-click any you want and choose Replace resource...or in the menu click Action and Replace Icon...this way you may also change bitmaps, cursors, and more...having changed your icons you have to re-cab shell32.dll with this command (command prompt too)makecab shell32.dllyou got shell32.dl_ again but hacked with your icons,so copy it back to I386 folder overwriting an older one, and install XP.now your icons are set for good Link to comment Share on other sites More sharing options...
Silvereyes Posted May 25, 2007 Share Posted May 25, 2007 (edited) Yes, it is possible and it's actually quite simple to change both the default iconsand the displayed name for all of the 'standard' desktop items, ie. My Computer,My Network Places, etc.The pair of keys you need are listed below, The first one is a simple text entrywhich is the name as displayed on the desktop while the second is the default icongive as "filename,resource-number".You can chose which desktop item you want to change by substituting the appropriateCLSID as the attributes are the same for all of them. The only exception to this isthe Recycle Bin which has three 'DefaultIcon' entries as show at the bottom.HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}","",0000000000,"My Computer"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon","",0x00020000,"%SystemRoot%\Explorer.exe,0"208D2C60-3AEA-1069-A2D7-08002B30309D - My Network Places20D04FE0-3AEA-1069-A2D8-08002B30309D - My Computer450D8FBA-AD25-11D0-98A8-0800361B1103 - My DocumentsHKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}","",0x00000000,"Recycle Bin"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon","",0x00020000,"%SystemRoot%\System32\shell32.dll,31"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon","Empty",0x00020000,"%SystemRoot%\System32\shell32.dll,31"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon","Full",0x00020000,"%SystemRoot%\System32\shell32.dll,32"I can't give detailed instructions without knowing exactly how/when you performthis part of the installation. My personal preference is to use a 'custom.inf' filewhich contains these and other settings which I run from cmdlines.txt using thefollowing line:-"rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\Custom.inf"This can also be executed via RunOnceEx but be aware this is a per usersetting. Running it from cmdlines.txt changes the default user account which isthen inherited by all others created afterwards. Running from anywhere elseonly changes the settings for that particular user account.Something else you should be aware is that some settings don't 'stick' if appliedduring cmdlines.txt, I assume that they are being overwritten during a later stage. Edited May 25, 2007 by Silvereyes Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now