 | | Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks. | Windows 7 - Drive Icon - Change
Drive Icon - Change How to Change a Drive Icon in Windows 7
Published by Brink
02-23-2010
| Drive Icon - Change How to Change a Drive Icon in Windows 7  Information This will show you how to change a drive icon for a internal or external drive that has a drive letter in the Computer window to any icon you want for just your user account, or all user accounts on the computer.  Tip If your default drive icon is missing or was changed and you did not do it with the methods below, then look for a hidden (not always hidden though) autorun.inf file (OPTION ONE below) in the root directory of the affected drive, right click on the autorun.inf file, and click on Delete. Next, approve the deletion. If this was an external device, then you may need to disconnect and reconnect the device for the icon to appear afterwards.  Warning If you select to use a custom icon of your own, then it must be a 256x256 pixel icon (.ico) file for it to display properly in all icon sizes. EXAMPLE: C Drive icon - Default and Changed  OPTION ONE
Change a Drive Icon using a "autorun.inf" File
NOTE: While this option can be used for any drive, it is really useful for external drives like a USB flash drive. 1. Set your known file extentions to no longer be hidden. NOTE: This way you will be able to rename the file extension in step 3 below. 2. Connect and/or open the drive that you want to change the icon of. 3. In the root of the drive, right click on a empty space and click on New and Text Document, then rename this file autorun.inf and press Enter. (see screenshots below) NOTE: If you already have a autorun.inf file in the root of this drive, then skip this step and proceed to step 4. 4. Copy the icon .ico file (ex: Thumb_Drive.ico) that you want to use to the root of the drive. (see right screenshot below) 5. If this is a New autorun.inf FileA) Open the autorun.inf file, then type each line below followed by pressing enter. (see screenshot below) NOTE: Substitute icon file name with the actual name of your icon file (ex: Thumb_Drive.ico) from step 4. Code:
[autorun]
icon="icon file name.ico"  B) Click on File (menu bar) and Save, then close the autorun.inf file. (see screenshot above) 6. If you already have a autorun.inf File NOTE: Be sure that you also check the Show hidden files, folders, and drives option in Folder Options in case the existing autorun.inf file (if there) may have been hidden.A) Open the autorun.inf file, then add or change the icon= line below. (see screenshots below) NOTE: Substitute icon file name with the actual name of your icon file (ex: Thumb_Drive.ico) from step 4. Code:
[autorun]
icon="icon file name.ico"   B) Click on File (menu bar) and Save, then close the autorun.inf file. (see screenshots above) 7. If this is for a Internal or eSATA DiveA) Restart the computer to apply. 8. If this is for a External DiveA) Unplug and plug in the drive to apply. 9. Open the Computer window to see the changes.  Note To Restore the Default Icon
You would just need to do either option below and repeat steps 7 to 9 above. - Delete the autorun.inf and .ico file.
OR - If you have other lines (ex: label=) in the autorun.inf while editing it that you wish to continue using, then remove the icon= line entry for the drive, and save the changes.
OPTION TWO
Change a Drive Icon in Registry Editor for Current User Account Only
1. If you did OPTION ONE previously, then you will need to either remove the icon=icon file name.ico entry from the autorun.inf file, or delete the autorun.inf file in the root of the drive that you want to change the icon of. 2. Open the Start Menu, then type regedit in the search box and press enter. 3. If prompted by UAC, then click on Yes. 4. In regedit, navigate to the location below. (see screenshot below)HKEY_CURRENT_USER\Software\Classes  5. In the left pane, right click on Classes and click on New and Key. Type Applications and press enter. NOTE: If you already have the Applications key under Classes, then go to step 6. (see screenshot above and below) 6. In the left pane, right click on Applications and click on New and Key. Type Explorer.exe and press enter. NOTE: If you already have the Explorer.exe key under Applications, then go to step 7. (see screenshot above and below) 7. In the left pane, right click on Explorer.exe and click on New and Key. Type Drives and press enter. NOTE: If you already have the Drives key under Explorer.exe, then go to step 8. (see screenshot above and below) 8. In the left pane, right click on Drives and click on New and Key. Type the drive letter (ex: C ) that you want to change the icon for and press enter. NOTE: If you already have the drive letter (ex: C ) key under Drives, then go to step 9. (see screenshot above and below) 9. In the left pane, right click on the drive letter (ex: C ) and click on New and Key. Type DefaultIcon and press enter. NOTE: If you already have the DefaultIcon key under the drive letter (ex: C ), then go to step 10, 11, or 12. (see screenshot above and below) 10. To Restore the Default Drive Icon A) Right click on the drive letter (ex: C ) from step 8 above that you want to restore, and click on Delete and Yes. (see screenshot below step 8)
B) Go to step 14. 11. To Use a Custom Icon of Your OwnA) In the right pane of DefaultIcon, right click on (Default) and click on Modify. (see screenshot below step 9)
B) In the Modify window, type in this below and click on OK. (see screenshot below) NOTE: Substitute with your icons full path and name with file extension in quotes instead. Code: "full path of the icon file with file extension" FOR EXAMPLE: Code: "G:\Windows 7 PNG Files\Start_Orb.ico" 
C) Go to step 13. 12. To Use another Icon Included in Windows 7 A) Download and install the free program IconViewer for your 32-bit or 64-bit Windows 7. NOTE: This program will add a Icons tab to files (ex: imageres.dll) that contain a icon library in them so you can see the icons available in it.
B) In Windows Explorer, navigate to C:\Windows\System32\imageres.dll and right click on imageres.dll, click on Properties, and click on the Icons tab. NOTE: You can use any of the Windows 7 files that include icons in them that you want though. This is just the most common one.
C) Scroll through the icons and make note of the icon number of the one you want to use to replace the default file extension icon with, then close the properties window. (see screenshot below) NOTE: For example, icon number 36 for the default C drive icon. D) In the right pane of DefaultIcon, right click on (Default) and click on Modify. (see screenshot below step 9)
E) In the Modify window, type in the location below and click on OK. (see screenshot below) Code: (full path of the Windows 7 file with file extension),-#### FOR EXAMPLE: Code:
C:\Windows\System32\imageres.dll,-36 
13. The registry should look similar to this now depending on the icon path you entered in either step 11 or 12. (see screenshot below) 12. Close Regedit. 13. The changes should be immediate, but in some cases you may need to restart the computer to apply the changes. If the drive icon does not change for you using this option, then try OPTION ONE or OPTION THREE to change it instead. OPTION THREE
Change a Drive Icon in Registry Editor for All User Accounts
NOTE: You must be logged in as an administrator to be able to do this option. 1. If you did OPTION ONE previously, then you will need to either remove the icon=icon file name.ico entry from the autorun.inf file, or delete the autorun.inf file in the root of the drive that you want to change the icon of. 2. Open the Start Menu, then type regedit in the search box and press enter. 3. If prompted by UAC, then click on Yes. 4. In regedit, navigate to the location below. (see screenshot below)HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer  5. In the left pane, right click on Explorer and click on New and Key. Type DriveIcons and press enter. NOTE: If you already have the DriveIcons key under Explorer, then go to step 6. (see screenshot above and below) 6. In the left pane, right click on DriveIcons and click on New and Key. Type the drive letter (ex: C ) that you want to change the icon for and press enter. NOTE: If you already have the drive letter (ex: C ) key under DriveIcons, then go to step 7. (see screenshot above and below) 7. In the left pane, right click on the drive letter (ex: C ) and click on New and Key. Type DefaultIcon and press enter. NOTE: If you already have the DefaultIcon key under the drive letter (ex: C ), then go to step 8, 9, or 10. (see screenshot above and below)
8. To Restore the Default Drive IconA) Right click on the drive letter (ex: C ) from step 6 above that you want to restore, and click on Delete and Yes. (see screenshot below step 6)
B) Go to step 12. 9. To Use a Custom Icon of Your OwnA) In the right pane of DefaultIcon, right click on (Default) and click on Modify. (see screenshot below step 7)
B) In the Modify window, type in this below and click on OK. (see screenshot below) NOTE: Substitute with your icons full path and name with file extension in quotes instead. Code: "full path of the icon file with file extension" FOR EXAMPLE: Code: "G:\Windows 7 PNG Files\Start_Orb.ico" 
 Warning The custom icon file that you are using must be saved at a location that can be accessed by all user accounts for it to be displayed in all user accounts. For example, in the C:\Users\Public folder.
C) Go to step 11. 10. To Use another Icon Included in Windows 7 A) Download and install the free program IconViewer for your 32-bit or 64-bit Windows 7. NOTE: This program will add a Icons tab to files (ex: imageres.dll) that contain a icon library in them so you can see the icons available in it.
B) In Windows Explorer, navigate to C:\Windows\System32\imageres.dll and right click on imageres.dll, click on Properties, and click on the Icons tab. NOTE: You can use any of the Windows 7 files that include icons in them that you want though. This is just the most common one.
C) Scroll through the icons and make note of the icon number of the one you want to use to replace the default file extension icon with, then close the properties window. (see screenshot below) NOTE: For example, icon number 36 for the default C drive icon. D) In the right pane of DefaultIcon, right click on (Default) and click on Modify. (see screenshot below step 7)
E) In the Modify window, type in the location below and click on OK. (see screenshot below) Code: (full path of the Windows 7 file with file extension),-#### FOR EXAMPLE: Code:
C:\Windows\System32\imageres.dll,-36 
11. The registry should look similar to this now depending on the icon path you entered in either step 9 or 10. (see screenshot below) 12. Close Regedit. 13. The changes should be immediate, but in some cases you may need to restart the computer to apply the changes. That's it,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 34,820 | |
 Tutorial Tools | | | | | | | | | |
