It is currently Thu Jun 07, 2018 9:09 pm

All times are UTC - 8 hours [ DST ]


Forum rules


Please, keep discussions on topic and in the right forum. The start menu topics go into the Classic Start Menu forum, etc. This makes it easier for people to locate topics they are looking for.
If you get a satisfactory response to your question, please mark the topic as "solved". Click the green √ button in the bottom-right of the post.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Wed Aug 16, 2017 8:31 pm 
Offline

Joined: Wed Aug 16, 2017 8:03 pm
Posts: 15
Good day.

I'm sure this has been discussed before, but the Forum will not let me search for "Frequent Programs" and so I am unable to find the topic.

I have recently discovered a small bug in the start menu with my new Kaspersky Anti-Virus on Win7. No problem, I thought, I'll just switch to using the Classic Shell one (I was already using Classic Shell to make changes to Windows' own Start Menu anyway). But I discovered that the list of Frequent Programs in Classic Shell is different than the one Windows shows in its own Start Menu. Not a huge problem, but there is ONE program I use frequently which just REFUSES to appear in Classic Shell's list of frequent programs. It does appear if I change to Recent Programs, but no amount of coaxing makes it appear in Classic Shell's Frequent Programs.

How is this possible? Don't both Start Menus use the same database, maintained by Windows?

I increased the number of shown Frequent Programs to 40 in Classic Shell, to see if perhaps the program was just a bit lower in the list, but nope, it just won't show :-(

Here are screenshots:
Windows-Start-Menu with IpNetInfo in Frequent Programs
Classic-Shell-Start-Menu with 40 Frequent Programs and no IpNetInfo

Can someone explain and/or let me know what I need to do to have IpNetInfo show in CS's Frequent Programs list?

Thank you much.
Best Regards,


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 16, 2017 10:35 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5331
Is the program pinned to the taskbar or the start menu? That would prevent it from showing in the list.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 17, 2017 5:29 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5341
I installed this NirSoft tool but it appeared in my Frequent list after launching it a couple of times. So technically, there's nothing odd about its shortcut or the app itself to prevent it from appearing in the Frequent list. No idea what could be causing your issue.

P.S. Offtopic but wow you seem to be a power user!

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and did Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 17, 2017 4:38 pm 
Offline

Joined: Wed Aug 16, 2017 8:03 pm
Posts: 15
Hi guys.

Thanks for the quick reply. Nope, I haven't pinned the program anywhere. And it shows in Classic Shell if I use "Recent Programs" - it just won't show in "Frequent Programs" mode, and it really should, since I use it frequently. Is Classic Shell using the "UserAssist" registry keys to find Frequent Programs? I just installed the UserAssist tool from Didier Stevens (https://blog.didierstevens.com/?s=userassist) but something's not right, I see like 400 entries and 99% have a counter (number of times used) of zero. Either the tool is wrong or I do not understand how the database works.

Should I just reset the database and see? I'd like to avoid that, but if that's the only thing that comes to mind, I'll clear it.

Thanks.
Best Regards,


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 17, 2017 10:50 pm 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5341
I use this app called Start Menu Frequent Programs (http://www.byounce.com/clicks/click.php?id=5). You can enter the UserAssist CLSIDs in it and then it decodes those Registry keys. The UserAssist CLSIDs for Windows 7/8.1 are:

{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA},{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}

One is for LNK and other is for EXE files. Run it as administrator and enter these CLSIDs in Tools menu -> Options.

If I remember correctly, the Windows 7 UserAssist algorithm had some weird requirements: the program's shortcut must be in the Start Menu Programs folder, launched at least once using the shortcut for it to show up in the UserAssist Registry.

The Recent list will show it without issues because it is not based on data collected by Windows. It is maintained internally by Classic Shell. The Frequent list depends on what Windows collects and stores in the Registry. Classic Shell merely decodes it and "presents" it.


Attachments:
SMFP (Small).png
SMFP (Small).png [ 253.95 KiB | Viewed 1969 times ]

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and did Classic Shell's testing and usability/UX feedback.
Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 18, 2017 7:18 pm 
Offline

Joined: Wed Aug 16, 2017 8:03 pm
Posts: 15
Hi Gaurav.

I downloaded Start Menu Frequent Programs; it shows pretty much the same thing as UserAssit program - i.e. 99% of all listed programs have a count=0. I have no idea how you managed a runCount of 72 for Notepad - I've used my Notepad just as much, but its count remains at 6 (my highest count). Windows seems to reset counts regularly. Your tool lets us change the run count however, so I increased IpNetInfo's two entries (LNK and EXE) from "2" to "99" -> It climbed near the top in Windows' own Start Menu; restarted Classic Start Menu -> Still not visible.

Quote:
If I remember correctly, the Windows 7 UserAssist algorithm had some weird requirements: the program's shortcut must be in the Start Menu Programs folder, launched at least once using the shortcut for it to show up in the UserAssist Registry.

Yup, but I'm good there, it's in ProgramData\blabla\StartMenu and that's where I run it from (e.g. from the Start Menu).

Quote:
The Recent list will show it without issues because it is not based on data collected by Windows. It is maintained internally by Classic Shell. The Frequent list depends on what Windows collects and stores in the Registry. Classic Shell merely decodes it and "presents" it.

Ah! Didn't know that. I know Classic Shell doesn't present the list "exactly" like Windows - for one thing, Windows seems to place a big emphasis on how recently you used the program, I'm not sure Classic Shell follows the same logic. But that still does not explain why IpNetInfo is missing completely from the Classic Shell Frequent Programs - it is in the database, and even when I set the run count higher than everything else, it remains missing.

I can delete single entries with your tool - I will try deleting IpNetInfo and then run it a lot; see if that brings it back...
If nothing works I'll just wipe the entire list...
Will report back.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 18, 2017 8:01 pm 
Offline

Joined: Wed Aug 16, 2017 8:03 pm
Posts: 15
Good day.

Okay, so I deleted IpNetInfo from UserAssist registry keys, then ran it several times -> It quickly climbed back into Windows' own Start Menu, but STILL REFUSED to show in Classic Start Menu. Hmmm. Screw it; I deleted ALL of UserAssist (using the Windows Start Menu options). Then ran IpNetInfo -> It appeared right away in Windows' Start Menu's Frequent List, since the list was now empty, but it was STILL NOT appearing in Classic Start Menu's Frequent Programs! WTF! So finally I deleted the shortcut from the ProgramData\blabla\StartMenu and re-created it. Then ran it once and NOW it is appearing in Classic Start Menu's Frequent Programs!

I had a backup of the UserAssist registry keys, so I restored (so now I had the same Frequent Programs as before) and then ran the new IpNetInfo shortcut and sure enough, it was now appearing in Classic Start Menu's Frequent Programs. Something was somehow wrong with the old shortcut. We shall never know what was wrong lol. If it happens again I will ask Ivo to maybe have a look...

So I proceeded using your Start Menu Frequent Programs tool to examine the User Assist data, and found it was full of old references to no longer existing shortcuts (like when I renamed the Start Menu Folder "DiskTools" to "Disk Tools" (with a space) ALL the old entries were still in User Assist.) So in the end I just deleted everything again lol. It will take some time to get everything back the way I liked it, but it's better I think than a database full of broken entries.

Thank's a LOT for your help!
Best Regards,


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 18, 2017 8:22 pm 
Offline

Joined: Wed Aug 16, 2017 8:03 pm
Posts: 15
Donated $15, small contribution to the cause. Gaurav you should get a portion of that :-)


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 19, 2017 4:27 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5341
Hi Sylvain, that's interesting - all the things you did. Windows does seem to periodically reset the run counts. Also, it's cool that we have a tool to not only decode the UserAssist data but also manipulate it. :)

