Share via


How to edit 'Target' of RemoteApp Program on Windows Server 2012

Question

Friday, October 4, 2013 8:34 PM

Hi,

I'm trying to add a RemoteApp Program to RDWeb on Windows Server 2012 R2 but am having a bit of difficulty. I can find my program in the list of programs to publish, however, it does not work.

What I need to do is modify the target to include a .set file. For a shortcut on my desktop I simply edited its properties and added the .set file in the target after the path to the .exe. This work fine for the shortcut but I can't figure out how to replicate this for the RemoteApp Program. I tried a shortcut but it will not accept it as a correct file...

Any ideas how I can work around this or if it is even possible?

Thanks!

All replies (9)

Friday, October 11, 2013 3:44 AM ✅Answered

Hi,

As per your Comment, I am scared to say that the way which you are trying to edit the target file cannot be possible for RemoteApp.

By the way we are publishing .exe file in RemoteApp so you can’t able to add a shortcut or can’t able to change ‘Target’ field.

Thanks.


Monday, October 21, 2013 5:12 PM ✅Answered

I actually managed to figure it out using an MS article ( http://technet.microsoft.com/en-us/library/cc753610.aspx). Just need to edit the command line arguments and add your target file there. Seems to be working fine for us.


Monday, October 7, 2013 2:50 PM

Anyone know if this is possible?


Tuesday, October 8, 2013 7:42 AM

Hi,

Firstly, Can you describe the things in some elaborated way?

As what you want to do. You want to publish the RemoteApp on Server 2012 but you can‘t able to add or you can’t able to find the program which you want to add. I can’t get that for adding in RemoteApp why you are creating shortcut.

And also what you are trying to explain for” How to edit 'Target' of RemoteApp Program”. In this, what you are trying to edit.

For your better understanding for “How to publish RemoteApp in Server 2012”, here providing you link.

1.  RDS8 – Quick and Easy, RemoteApp on Windows Server 2012
2.  Publishing RemoteApps and Remote Session in Remote Desktop Services 2012

Hope This Helps!
Thanks.


Tuesday, October 8, 2013 11:56 PM

Thanks for the reply!

I can find the application I need to publish, however, I want to edit the 'Target' field of that application. When you have a shortcut on your desktop and you right click -> properties you can edit the 'Target' as you can see in my attached image (1).

The Dynamics.set is something that we added to the Target. Now the application in the list to add as a RemoteApp does not have this in the target nor can it be added since it is a .exe but I cannot simply add a shortcut.

Basically all I need to do is add this Dynamics.set to the Target of the properties of the RemoteApp so it launches when the application launches, which would load our custom code.

Is it possible to do something like this? Hopefully that makes more sense but publishing the app does not allow me to change this Target, unless there is a different method other than what you have posted in the two links.

Thanks!


Friday, October 11, 2013 1:43 AM

Hi,

There might be some time delay for proper solution. Appreciate your patience.

Thank you for your understanding and support

Thanks.


Wednesday, October 16, 2013 7:40 AM

Hi,

Do you need any other assistance? If there is anything we can do for you, please let us know.

Thanks.

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.


Monday, August 17, 2015 8:56 PM

I'm trying to do the same exact thing (run GP as published app from a Terminal ServeR) and running into the same exact problem with the .set file - how did you end up fixing it? The MS kb you referenced refers to Server 2008, we have Server 2012 which doesn't have RemoteApp Manager. 

Any help would be much appreciated. 

Thanks!


Monday, September 14, 2015 3:38 PM

I know it's a bit late, but i thought i would add this for anyone else that runs into this in the future. The solution is to run the following commands from PowerShell on the RDS server:

Get-RDRemoteApp -alias "Dynamics" | Set-RDRemoteApp -CommandLineSetting Require -RequiredCommandLine "Dynamics.set"

Refer to example 1 here: https://technet.microsoft.com/en-us/library/JJ215494.aspx