Remote app workaround for windowsapps (new outlook new teams etc...)

Didnt find anything native in Azure for the applications that install under "C:\ProgramFiles\WindowsApps\". so hope this helps someone.

Issue comes down to the path to these new applications includes the version number so a remoteapp to the file path does not work. Example the New Outlook installs at "C:\Program Files\WindowsApps\Microsoft.OutlookForWindows_1.2024.214.400_x64__8wekyb3d8bbwe\olk.exe" but when it updates then the path changes.

What I did come across is you can launch it with a short name from cmd with: "EXPLORER.EXE shell:AppsFolder\Microsoft.OutlookForWindows_8wekyb3d8bbwe!Microsoft.OutlookForWindows" or run with: "shell:AppsFolder\Microsoft.OutlookForWindows_8wekyb3d8bbwe!Microsoft.OutlookForWindows"

While both of those worked "C:\Program Files\Windowsapps\Microsoft.OutlookForWindows_8wekyb3d8bbwe!Microsoft.OutlookForWindows" or "C:\Program Files\Windowsapps\Microsoft.OutlookForWindows_8wekyb3d8bbwe!Microsoft.OutlookForWindows\olk.exe" did not as the Shell:windowsapps folder goes to special folder accessed by CLSID SHELL:::{4234d49b-0245-4df3-B780-3893943456e1}


Remoteapp fortunately allows for the "shell:AppsFolder\Microsoft.OutlookForWindows_8wekyb3d8bbwe!Microsoft.OutlookForWindows" to be used as the application path

unfortunately the icon path can not use the same path for w/e reason. so if you copy the executable to another location such as "C:\Icons\" then you can use the icon without issues when the app updates

And shows up cleanly

I do not have a simple way to copy the olk.exe with no potential issues but I added this to my powershell script for the new outlook install and it seems to be working fine.

mkdir C:\Icons

Copy-Item Microsoft.OutlookForWindows_*__8wekyb3d8bbwe\olk.exe C:\Icons\olk.exe

Obviously some logic to detect as well to avoid false errors.


Not sure what every app would be but these are 2 that had come up for me and I tested.

New Teams: shell:AppsFolder\MSTeams_8wekyb3d8bbwe!MSTeams

New Outlook: shell:AppsFolder\Microsoft.OutlookForWindows_8wekyb3d8bbwe!Microsoft.OutlookForWindows

You can create a shortcut from the Shell:AppsFolder to figure out other apps but I guess Microsoft doesnt want the full path to be easy to find as its un-selectable...


Comments (2 comments)

Dave Stephenson

Very cool!
Carl Long, do you think we can feature some of these ideas in an upcoming Nerdio Webinar?
Maybe as a way to bring back "What the Chuck?"? 😉

Carl Long

Dave Stephenson - I love that idea!  I'm working with Chuck on this now and will see what we can put together :)


Please sign in to leave a comment.