I really have no idea why that particular shortcut was being "blocked" in Classic Start Menu's MFU list. It might be some minor bug. Well at least the other 99% of the apps do reliably show up. I am really glad with the way Ivo designed the MFU algorithm for Classic Shell. It required so much testing and observation about the way the Windows menu behaves. I think in the end, it became better than the Windows menu, which as you pointed out gives weightage to how recently the program has been run. Heck, even the description in Taskbar Properties says "Recently used programs" even though they are really your most used programs.

Classic Shell's separate Recent list is a pure first-in-first-out list. It appeared first actually in Classic Shell. The Frequent list was added in Classic Shell 4. And have you noticed the other settings related to this feature? - the Recent/Frequent lists can switch places with the Pinned app list if you like. Perhaps, the coolest feature is how Classic Shell can sort the Frequent/Recent lists by name so that makes it easier to quickly locate certain "most used" programs that you know are going to be in the list.

I remember that in the past, this exact same bug that you faced happened to me but it was for the Google Chrome shortcut. No matter how many times I had run it, it would not show up in CSM. But after a reinstall of Windows (which I had to do anyway for other reasons), the Chrome shortcut started up showing just fine. Anyway, if some app shortcut decides to act up this way, you could just pin it to the menu.

If you are interested, Raymond Chen has written some articles on this topic:
- Windows Confidential: Determining What Is Frequently Used
- What determines which programs show up on the front page of the Windows XP Start menu?
- Why doesn’t a program show up on the Start menu’s Recently Used Programs list if I just used it to open a document?

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and did Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 21, 2017 4:26 pm 
Offline

Joined: Wed Aug 16, 2017 8:03 pm
Posts: 15
Hey Gaurav.

Yeah, I bet it took lots of experimentation to get the right algorithm to show the most used programs. I read the links you posted: Funny how they say "And then we had to tweak it" - Yeah, they did tweak it: Notice how Microsoft Office programs appear right smack in the middle / near the top of the list the very first time you use them? Hahaha. I'm not sure which is better, Windows' or Classic Start Menu, I haven't used CSM a lot yet. So long as it's similar, I'll be fine. But I too am glad that Ivo coded the weight system similar to Windows', I have found it to be adequate. I didn't know/hadn't really thought about sorting the frequent list. It's a neat idea, but I kinda like knowing which program is about to drop off the list because it is at the bottom; if I sort the list then things will suddenly disappear with me not having a clue as to why.

Still don't know what was wrong with that shortcut. I think it's in my Administrator user's trashcan, I'll zip it and attach it here next time I log as Admin. Might be useful one day.

See you.
Best Regards,


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 21, 2017 9:10 pm 
Offline

Joined: Wed Aug 16, 2017 8:03 pm
Posts: 15
Alright, forget that, I checked my Recycle Bin and the shortcut's not there; lost forever now lol...


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Baidu [Spider] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.