Windows 10 "Top Apps" ,how do I get them with code?

leif li 46 Reputation points
2022-06-15T06:17:46.27+00:00

You can see in above screenshot, “Top Apps” section is pinned at the top of Windows Search fly-out and it displays frequently used apps or suggested apps by Microsoft such as Microsoft Edge, Notepad, File Explorer, Settings, etc. How do I get them with code?

Windows development Windows API - Win32
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Castorix31 90,521 Reputation points
    2022-06-15T07:31:42.897+00:00

    They are stored in UserAssist, but undocumented, so not easy to read information
    You can see : UserAssist

    3 people found this answer helpful.

  2. leif li 46 Reputation points
    2022-06-22T09:00:47.817+00:00

    in windows 10,
    C:\Users[current username]\AppData\Local\Packages\Microsoft.Windows.Search_cw5n1h2txyewy\LocalState\DeviceSearchCache\AppCache*.txt
    or
    C:\Users[current username]\AppData\Local\PackagesMicrosoft.Windows.Cortana_cw5n1h2txyewy\LocalState\DeviceSearchCache\AppCache*.txt

    latest AppCache*.txt,inside is the data in json format.
    The analysis results are as follows:
    213720-image.png

    I don't know how to attach the source code to this place.

    1 person found this answer helpful.

  3. leif li 46 Reputation points
    2022-06-15T06:18:21.377+00:00

    211574-nt00eube9x9hbj0zvnqi3.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.