Netsh Commands for Health Registration Authority
Updated: March 29, 2012
Applies To: Windows Server 2008, Windows Server 2012, Windows Server 2012 R2
Provides Netsh commands for configuration of Health Registration Authority (HRA) for the Network Access Protection (NAP) Internet Protocol security (IPsec) enforcement method (netsh nap hra).
For information on how to interpret netsh command syntax, see Formatting Legend.
The Netsh commands for HRA offer a command-line tool that helps with the administration of HRA servers and provides an equivalent alternative to console-based management. Netsh commands for HRA provide the same functionality as the HRA console, and can be useful in the following situations:
When managing HRA servers in wide area networks (WANs), commands can be used in interactive mode at the Netsh command prompt to better manage across slow-speed network links.
When managing multiple HRA servers, commands can be used in batch mode at the Netsh command prompt to help script and automate recurring administrative tasks that must be performed for all HRA servers.
To run these commands from the command prompt, you must either enter the netsh nap hra context or prepend the context to the command. For example, if you are at the command prompt but have not typed netsh and then typed nap hra to enter the netsh nap hra context, you must type:
netsh nap hra command
where command is the command that you want to run, including all of the required parameters for the command.
The Netsh commands for HRA are grouped by the following command categories.
HRA Server Commands. These commands allow you to display, reset, back up, or restore your HRA server configuration.
HRA Certification Authority Commands. These commands allow you to configure servers running Active Directory Certificate Services that HRA uses to request health certificates.
HRA Request Policy Commands. These commands allow you to configure asymmetric keys algorithms, hash keys algorithms, cryptographic service providers, and HTTP client user agents in HRA.
The following sections provide the Netsh commands for these command categories.