Hi Guys

A weird situation: Just finished building my PC (XP). But my D drive has no icon! It has one of those icons when a file is not recognized by windows or has no application installed. Otherwise it works fine. All other drives (C, B, E and even network drives) are okay. How do I get my drive icon back!

Cheers

Dani AI

Generated

A few targeted checks that haven't been mentioned yet for — a single drive showing a generic "unknown file" icon usually comes from something sitting in the root of that volume or a per-letter override in the registry. and pointed at system-level causes; below are safe, specific steps to look for the other common culprits.

First, look for an autorun.inf in the root of D:. In Windows XP enable "Show hidden files and folders" and temporarily uncheck "Hide protected operating system files", then open D:\autorun.inf in Notepad. If it contains an Icon= line that points to a missing file, Explorer can show a generic file icon. To remove a stubborn autorun file from a command prompt run:

attrib -s -h -r D:\autorun.inf
del D:\autorun.inf

After removal refresh Explorer (F5) or log off and back on.

Second, check for a per-drive registry override. Open regedit and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D\DefaultIcon

Export that key first (File -> Export) as a backup. If the D subkey exists, either delete it or correct the DefaultIcon value; removing the key returns Explorer to the system default icon. Be careful editing the registry and keep the exported .reg file in case you need to restore.

If those two checks don’t help, confirm in Computer Management -> Disk Management that D: is a normal volume (not a mounted folder) and scan the drive root for any hidden desktop.ini or unusual .ico/.exe files. If the icon still won’t change, capture a screenshot of the icon and the root directory listing (including hidden files) — that information usually points straight to the offending file or registry entry.

Recommended Answers

All 2 Replies

Assuming you expect D drive is a hard drive, then what drive letter is your cdrom ?

Try changing cdrom to P or Q and everything shpuld be ok.

Try reloading your icon cache with some software like TuneUp Utilities!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.