Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › How to: Change your hard drive icons in Windows
New Posts  All Forums:Forum Nav:

How to: Change your hard drive icons in Windows

post #1 of 13
Thread Starter 
This works for Windows XP x32 and Vista X64 (also possibly XP 64-bit and Vista 32-bit)

IMPORTANT: Always back up your registry before making registry changes!!

(Hit "windows key+r", type "regedit", click on "file" and select "export". Alternatively you go "start menu>>run>>regedit>>file>>export" select your filename, save it where you want and import it by using the same procedure if you encounter any problems.)

Now lets start changing those icons. There are more than one way to go about this, but the one that worked best for me is this. Look at the attached image for the results

What you do is making a new .txt file (not in Wordpad because that doesn't work) use notepad. And you copy+paste whats in the code tags below into the file, make the necessary letter changes to match your computer and save it as a *.reg file. Dont forget.

When saved (I saved it to my windows root ("C:\\") folder and I recommend you do the same) either double click or right click+merge and click yes at the "insert information into the registry" prompt.

IMPORTANT NOTE: be sure to use two slashes ("\\") instead of one as usual in the paths like this "\\\\"

Back up the file for later use. Happy icon modding
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons]

[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\C]
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\D]
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\E]
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\F]
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\G]
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\H]
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\I]



[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\A\\\\DefaultIcon]
@="C:\\\\WINDOWS\\\\Resources\\\\Icons\\\\disk.ICO"
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\C\\\\DefaultIcon]
@="C:\\\\WINDOWS\\\\Resources\\\\Icons\\\\disk.ICO"
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\D\\\\DefaultIcon]
@="C:\\\\WINDOWS\\\\Resources\\\\Icons\\\\disk.ICO"
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\E\\\\DefaultIcon]
@="C:\\\\WINDOWS\\\\Resources\\\\Icons\\\\disk.ICO"
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\F\\\\DefaultIcon]
@="C:\\\\WINDOWS\\\\Resources\\\\Icons\\\\disk.ICO"
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\G\\\\DefaultIcon]
@="C:\\\\WINDOWS\\\\Resources\\\\Icons\\\\disk.ICO"
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\H\\\\DefaultIcon]
@="C:\\\\WINDOWS\\\\Resources\\\\Icons\\\\cd.ICO"
[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\DriveIcons\\\\I\\\\DefaultIcon]
@="C:\\\\WINDOWS\\\\Resources\\\\Icons\\\\cd.ICO"

