Dominik Geimer
Articles About
Server

Publish an RDS RemoteApp from a network share

Problem

You want to publish an application via Remote Desktop Services RemoteApp, which is located on a network share, but you get an error message when you try to do this via the Server Manager.

Solution

You can use PowerShell command New-RDRemoteApp to publish the RemoteApp.

New-RDRemoteApp -Alias "App Name" -CollectionName "Collection" -DisplayName "App DisplayName" -FilePath "\\networkshare\app.exe"

You can also publish .cmd or .bat files, but then you have to specify the -IconPath.

New-RDRemoteApp -Alias "App Name" -CollectionName "Collection" -DisplayName "App DisplayName" -FilePath "\\networkshare\app.bat" -IconPath "c:\app\app.exe"

Conclusion

As with my previous article (Change the icon of a published RemoteApp in Windows Server), not all settings can be done via the GUI, but it is still possible via PowerShell.

Previous Article

Remove back quotes around inline code in Tailwind CSS Typography

Next Article

The 3-2-1 Backup Strategy: A Simple Approach to Data Protection