Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 5613

Is it possible to change signing scope for RDP files?

$
0
0

Hi everyone.

I'm trying to send some command line arguments to application that published at RemoteApp server. I found the only way to do that:

mstsc.exe /remotecmdline:"my parameters" "c:\program files\RemotePackages\myapp.rdp"

 

Of course, application was published with "allow any command-line arguments" option.

It works fine when file myapp.rdp is NOT signed by server. But when I sign it, it stops accepting any arguments except null.

By investigating this issue I found that signscope line in myapp.rdp file contains "RemoteApplicationCmdLine":

signscope:s:Full Address,Alternate Full Address,Server Port,GatewayHostname,GatewayUsageMethod,GatewayProfileUsageMethod,GatewayCredentialsSource,PromptCredentialOnce,Alternate Shell,RemoteApplicationProgram,RemoteApplicationMode,RemoteApplicationName,RemoteApplicationCmdLine,Authentication Level,RedirectDrives,RedirectPrinters,RedirectCOMPorts,RedirectSmartCards,RedirectPOSDevices,RedirectClipboard,DevicesToRedirect,DrivesToRedirect

So, signature check fails due to my custom command line argument. And I have a reasonable question - how could I change signing scope? Can I exclude RemoteApplicationCmdLine parameter ftom it?


To understand recursion, you must first understand recursion.

Viewing all articles
Browse latest Browse all 5613

Trending Articles