I like to have desktop icons to various removable drives (USB pen drive, media player, external HDD etc.) for easy access - I've switched off auto-play for removable drives.

However, each time I restart the PC, the shortcuts to drives which aren't currently attached have disappeared.

How can I stop this behaviour?

Update
In the end I used Desk Drive which which makes Windows work like the Mac - removable drive icons appear on the desktop when inserted and disappear when removed. This actually works better than having persistent icons as the icons only appear when the drive is ready to be used.

link|improve this question

80% accept rate
feedback

3 Answers

Very interesting question! This isn't an easy task, pelms. But here is how you do it:

I'd be interested in something simpler, in the way of a nifty little program that allowed me to create persistent device icons on the desktop. I too am interested in this functionality. So I hope someone else comes up with a simpler answer.

The solution for Windows XP involved making changes to the inf files of your removable media drivers and to the registry (under the HKLM tree). It's all on the following link and there are no reasons to doubt it will not work under for Windows 7: Personalized Icons for Devices on Windows XP at the Microsoft Hardware Developer Central.

Not only you can completely personalize your icons, you can also define a NoMediaIcons key so that the icon remains when media is removed. This makes your device icons behave much like the recycler bin, which is very cool.

Since this is a XP "hack" and I haven't tested it under Windows 7 yet to at least tell you if it's safe, please use caution. I suggest you create a restore point before trying it. But as I said, from a quick inspection of the registry I see no reason why it shouldn't work on Seven.

link|improve this answer
A thought occurred to me that changing inf files may have legal consequences I'm unaware of. This will of course include any generic drivers owned by Microsoft. So please bear that in mind. This may also explain why we can't seem to find any tool software that gives this functionality. – A Dwarf Oct 14 '09 at 21:51
The MS Hardware Dev Central page seems to be aimed at device manufacturers and gives info on how to specify custom icons to appear in My Computer and the autoplay dialog. I don't think it applies to the desktop but I may be wrong. This level of registry hacking is well out of my comfort zone though, so I think I'll give this method a pass :¬) – pelms Oct 14 '09 at 22:33
I used to use a program called Desktop Media (ianandmonica.com/desktopmedia) on XP which pops icons on the desktop when a device is connected (as on a Mac). I had problems with this on Win 7 beta but I'll try again with the RC (and RTM in a couple of weeks :¬) – pelms Oct 14 '09 at 22:36
1  
Also came across Desk Drive (blueonionsoftware.com/DeskDrive.aspx) which I'll try if Desktop Media gives me problems again. – pelms Oct 14 '09 at 22:39
+1. Nice pelms. I was more into the idea of changeable yet persistent icons. Didn't occur to me you didn't mind them go away as long as they reappeared again when you attached the device. The WHDC link works because you can then link to the drives from the desktop, by simply dragging them from explorer. They won't go away next time you reboot (or so it used tpo be). – A Dwarf Oct 14 '09 at 22:57
show 2 more comments
feedback

I'd like an answer to this as well, for me the problem is not just removable media but also mapped network drives. I'm going to try putting my shortcuts into a folder on the desktop, but this is a Very annoying change from XP!

link|improve this answer
feedback
up vote 0 down vote accepted

It seems this is a 'feature' of the Windows 7 'System Maintenance troubleshooter'.

The System Maintenance troubleshooter performs a weekly maintenance of the operating system. The System Maintenance troubleshooter either fixes problems automatically or reports problems through Action Center. When there are more than four broken shortcuts on the desktop, the System Maintenance troubleshooter automatically removes all broken shortcuts from the desktop

'Broken' shortcuts may be links to non-attached removable drives, or links to network drives - if they're not yet mapped when the program runs.

To avoid this problem, Microsoft advises limiting the number of 'broken' (or breakable) shortcuts on your Desktop to 4 or less, or as a last resort, disabling the System Maintenance troubleshooter'.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.