Forum Discussion
Default apps in WVD
Hi lukemurraynz
Do you have an example script?
I think the issue I have is the target location is as below as it is not a local installed app.
"C:\Users\jonpaul\AppData\Local\Apps\Remote Desktop\msrdc.exe" "C:\Users\jonpaul\AppData\Local\rdclientwpf\1ed5d778-cf01-41d2-996d-ffe4d90b44d1\0c3203ce-050b-4fb0-a5b2-08d9520686ac.rdp" /u:jonpaul@mckeefehl.co.nz /l:2 /p:13188 /r:3 /n:"Adobe Acrobat DC"
SetUserFTA.exe -Parameters "mailto Outlook.URL.mailto.15"
SetUserFTA.exe get- JPLewisAug 02, 2021Copper Contributor
Hi lukemurraynz
I think the issue when looking into this is all the local apps associate themselves with an "AppXxxxxx" ID for Regedit to identify what application needs to run for the file type.
1) I am running Azure Virtual Desktop which runs locally on the machine via the installed app "Remote Desktop" however if you assign this as the default app as expected you will only be able to open the "Remote Desktop" however get an error of unable to open file with this application as it can't read the file (Obviously) which is why I am saying the file needs a couple of things to run.
Target File = "C:\Users\jonpaul\AppData\Local\Apps\Remote Desktop\msrdc.exe" "C:\Users\jonpaul\AppData\Local\rdclientwpf\4ec108f6-9882-4f6b-879b-6c38fda0c6e2\0c3203ce-050b-4fb0-a5b2-08d9520686ac.rdp" /u:jonpaul@mckeefehl.co.nz /l:2 /p:12872 /r:3 /n:"Adobe Acrobat DC"
When you split the Target file up you get the below:
"C:\Users\jonpaul\AppData\Local\Apps\Remote Desktop\msrdc.exe"
This is "Remote Desktop"
"C:\Users\jonpaul\AppData\Local\rdclientwpf\4ec108f6-9882-4f6b-879b-6c38fda0c6e2\0c3203ce-050b-4fb0-a5b2-08d9520686ac.rdp"
This is "Adobe Pro DC"
/u:jonpaul@mckeefehl.co.nz /l:2 /p:12872 /r:3 /n:"Adobe Acrobat DC"
This is for Adobe Pro DC and Remote Desktop to authenticate you have access to read the Remote installed app.
2) As I see it within SetUserFta you would either need a second field to read the authentication (/u:jonpaul@mckeefehl.co.nz /l:2 /p:12872 /r:3 /n:"Adobe Acrobat DC") to be able to get your machine to even think of running the "Remote Desktop Application"
Please let me know if I am missing a vital part of assigning the "Remote Desktop App"
Maybe I shouldn't be using the path of C:\user\username\Appdata\..... feel free to look me up on LinkedIn Jon-Paul Lewis
- lukemurraynzAug 03, 2021Learn ExpertI can't think of anything specific off the top of my head.
It may be that that kind of seamless interaction may not be possible, even if you could get the PDF to open with Remote Desktop, it won't pass through the file, you may have to use OneDrive on the session hosts to share the files between the two.- JPLewisAug 03, 2021Copper Contributor
I think you may have nailed it on the head with not being able to read the files from the local machine even though the app seamlessly works as a local app.
We are using OneDrive replication so we are able to use the application to detect the file as OneDrive appears as a folder within the server.
I think the workaround or the solution that actually works is have all your apps installed on the "Remote Desktop" then you are able to assign "Server Defaults" so "Outlook" is able to open "Excel, Adobe, and any other file type"
Which in turn means that your local machine should be used like a "Thin Client" with nothing installed except "Remote Desktop"