Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ASG 2020 & MS RDP App
#1
Hallo Zusammen,

wir haben gerade ASG2020 (13.0.6888.1) bei uns im Einsatz und ich wollte dort die Microsoft App "Remote Desktop" (msrdcw.exe) integrieren, also quasi die Nachfolger App vom der klassischen RDP App. Über Externe Applikationen konnte ich die App jetzt schon integrieren, so dass diese mir innerhalb vom ASG als Frame angezeigt wird Smile

Jetzt die Frage:
Bekommt man es hin, dass man die RDP Session auch als Frame darstellt, die man dann über die MS App Remote Desktop App startet? Oder muss ich die App nur anders integrieren?

Oder geht es gar vielleicht ganz einfach mit ASG2021?

Vielen Dank für eure Hilfe
Reply
#2
Ich verstehe nicht warum man überhaupt RDP per externer Applikation einbinden will? Warum wird nicht die integrierte Lösung für RDP benutzt?
Regards/Gruss
Oliver
Reply
#3
(25-01-2022, 11:08 AM)DevOma Wrote: Ich verstehe nicht warum man überhaupt RDP per externer Applikation einbinden will? Warum wird nicht die integrierte Lösung für RDP benutzt?

Würde ich ja gerne, aber wie schon geschrieben liegt das Ziel-System in der Azure Cloud und ist "nur" via der MS App "Remote Desktop" (MS Store App) erreichbar. Ich wüsste nicht wie man es über den "alten" RDP-Client erreicht (der ja auch von ASG genutzt wird für RDP).

Ich bin mittlerweile schon weitergekommen und habe jetzt sogar schon das "RDP"-File (.rdpw) über den Web Client bekommen. Jetzt wäre noch die Frage, wie bekomm ich das integriert Smile
Reply
#4
Nein das wurde nicht geschildert - aber warum soll ich ein Server in der Cloud nicht auch mit per Standard-RDP erreichen??? Ist mir nach wie vor nicht klar - vielleicht ein neues Feature?!?

rdpw-Files kannte ich bis eben noch nicht - auch die App msrdcw.exe war mir unbekannt - scheint als könnte man damit ein "Published Desktop" oder "Published Apps" in AZURE erreichen - also nicht eine Verbindung direkt zum Server - sehe ich das richtig?!? Published Apps / Desktops sind momentan nicht in ASGRD integriert.

Ich denke nicht das msrdcw der Nachfolger von mstsc ist - das scheint mir ein anderer Anwendungsfall zu sein, oder?!?
Regards/Gruss
Oliver
Reply
#5
I'm also working on this right now.  I'm just dumping what I know so far in case it helps anyone else.  I've run up against the RemoteDesktop and Microsoft.RDInfra.RDPowerShell modules not seeming to have support yet for a slight flavor change of MS virtual desktop.  They don't seem to understand the concept of the "feed" that publishes the desktops to a given user.

However, I got a little further in actually getting a session into ASGRD.  Sorry for the English response but I don't speak German, Google helped me with your comments.

Translated to English:
https://forum-asg--rd-com.translate.goog...r_pto=wapp

So by launching my desktop session from msrdcw, which subscribes to your "feed" of desktops and apps by pulling the URL https://rdweb.wvd.microsoft.com/api/arm/feeddiscovery
There is an alternate method which you can subscribe via you email used for Azure login.  I've not tried it.

I found that
C:\Program Files\Remote Desktop\msrdcw.exe, working directory : C:\Program Files\Remote Desktop

calls

C:\Program Files\Remote Desktop\msrdc.exe

and from using task manager or Process Explorer, we see the command line looks like this:


"C:\Users\me\AppData\Local\rdclientwpf\( somecrazylong hex).rdp" /u:me.lastname@mydomain.com /l:1 /p:44252 /r:3 /aidSad8digit-hex)-(4digit-hex)-(4digit-numeric-or-hex)-(4 digit hex)-(12digit-hex)  /n:"Cloud PC Enterprise 4vCPU/16GB/256GB"

I've exempted the digits because some are likely specific to our Azure instance and could identify it.

The help for msrdc.exe:

[Window Title]
Remote Desktop Usage

[Content]
MSRDC <connection file> [/u:<username>]

"connection file" -- Specifies the name of an .RDP file for the connection.

/u:<username> -- The username to use when connecting.

It doesn't specify  /l:1 /p:44252 /r:3 /aid: or /n: parameters, but I can see that n is the name of my cloud desktop.


I was able to take the above command and write a ext application, and it actually launches a session which prompts for credentials, then integrates it into a tab.  The screen size doesn't expand to fit the full tab but it does function.  This is likely because we don't have smart sizing turned on - I've not seen what the Azure side config looks like yet.  ref: https://web.archive.org/web/201710062017...ile-format and https://superuser.com/questions/98494/wi...on-the-fly

I don't know about the longevity of that rdp file.  It's signed so of course you can't alter it.  I've been using the same RDP file for 3 days now and it's still working.

The process of pulling the machines in your feed seems to be described here, though W365 could have some minor variation from Windows Virtual Desktop, I'd think it would be close or identical:
https://virtuallyflatfeet.wordpress.com/...nt-to-wvd/


Attached Files Thumbnail(s)
       
Reply




Users browsing this thread: 1 Guest(s)