Click here to Skip to main content
13,145,068 members (56,211 online)
Click here to Skip to main content
Add your own
alternative version


10 bookmarked
Posted 15 May 2003

Changing Drive Icons in Windows 2000

, 15 May 2003
Rate this:
Please Sign up or sign in to vote.
This article explains how to change the specified Drive Icon using VB 6. This is only tested with Windows 2000.
Sample screenshot


This demo project explains how to change specified Drive Icon using VB6 in windows 2000 by manipulating the Registry. The demo project also includes a Module, explaining how to edit the registry using Registry API.

It allows to change the specified drive icon to the given path and also allows to revert back to the default icon of Windows.

For example: If you want to change Drive E icon, you need to create the Registry Value named:


When you create the above name key, it automatically creates a string named "Default".
Set its value to the path of the icon.


  • 15th May, 2003: Initial post


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

United States United States
No Biography provided

You may also be interested in...


Comments and Discussions

Questionthanks sbro.... Pin
afdoal18-Sep-11 1:38
memberafdoal18-Sep-11 1:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.170915.1 | Last Updated 16 May 2003
Article Copyright 2003 by pampatipraveen
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid