How can we extract startup UWP applications?

S#v#n&h#i-Durga 26 Reputation points
2021-06-15T05:20:12.943+00:00

I am using C++ code base to develop a forensic tool. The requirement is to display all the startup applications. However UWP apps which are enabled to run at startup, are not found in RegEdit at "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" or any other paths which have startup applications info.

If I have to write a code to extract Startup applications like Cortana,Skype,Spotify etc (UWP apps) from registry or windows folders, how do I do it?
Is there any path where UWP startup applications are stored?

Note:

This is continuation question to :

https://answers.microsoft.com/en-us/windows/forum/windows_10-start-win_general/startup-apllications-in-windows-10/0b895da7-fa49-4a4d-816f-0adb3445fc74?messageId=1c952cf4-85f4-4bc2-bb21-5d4a7f1c9035

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

Answer accepted by question author

Jeanine Zhang-MSFT 11,356 Reputation points Microsoft External Staff
2021-06-15T07:59:58.307+00:00

Hi,

I suggest you could try to use the Windows.Management.Deployment APIs.

1,Enumerate installed packages by PackageManager.FindPackagesForUserWithPackageType

2,Use GetPackageApplicationIds to get the IDs of apps in the specified package.

3,Use StartupTask.GetAsync to get a startup task by Id.

I suggest you could refer to the sample: Enumerate app packages

Best Regards,

Jeanine


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Castorix31 91,966 Reputation points
    2021-06-15T07:26:37.32+00:00

    Was this answer helpful?