Forum Discussion

BlackMudec's avatar
BlackMudec
Copper Contributor
Jun 10, 2021

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


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

 

No RepliesBe the first to reply

Resources