homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10)
Forum Library, Charter, Moderators: bill

Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10) Forum

XP Registry - Prevent start menu icons from being removed from memory?
JAB Creations

 3:05 am on Feb 20, 2010 (gmt 0)

I use XP and the classic start menu, a very well organized classic start menu at that.

However XP keeps unloading the icons from memory numerous times every day and half the time I end up having to recount what program I was going to load before having to go through the folders to keep it from slowing down for every menu I move past to get to the program I want to open.

I'm sure it's a registry setting somewhere though I have not been able to find it. If for some reason the thread grows too old to reply I would appreciate a private message seeing as I don't think this will get answered too quickly (and if it is that would be truly awesome!)

- John



 1:35 pm on Feb 20, 2010 (gmt 0)

I'm not sure that I understand you, however if it is simply the case that icons on your start menu are slow to appear, then the following may help...

Windows caches all icons for files into a single image list. Once an icon is added to the list, it normally remains on it until you log off. The system image list can be reset, for instance, if a file association changes but this should not occur routinely.

If the system image list is being reset, then rogue software is the most likely cause - do you have some sort of icon manager installed?

Even if the system image list is being reset, I would not expect this to be a massive problem unless your anti-virus software (real-time scanning) is faulty.


JAB Creations

 10:39 pm on Feb 20, 2010 (gmt 0)

I run my system as clean as can be and have Avast for an anti-virus. I don't have any "icon manager"...that's just...no, just no. I'd prefer the icons to stay cached but XP keeps having to reload them all that time.

- John


 12:08 am on Feb 21, 2010 (gmt 0)

Is it just the start menu or do desktop icons behave similarly?

There is a registry setting that might possibly be faulty. Look in
There may be a key called DefaultIcon - if there is, rename it to something else, log off and log on again.

This key should not be present for lnkfile but if it were present it might possibly have the effect you have described. (NOTE : That's LNKFILE not INKFILE)


JAB Creations

 4:57 pm on Feb 21, 2010 (gmt 0)

Thank you for your suggestions Kaled. I tried your second recommendation and the problem still persisted unfortunately.

However I apparently found a solution that is shared from a different problem, as long as it works right?

You have to save and execute the following file and naturally it requires a reboot. I haven't had to wait for the icons to load at all for about a day now so it seems to have worked just fine!

- John

Option Explicit

Set WSHShell = WScript.CreateObject("WScript.Shell")

Dim WSHShell, n, p, itemtype, mybox

p = "HKCU\Control Panel\Desktop\WindowMetrics\IconTitleWrap"

itemtype = "REG_SZ"

n = "0"

WSHShell.RegWrite p, n, itemtype

MyBox = MsgBox("You must Log Off/Log On for the changes to take effect.", 64,"Done")


 6:38 pm on Feb 21, 2010 (gmt 0)

I'll bet your hard drive is on the way out.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10)
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved