Rdpsign command in Windows

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)

The rdpsign command allows users to conduct digital signatures for a remote computer protocol (Remote Desktop Protocol - RDP).To learn more about how to use this command, see the example section below.

Syntax command rdpsign

 rdpsign / sha1 [/ q | / v |] [/ l] 

Command statement rdpsign

Parameters

Describe

/ sha1

Specify a fingerprint (thumbprint).Thumbprint is a secure hash function Hash Algorithm 1 (SHA1) of the signing certificate, which is contained in the certificate store.

/ q

Silent.Will not display the output when the command is successful as well as when the command fails.

/ v

Detailed display mode.This parameter allows to display all alerts, messages and statuses.

/ l

Check signing results and output without replacing any input files.

/?

Show help at thecommand prompt.

Command statement rdpsign

Thumbprint SHA1 certificate must represent the trusted .rdp file publishing address.To get thumbprint certificates, open the snap-in certificates, double-click the certificate you want to use (or in the local computer certificate store, as well as in your personal certificate store. ), click the details tab, and then in the Field list, click the thumbprint.

( Note: When you copy the thumbprint to use with rdpsign.exe tool, you must delete all spaces).

You must specify the .rdp file (or .rdp files) to sign using the full names of the files.

The signed output files overwrite the input files.

In the case of multiple files specified, if an .rdp file cannot be read or written, the tool will ignore the file and continue to the next file.

Example command rdpsign:

To sign a .rdp file named File1.rdp, navigate to the folder where you saved the .rdp file, and then type the following:

 rdpsign / sha1 hash file1.rdp 

( Note: hash function values ​​representing thumbprint SHA1 certificate will not contain any spaces).

To check whether digital signing succeeded for the .rdp file, enter the following:

 rdpsign / sha1 hash / l file1.rdp 

To proceed with signing multiple .rdp files, use spaces to separate filenames.For example: To sign multiple files .rdp named File1.rdp, File2.rdp and File3.rdp, enter the following:

 rdpsign / sha1 hash file1.rdp file2.rdp file3.rdp 

See more:

  1. The qprocess command in Windows
  2. Qappsrv (query termserver) command in Windows
  3. The quser (query user) command in Windows
  4. The pubprn command and the pushprinterconnections command in Windows
4.2 ★ | 19 Vote

May be interested

  • Instructions for using Command PromptInstructions for using Command Prompt
    deep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
  • Rd command in WindowsRd command in Windows
    the rd command helps delete a directory
  • Cmd command in WindowsCmd command in Windows
    the cmd command starts a new version of the command interpreter, cmd.exe. if used without parameters, cmd will display copyright information and the version of the operating system.
  • How to use the command history function in Command PromptHow to use the command history function in Command Prompt
    command prompt is an extremely familiar command for anyone using windows operating system. besides, a lot of current software also supports the command line to perform actions on the command prompt window, instead of on the screen.
  • The sfc command in WindowsThe sfc command in Windows
    (applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
  • Reg command copy in WindowsReg command copy in Windows
    to copy an entry to the location specified on the local pc or the remote computer we will use the reg copy command. to learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example tipsmake.com has compiled below.
  • Fc command in WindowsFc command in Windows
    the fc command compares two files or a collection of files and displays the differences between them.
  • The echo command in WindowsThe echo command in Windows
    the echo command displays the message or turns on / off the command repeat feature. if used without parameters, the echo command will display the current echo setting.
  • Xcopy command in WindowsXcopy command in Windows
    the xcopy command is a command prompt command used to copy one or more files or folders from one location to another. with many options and the ability to copy entire directories, the xcopy command is similar to, but much more powerful, than the copy command.
  • The cacls command in WindowsThe cacls command in Windows
    the cacls command displays or modifies an arbitrary access control list (dacl) on the specified file. the command applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012.