Search code examples
windows-store-appswindowwindows-server-2012-r2

start windows store app automatically during system restart?


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


Solution

  • 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