LL
The Blue Noob
(18 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-8350 M5A97 R2.0 NVIDIA GeForce GTX 1050 Ti Samsung  
RAMHard DriveHard DriveHard Drive
Samsung  Samsung SpinPoint WD Kingston SSD Now! 
CoolingCoolingOSMonitor
Coller Master Evo 212 Bunch of fans Windows 10 Pro x64 Acer G246HL 24" 
KeyboardPowerCaseMouse
Corsair K55 Cooler MAster 400W NZXT Guardian Corsair Harpoon RGB 
Mouse PadAudio
Corsair Asus xonar D1 
  hide details  
Reply
The Blue Noob
(18 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-8350 M5A97 R2.0 NVIDIA GeForce GTX 1050 Ti Samsung  
RAMHard DriveHard DriveHard Drive
Samsung  Samsung SpinPoint WD Kingston SSD Now! 
CoolingCoolingOSMonitor
Coller Master Evo 212 Bunch of fans Windows 10 Pro x64 Acer G246HL 24" 
KeyboardPowerCaseMouse
Corsair K55 Cooler MAster 400W NZXT Guardian Corsair Harpoon RGB 
Mouse PadAudio
Corsair Asus xonar D1 
  hide details  
Reply
post #2 of 13
piece of cake
Under-Utilized
(14 items)
 
  
CPUMotherboardGraphicsRAM
3570K Z77-D3H XFX RX480 RS Corsair Vengeance 
Hard DriveHard DriveCoolingOS
HyperX 3K 120GB 3TB Storage Hyper 212 Plus Windows 10 
MonitorKeyboardPowerMouse
24" CFG70  SideWinder X6 550 Watt Logitech G602 
Mouse PadAudio
Razer eXactMat X Objective2 +ODAC 
  hide details  
Reply
Under-Utilized
(14 items)
 
  
CPUMotherboardGraphicsRAM
3570K Z77-D3H XFX RX480 RS Corsair Vengeance 
Hard DriveHard DriveCoolingOS
HyperX 3K 120GB 3TB Storage Hyper 212 Plus Windows 10 
MonitorKeyboardPowerMouse
24" CFG70  SideWinder X6 550 Watt Logitech G602 
Mouse PadAudio
Razer eXactMat X Objective2 +ODAC 
  hide details  
Reply
post #3 of 13
Dude.... sweet. Totally rep'd 4 dat.
    
CPUMotherboardGraphicsRAM
Intel Q6600 G0 @ 3.6GHz (lapped) EVGA 780i SLI FTW @ 1600MHz FSB 2 x EVGA 8800GTX 768MB (SLI) @ 625/1500/2000MHz 2x2GB G.Skill PC2-8000 PQ @ 800MHz (linked to FSB) 
Hard DriveOptical DriveOSMonitor
2x160GB WD RAID 0, 750GB Samsung Spinpoint F1 LITE-ON 20X SATA DVD/CD RW Windows 7 Ultimate x64 Viewsonic VA2702w 27" LCD 1920x1080 
KeyboardPowerCaseMouse
Logitech Value 100 (beer magnet) Corsair TX 750W Cooler Master ATCS 840 Logitech SBF-90 (cheapest one on Newegg) 
Mouse Pad
Some kinda rubber thing (beer magnet) 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Intel Q6600 G0 @ 3.6GHz (lapped) EVGA 780i SLI FTW @ 1600MHz FSB 2 x EVGA 8800GTX 768MB (SLI) @ 625/1500/2000MHz 2x2GB G.Skill PC2-8000 PQ @ 800MHz (linked to FSB) 
Hard DriveOptical DriveOSMonitor
2x160GB WD RAID 0, 750GB Samsung Spinpoint F1 LITE-ON 20X SATA DVD/CD RW Windows 7 Ultimate x64 Viewsonic VA2702w 27" LCD 1920x1080 
KeyboardPowerCaseMouse
Logitech Value 100 (beer magnet) Corsair TX 750W Cooler Master ATCS 840 Logitech SBF-90 (cheapest one on Newegg) 
Mouse Pad
Some kinda rubber thing (beer magnet) 
  hide details  
Reply
post #4 of 13
"Nytt Volum" lmao. It's "Lokal Disk" in Danish
#well
(18 items)
 
Lenovo L530
(8 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 4770k Gigabyte Z87X-UD4H Sapphire RX 580 2x G.Skill F3-2400C10-8GTX 
Hard DriveOptical DriveCoolingOS
Samsung 840 EVO Generic DVD±RW Burner Noctua NH-D14 Windows 10 
MonitorMonitorKeyboardPower
Dell U2711 Samsung SyncMaster 2233 Ducky DK9008 Overclock.net Edition, Cherry MX B... Corsair TX850 
CaseMouseMouse PadAudio
Fractal Design Core 2500 Logitech G303 Xtrfy GP3 HeatoN M-Audio Fast Track USB 
AudioAudio
Beyerdynamic DT-770 80 Ohm AntLion ModMic v3 
CPUGraphicsRAMRAM
Intel Ivy Bridge 3210M Intel HD 4000 Graphics OEM Hard Mounted Corsair Vengeance  
Hard DriveOptical DriveOSMonitor
OCZ Vertex 3 240GB DVD-+RW Arch Linux 1600x900 TN 
  hide details  
Reply
#well
(18 items)
 
Lenovo L530
(8 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 4770k Gigabyte Z87X-UD4H Sapphire RX 580 2x G.Skill F3-2400C10-8GTX 
Hard DriveOptical DriveCoolingOS
Samsung 840 EVO Generic DVD±RW Burner Noctua NH-D14 Windows 10 
MonitorMonitorKeyboardPower
Dell U2711 Samsung SyncMaster 2233 Ducky DK9008 Overclock.net Edition, Cherry MX B... Corsair TX850 
CaseMouseMouse PadAudio
Fractal Design Core 2500 Logitech G303 Xtrfy GP3 HeatoN M-Audio Fast Track USB 
AudioAudio
Beyerdynamic DT-770 80 Ohm AntLion ModMic v3 
CPUGraphicsRAMRAM
Intel Ivy Bridge 3210M Intel HD 4000 Graphics OEM Hard Mounted Corsair Vengeance  
Hard DriveOptical DriveOSMonitor
OCZ Vertex 3 240GB DVD-+RW Arch Linux 1600x900 TN 
  hide details  
Reply
post #5 of 13
I get an error: Cannot import C:\\WINDOWS\\DriveIcons.reg: the specified file is not a registry script. You can only import binary registry files from within the registry editor.

Any idea how to import it using regedit?
Firefly
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 2500 ASUS P8Z68-V LX ASUS 6950 + Powercolor 6950 (CF) Gskill Ripjaw 8Gb 
Hard DriveOptical DriveCoolingOS
A-Data S599 SSD (RAID0) Does this matter anymore? Lots of fans Windows 7 Home Premium 64-bit 
MonitorKeyboardPowerCase
ASUS 27", ACER 24'' x 2 Logitech G15 Coolermaster Extreme Power + 700W Coolermaster Stacker 830 Evo 
MouseMouse PadAudioOther
Logitech G5 Laser Razer Mantis Creative X-Fi Gamer Logitech Z5500's 
  hide details  
Reply
Firefly
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 2500 ASUS P8Z68-V LX ASUS 6950 + Powercolor 6950 (CF) Gskill Ripjaw 8Gb 
Hard DriveOptical DriveCoolingOS
A-Data S599 SSD (RAID0) Does this matter anymore? Lots of fans Windows 7 Home Premium 64-bit 
MonitorKeyboardPowerCase
ASUS 27", ACER 24'' x 2 Logitech G15 Coolermaster Extreme Power + 700W Coolermaster Stacker 830 Evo 
MouseMouse PadAudioOther
Logitech G5 Laser Razer Mantis Creative X-Fi Gamer Logitech Z5500's 
  hide details  
Reply
post #6 of 13
Pretty cool, but I just use the icons from those Vista Transformation Pack things.
('́⌣'̀ )
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500K ASUS P8P67 (REV 3.0) MSI GTX 560Ti Twin Frozr II/OC 8GB G.SKILL Ripjaws 1600 
Hard DriveOSPowerCase
Seagate 500GB Windows 7 x64 Corsair HX650 Antec 900 
Mouse
Logitech MX518 
  hide details  
Reply
('́⌣'̀ )
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500K ASUS P8P67 (REV 3.0) MSI GTX 560Ti Twin Frozr II/OC 8GB G.SKILL Ripjaws 1600 
Hard DriveOSPowerCase
Seagate 500GB Windows 7 x64 Corsair HX650 Antec 900 
Mouse
Logitech MX518 
  hide details  
Reply
post #7 of 13
Thread Starter 
Quote:
Originally Posted by Nonchalant View Post
I get an error: Cannot import C:\\WINDOWS\\DriveIcons.reg: the specified file is not a registry script. You can only import binary registry files from within the registry editor.

Any idea how to import it using regedit?
Did you use wordpad? I got that same error when using that, use notepad.
The Blue Noob
(18 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-8350 M5A97 R2.0 NVIDIA GeForce GTX 1050 Ti Samsung  
RAMHard DriveHard DriveHard Drive
Samsung  Samsung SpinPoint WD Kingston SSD Now! 
CoolingCoolingOSMonitor
Coller Master Evo 212 Bunch of fans Windows 10 Pro x64 Acer G246HL 24" 
KeyboardPowerCaseMouse
Corsair K55 Cooler MAster 400W NZXT Guardian Corsair Harpoon RGB 
Mouse PadAudio
Corsair Asus xonar D1 
  hide details  
Reply
The Blue Noob
(18 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-8350 M5A97 R2.0 NVIDIA GeForce GTX 1050 Ti Samsung  
RAMHard DriveHard DriveHard Drive
Samsung  Samsung SpinPoint WD Kingston SSD Now! 
CoolingCoolingOSMonitor
Coller Master Evo 212 Bunch of fans Windows 10 Pro x64 Acer G246HL 24" 
KeyboardPowerCaseMouse
Corsair K55 Cooler MAster 400W NZXT Guardian Corsair Harpoon RGB 
Mouse PadAudio
Corsair Asus xonar D1 
  hide details  
Reply
post #8 of 13
Here's a tip, this seems to work in Vista x64 (and possibly x32) as well. I used it to change my card reader icons ;-)
Project Sonic 11
(15 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 6700K MSI Z170 Gaming M5 GALAX GTX970 EXOC Black Edition 16GB DDR4 G-Skill Ripjaws V 
Hard DriveOptical DriveCoolingOS
Crucial M550 256GB SSD & Toshiba 3TB HDD LG GH24NSB0 24X DVD-RW Deepcool Maelstrom 120K Water Cooling Windows 10 Pro 
MonitorKeyboardPowerCase
AOC D2757 3D IPS ASUS Strix Tactic Pro (Cherry MX Brown) Cooler Master 850W Cooler Master CM690 III 
MouseAudio
MS Intellimouse Explorer 3.0 Onboard 
  hide details  
Reply
Project Sonic 11
(15 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 6700K MSI Z170 Gaming M5 GALAX GTX970 EXOC Black Edition 16GB DDR4 G-Skill Ripjaws V 
Hard DriveOptical DriveCoolingOS
Crucial M550 256GB SSD & Toshiba 3TB HDD LG GH24NSB0 24X DVD-RW Deepcool Maelstrom 120K Water Cooling Windows 10 Pro 
MonitorKeyboardPowerCase
AOC D2757 3D IPS ASUS Strix Tactic Pro (Cherry MX Brown) Cooler Master 850W Cooler Master CM690 III 
MouseAudio
MS Intellimouse Explorer 3.0 Onboard 
  hide details  
Reply
post #9 of 13
Thread Starter 
Quote:
Originally Posted by wocko1 View Post
Here's a tip, this seems to work in Vista x64 (and possibly x32) as well. I used it to change my card reader icons ;-)
K, thanks. I'll add that to the first post
The Blue Noob
(18 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-8350 M5A97 R2.0 NVIDIA GeForce GTX 1050 Ti Samsung  
RAMHard DriveHard DriveHard Drive
Samsung  Samsung SpinPoint WD Kingston SSD Now! 
CoolingCoolingOSMonitor
Coller Master Evo 212 Bunch of fans Windows 10 Pro x64 Acer G246HL 24" 
KeyboardPowerCaseMouse
Corsair K55 Cooler MAster 400W NZXT Guardian Corsair Harpoon RGB 
Mouse PadAudio
Corsair Asus xonar D1 
  hide details  
Reply
The Blue Noob
(18 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-8350 M5A97 R2.0 NVIDIA GeForce GTX 1050 Ti Samsung  
RAMHard DriveHard DriveHard Drive
Samsung  Samsung SpinPoint WD Kingston SSD Now! 
CoolingCoolingOSMonitor
Coller Master Evo 212 Bunch of fans Windows 10 Pro x64 Acer G246HL 24" 
KeyboardPowerCaseMouse
Corsair K55 Cooler MAster 400W NZXT Guardian Corsair Harpoon RGB 
Mouse PadAudio
Corsair Asus xonar D1 
  hide details  
Reply
post #10 of 13
Does this work in Windows XP Home edition?
I've tried that code and one other;
Code:
Windows Registry Editor Version 5.00

;Drive Icons
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\A]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\A\\DefaultIcon]
@="C:\\\\windows\\\\Resources\\\\Icons\\\\A.ico"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\C]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\C\\DefaultIcon]
@="C:\\\\windows\\\\Resources\\\\Icons\\\\C.ico"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\D]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\D\\DefaultIcon]
@="C:\\\\windows\\\\Resources\\\\Icons\\\\D.ico"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\E]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\E\\DefaultIcon]
@="C:\\\\windows\\\\Resources\\\\Icons\\\\cd.ico"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\F]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\F\\DefaultIcon]
@="C:\\\\windows\\\\Resources\\\\Icons\\\\F.ico"

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\G]
@="C:\\\\windows\\\\Resources\\\\Icons\\\\G.ico"
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DriveIcons\\G\\DefaultIcon]
@="C:\\\\windows\\\\Resources\\\\Icons\\\\G.ico"


;Folder Icon
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Icons]
"3"="C:\\\\WINDOWS\\\\Resources\\\\Icons\\\\Folder.ico"
I found this at another forum, and it's about the same code as yours, and I've also tried to combine it.
Nothing works =/

As I said, is it because of Home Edition or is my computer just hating me? <3

/jey
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › How to: Change your hard drive icons in Windows