0

I have multiple users using a Windows Server 2016 Remotely.

Currently, each user has an exe file on their desktop - program.exe with a custom configuration argument:

program.exe --conf=D:/username/config.ini

Now I'd like to set up this program as a RemoteApp over RDP. How do I set the custom argument for every user individually to go to a specific path? (or a rule, like ~/config.ini under home directory)

Amit
  • 5,924
  • 7
  • 46
  • 94

2 Answers2

0

It isn't really clear what you are asking, however you can set the arguments for the remoteapp by right clicking, choosing "properties" and setting the command line arguments.

Fraser
  • 15,275
  • 8
  • 53
  • 104
0

If you are asking for powershell:

New-RDRemoteApp -CollectionName "Remoteapp Collection" -DisplayName "Some program" -FilePath "C:\Program Files\Program\program.exe" -CommandLineSetting Require -RequiredCommandLine "--conf=D:/username/config.ini"

Jurgen
  • 1