0

I am system admin and wondering if there is a way to start windows store app automatically during system restart? Using Window Server 2012 R2 64 bit. Thanks.

regards, Lin

Lin Ma
  • 9,739
  • 32
  • 105
  • 175

2 Answers2

1

You can achieve that by creating a uri launch protocol and launch the app by this protocol.. this is the only way I see in this situation.

See more here: https://msdn.microsoft.com/en-us/windows/uwp/launch-resume/handle-uri-activation

UPDATE:

Now for launching that automatically, use start command, this command allow us to start modern apps (Windows Store Apps).. for example, this will launch the store @ home page:

start ms-windows-store://home

In real scenario: create .cmd file and write your command name (Your app protocol) and move this file to C:\Users\{username}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Nasser AlNasser
  • 1,725
  • 2
  • 11
  • 12
  • Thanks Nasser, vote up, great idea. But how to skip user interactions? – Lin Ma Mar 26 '16 at 22:08
  • Thanks Nasser, 1. in your solution of `start ms-windows-store://home`, it only start the app, if the app has user interaction, the user interaction cannot be skipped? 2. Wondering if we could have a windows store app without user interaction? So that we can put it into start menu and keep it running when system restarts? – Lin Ma Mar 27 '16 at 22:16
  • Thanks for all the help Nasser, mark your reply as answer. :) – Lin Ma Apr 20 '16 at 04:16
1

I tried the same a few weeks ago but for now is not supported. please read this answer UWP app start automatically at startup

Community
  • 1
  • 1
RicardoPons
  • 1,323
  • 9
  • 14
  • Thanks RicardoPons, vote up. Have you read reply from Nasser? It seems possible to resolve this problem by put it into start-up folder? – Lin Ma Mar 27 '16 at 22:17
  • 1
    that only works for Win32 apps I tried that before without success – RicardoPons Mar 27 '16 at 22:20
  • 1
    actually the app launch but is not possible without user interaction – RicardoPons Mar 27 '16 at 22:21
  • what do you mean Win32 app? Not Windows store app? – Lin Ma Mar 27 '16 at 22:34
  • For your comments, "the app launch but is not possible without user interaction", you said it is launched, but not possible? Seems conflict, what do you mean exactly? Thanks. :) – Lin Ma Mar 27 '16 at 22:35
  • 1
    classic apps(Desktop apps, Windows forms,wpf) launch modern apps(uwp) automatically without user interaction is not supported – RicardoPons Mar 27 '16 at 22:36
  • Thanks RicardoPons, you mean leveraging classic app to launch UMP? In my case, I do not have classic app, and I only have UMP. Possible to start UMP automatically through the solution of start-up folder? Thanks. – Lin Ma Mar 27 '16 at 22:58
  • 1
    I tried that you said of start-up folder without success – RicardoPons Mar 28 '16 at 04:39