
close
close
Chance to win $250 in Petri 2023 Audience Survey
In this Ask the Admin, I will show you how to launch a UWP app when Windows starts.
I recently moved over to the Windows Store version of Slack, which is not a true UWP app but a win32 desktop app packaged for distribution in the store. One annoyance is that there is not an option to automatically launch the app when Windows starts. I do not get notifications until I manually start the app.
According to Slack’s website, “To launch Slack whenever you start Windows, click your team name to open the Team Menu, select Preferences, click the Windows App tab, and check Launch app on login.” However, in the Windows Store version of Slack, this option is missing.
Slack Windows App Preferences (Image Credit: Russell Smith)
After a bit of digging around, it seems that there is not an official way to automatically launch Windows Store apps at login. With the help of the command line, you can create a shortcut that launches a UWP app from the Startup folder. There are a couple of things you should note about this method. The first is that because it uses the start.exe command to launch the app, you will see a command line prompt appear as the user logs in. It appears momentarily but then disappears. Secondly, Slack will start but it is not automatically minimized to the system tray.
To create a shortcut, you will need the app’s URL. This is easy to find in the registry.
Looking For a UWP App’s URL with the Help of Registry Editor (Image Credit: Russell Smith)
All that is left to do is create the shortcut in the user’s Startup folder.
Create a Shortcut to Launch a UWP App (Image Credit: Russell Smith)
You will now see the shortcut in the Startup folder. Log out of Windows. When you log back in, Slack will automatically start.
In this article, I showed you how to automatically launch a UWP app when Windows starts.
More in Windows Client OS
Microsoft's January Patch Tuesday Updates Fix 98 Windows Vulnerabilities
Jan 11, 2023 | Laurent Giret
How to Use Local Administrator Password Solution (LAPS) with Active Directory and Azure AD
Nov 14, 2022 | Michael Reinders
Most popular on petri