04-21-2010
|
#1 | | Windows 7 Ultimate SP1 x64 |
great tutorial Brink, i use TuneUp Utilities for most icon changes, but it doesn't always get the job done, a good registry edit is sometimes the best solution, if you know what you are doing, of course, so i thank you for sharing those informations | My System Specs | | System Manufacturer/Model Number Home Made with Great Performance OS Windows 7 Ultimate SP1 x64 CPU Pentium Dual Core E6600 3Ghz Motherboard Gigabyte P41T-D3P Memory Kingston 4GB DDR3 1066MHz Graphics Card Asus nVidia GeForce GT440 Sound Card Genius 5.1 Sound Maker Monitor(s) Displays Samsung SyncMaster SA300 Screen Resolution 1366x768 Keyboard Microsoft Wired Keyboard 600 Mouse Microsoft Wireless Mobile Mouse 1000 PSU Inter-Tech Energon 650W Case Nexus Prominent 5 Cooling 3x120mm Fans @ 700RPM + Zerotherm Fanless BTF95 CPU Cooler Hard Drives 1x 160GB Western Digital IDE
1x 640GB Western Digital SATA
1x 2TB Seagate Barracuda Green SATA
1x 1TB Hitachi External USB
1x 60GB Corsair SSD Internet Speed 100 Mb/s Other Info + Laptop ASUS K52JK (Core i3-350m, 4GB DDR3, ATi 5145 1GB, 500GB HDD) powered by Windows 7 SP1 Ultimate x64
+Samsung Galaxy SII, powered by CheckRom RevoHD v4 & Siyah Kernel v3 |
04-21-2010
|
#2 | | Windows 7 Ultimate x64 SP1 |
Thank you Maranello. Yeah, I like to use the registry where I can. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
04-21-2010
|
#3 | | Windows 7 Better then yours |
| My System Specs | | OS Windows 7 Better then yours Sound Card Sound blaster live! Monitor(s) Displays samsung SyncMaster T200 Screen Resolution Better than yours Keyboard Pro Mouse Pro Internet Speed The fastes =) beat that |
06-15-2010
|
#4 | | |
I did everything correct, and double checked everything and this is what it looks like.
Any suggestions?
Last edited by ebarn; 06-15-2010 at 09:41 PM..
| My System Specs | | System Manufacturer/Model Number Dell XPS M1530 OS Windows 7 Ultimate x64 CPU Intel Core Duo T7500 @ 2.20 GHz Memory 4 GB Graphics Card GeForce 8400m GS |
06-15-2010
|
#5 | | Windows 7 Ultimate x64 SP1 |
Hello Ebarn,
Could you post back with a screenshot of the registry location showing everything you added with the path to the icon so we can double check just to make sure that something may not be correct? | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
06-15-2010
|
#6 | | |

Quote: Originally Posted by Brink Hello Ebarn,
Could you post back with a screenshot of the registry location showing everything you added with the path to the icon so we can double check just to make sure that something may not be correct? That's the second attachment on my previous post. Or do you mean something else? | My System Specs | | System Manufacturer/Model Number Dell XPS M1530 OS Windows 7 Ultimate x64 CPU Intel Core Duo T7500 @ 2.20 GHz Memory 4 GB Graphics Card GeForce 8400m GS |
06-15-2010
|
#7 | | Windows 7 Ultimate x64 SP1 |
LOL, I think I was posting while you added the images.
Try using that path in quotes instead to see if that works for you since the "My Pictures" folder has a space in it. "C:\Users\ebarnichta\My Pictures\Porsche.ico" | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
06-15-2010
|
#8 | | |

Quote: Originally Posted by Brink LOL, I think I was posting while you added the images.
Try using that path in quotes instead to see if that works for you since the "My Pictures" folder has a space in it. "C:\Users\ebarnichta\My Pictures\Porsche.ico" Changed it and nothing. So I rebooted just to check if that would change it, and still nothing. Might it be the .ico file?
Yeah, since my edit and your post were just a minute apart I figured we just crossed paths and didnt even notice. | My System Specs | | System Manufacturer/Model Number Dell XPS M1530 OS Windows 7 Ultimate x64 CPU Intel Core Duo T7500 @ 2.20 GHz Memory 4 GB Graphics Card GeForce 8400m GS |
06-15-2010
|
#9 | | Windows 7 Ultimate x64 SP1 |
LOL, no problem.
Could you upload the icon in a ZIP file? I'll test it out on my system to see if something may be wrong with it.
Also double check your C: drive root using the yellow TIP box at the top of the tutorial to see if you may have a hidden (not always hidden though) autorun.inf file that needs to be deleted. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 Drive Icon - Change problems? All times are GMT -5. The time now is 06:20 PM. |  |