Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch remoteapp from command line api #10

Open
veamraid opened this issue Aug 29, 2021 · 0 comments
Open

Launch remoteapp from command line api #10

veamraid opened this issue Aug 29, 2021 · 0 comments

Comments

@veamraid
Copy link

veamraid commented Aug 29, 2021

Hi,
Firstly congratulations on a wonderful tool that you have made and launched on GitHub. very helpful.

If I add the machine to a domain, add the RDS Role, connection broker, Add a Remote app collection and then use a published app, I can get the connection to the app (and not the full Remote desktop) exactly like i want it using the syntax below with the hashed password etc..

https://myserver/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=server&domain=domain[optional]&user=user&passwordHash=passwordHash&program=program[optional]&width=width(px)[optional]&height=height(px)[optional]&connect=Connect%21

But I can avoid all the lengthy setup of RDS role, adding to domain, connection broker etc. and make a simple registry entry to get the remote app defined.

I can just add registry entries for the apps i want to publish - like in the image below.

image

Now if I call this program that i have manually published using the registry entry using a RDP file (like below)- it works like a charm and notepad from the remote server opens on the local machine as a remote app.

allow desktop composition:i:0
allow font smoothing:i:0
alternate shell:s:rdpinit.exe
devicestoredirect:s:*
disableremoteappcapscheck:i:1
drivestoredirect:s:*
full address:s:192.168.86.149
prompt for credentials on client:i:1
promptcredentialonce:i:0
redirectcomports:i:0
redirectdrives:i:0
remoteapplicationmode:i:1
remoteapplicationname:s:Notepad
remoteapplicationprogram:s:||Notepad
span monitors:i:1
use multimon:i:1

The problem is that if i use the API

https://myserver/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=server&domain=domain[optional]&user=user&passwordHash=passwordHash&program=program[optional]&width=width(px)[optional]&height=height(px)[optional]&connect=Connect%21

and call the same manually published app (from registry that works using the RDP file) we get a full remote desktop and not the remotely published app.

Any great ideas on this. and if I call this URL in a Chrome window as an app, then I can get the window to resize to the size of the remote app window being published.

Hope you got the idea, Thanks in advance.

Please let me know how I can donate to this program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant