CmdID

CmdID / Commands

rdpsign

Enables you to digitally sign a Remote Desktop Protocol (.rdp) file. Windows commands reference

On Windows File rdpsign.exe

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Enables you to digitally sign a Remote Desktop Protocol (.rdp) file. NOTE: To find out what's new in the latest version, see What's New in Remote Desktop Services in Windows Server.

rdpsign /sha1 <hash> [/q | /v |] [/l] <file_name.rdp>
rdpsign /sha1 hash file1.rdp
rdpsign /sha1 hash /l file1.rdp
rdpsign /sha1 hash file1.rdp file2.rdp file3.rdp
/sha1 <hash>Specifies the thumbprint, which is the Secure Hash Algorithm 1 (SHA1) hash of the signing certificate that is included in the certificate store. Used in Windows Server 2012 R2 and older.
/sha256 <hash>Specifies the thumbprint, which is the Secure Hash Algorithm 256 (SHA256) hash of the signing certificate that is included in the certificate store. Replaces /sha1 in Windows Server 2016 and newer.
/qQuiet mode. No output when the command succeeds and minimal output if the command fails.
/vverbose mode. Displays all warnings, messages, and status.
/lTests the signing and output results without actually replacing any of the input files.
<file_name.rdp>The name of the .rdp file. You must specify the .rdp file (or files) to sign by using the full file name. Wildcard characters are not accepted.
/?Displays help at the command prompt.

Windows

from tldr-pages, CC BY 4.0

A tool for signing Remote Desktop Protocol (RDP) files.

Sign an RDP file

rdpsign path\to\file.rdpIdentify

Sign an RDP file using a specific sha256 hash

rdpsign path\to\file.rdp /sha265 hashIdentify

Enable quiet output

rdpsign path\to\file.rdp /qIdentify
/qQuiet mode. Windows commands reference

Display verbose warnings, messages, and statuses

rdpsign path\to\file.rdp /vIdentify
/vverbose mode. Windows commands reference

Test the signing by displaying the output to stdout without updating the file

rdpsign path\to\file.rdp /lIdentify
/lTests the signing and output results without actually replacing any of the input files. Windows commands reference