RDP file has settings that cannot be overridden message with REMOTECMDLINE parameter

%3CLINGO-SUB%20id%3D%22lingo-sub-2434645%22%20slang%3D%22en-US%22%3ERDP%20file%20has%20settings%20that%20cannot%20be%20overridden%20message%20with%20REMOTECMDLINE%20parameter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2434645%22%20slang%3D%22en-US%22%3E%3CP%3E%3CBR%20%2F%3EI'm%20trying%20to%20send%20some%20command%20line%20arguments%20to%20an%20application%20that%20is%20published%20at%20a%20RemoteApp%20server.%20(2016%20and%202019)%3C%2FP%3E%3CP%3EThe%20application%20is%20published%20with%20%22allow%20any%20command-line%20arguments%22%20option.%3C%2FP%3E%3CP%3EWhen%20I%20pass%20parameters%20and%20the%20RDP%20is%20signed%20I%20get%3A%3C%2FP%3E%3CP%3E'This%20RDP%20file%20has%20settings%20that%20cannot%20be%20overridden%20by%20command%20line'%3C%2FP%3E%3CP%3EWhen%20I%20remove%20the%20signing%20from%20the%20RDP%20file%2C%20it%20works.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20use%20parameters%20and%20keep%20de%20RDP%20file%20signed%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20testing%20I%20used%20as%20remoteapp%20wordpad%20with%20as%20parameter%20a%20filepath.%3C%2FP%3E%3CP%3Emstsc%20%2FREMOTECMDLINE%3Ac%3A%5CTemp%5Ctest1.txt%20wordpad.rdp%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETried%20already%20with%3A%3C%2FP%3E%3CP%3E1%20remoteapplicationcmdline%3As%3A%3CBR%20%2F%3E2%20remoteapplicationcmdline%3As%3A*%3C%2FP%3E%3CP%3E3%20with%20the%20line%26nbsp%3B%20%22remoteapplicationcmdline%3As%3A%22%20removed%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2434645%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ERemote%20Desktop%20Services%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eremoteapp%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Senior Member


I'm trying to send some command line arguments to an application that is published at a RemoteApp server. (2016 and 2019)

The application is published with "allow any command-line arguments" option.

When I pass parameters and the RDP is signed I get:

'This RDP file has settings that cannot be overridden by command line'

When I remove the signing from the RDP file, it works.

 

Is it possible to use parameters and keep de RDP file signed?

 

For testing I used as remoteapp wordpad with as parameter a filepath.

mstsc /REMOTECMDLINE:c:\Temp\test1.txt wordpad.rdp

 

Tried already with:

1 remoteapplicationcmdline:s:
2 remoteapplicationcmdline:s:*

3 with the line  "remoteapplicationcmdline:s:" removed

 

0 Replies