Monday, January 16, 2017

Launch a store installed app from the command line

Starting a normal app from the command line (or a script, or a scheduled task) is easy. Just start the executable.
But apps that are installed from the Windows Store don't have executables. So how do you start them?

The simplest way is if the app has a custom protocol. If it does then it's just a case of calling start and then the protocol. So, you could do something like this:

start microsoftvideo:

If you want to add a custom protocol to your app see

If the app doesn't have its own custom protocol then you'll have to launch it via the shell. Actually, the shell has its own protocol so you call something like this:

start shell:AppsFolder\Microsoft.WindowsStore_8wekyb3d8bbwe!App

 Here "Microsoft.WindowsStore_8wekyb3d8bbwe" is the PFN (Product Family Name) of the app to launch. Fortunately, these names are easy to find as there are folders with these names for each of the installed apps at "C:\Users\[username]\AppData\Local\Packages"

That folder also includes some things you can't call directly plus some folders that are actually part of other experiences (try "start shell:AppsFolder\Microsoft.Windows.SecondaryTileExperience_cw5n1h2txyewy!App" ) so you can't use everything there.



  1. I wanted to thank you for this excellent read!! I definitely loved every little bit of it.Cheers for the info!!!! & This is the perfect blog for anyone who wants to know about this topic. I like play games five nights at freddy’s 4 | game word cookies answers | hotmail sign in

  2. In my opinion, creating an app is a complicated task. I found here really valuable advice. No doubt you are doing hard work here. I get to see more useful posts from you in future. From now I am a big fan of your site. Please keep it good posting. You may use help for all new articles and be sure in their brilliant quality 24/7! You will be satisfied with their assistance.

  3. Wow! Thanks for such an interesting article! I agree that creating the app is not an easy task. At my dissertation website we have the links to our own apps. They are not perfect yet but we are trying to improve them.

  4. هل تبحث عن شركة متخصصة فى مكافحة الحشرات نحن نقدم لكم افضل شركة مكافحة حشرات فى الدمام كما انه تقدم خدمة متميزة ايضا وهى تنظيف المنازل والمجالس والفلل والقصور وسبب تقديم هذه الخدم انه تهتم بالاناقة والمنظر الخلاب والصحة العامة خدمات شركتنا كاتالى شركة مكافحة حشرات بالدمام
    شركة تنظيف بالدمام
    شركة تنظيف مجالس بالدمام