Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

nscontrol displayargumentkey Command

SQL Server 2005

Updated: 5 December 2005

Displays the value of the SQL Server Notification Services key used to encrypt delivery channel and event provider arguments, if the instance uses argument encryption.


nscontrol displayargumentkey 
    [-nologo]
    [-help]
        –name instanceName
-nologo

Suppresses the product and version statement that appears when you run an nscontrol command.

-help

Displays the command syntax.

-name instanceName

Is the name of an instance of Notification Services that uses argument encryption.

Configure argument encryption using the EncryptArguments element in the instance configuration file (ICF). When the EncryptArguments value is true, Notification Services encrypts the values of delivery channel and event provider arguments before storing these values in the instance and application databases.

You initially provide the key value when you register or create the instance. You need to use the same key value when creating, updating, and registering the instance. The nscontrol displayargumentkey command enables you to view the key.

The nscontrol displayargumentkey command returns the key value from the registry.

The account used to run nscontrol displayargumentkey must be a member of the Administrators or Power Users groups in Windows, or must be the same account as used to run the instance. The account must also have permission to execute the Notification Services binary files; this permission is granted to members of the Administrators and SQLServerNotificationServicesUser Windows groups.

The following example shows how to view the argument key for the StockInstance instance.

nscontrol displayargumentkey -name StockInstance

Release History

5 December 2005

New content:
  • Added information about the SQLServerNotificationServicesUser Windows group.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.