Enter the Netsh NPS Context on an NPS Server

Updated: February 29, 2012

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

You can use commands in the Netsh NPS context to show and set the configuration of the authentication, authorization, accounting, and auditing database used both by NPS and the Routing and Remote Access service. Use commands in the Netsh NPS context to:

  • Configure or reconfigure an NPS server, including all aspects of NPS that are also available for configuration by using the NPS console in the Windows interface.

  • Export the configuration of one NPS server (the source server), including registry keys and the NPS configuration store, as a Netsh script.

  • Import the configuration to another NPS server by using a Netsh script and the exported configuration file from the source NPS server.

You can run these commands from the Windows Server 2008 command prompt or from the command prompt for the Netsh NPS context. For these commands to work at the Windows Server 2008 command prompt, you must type netsh nps before typing additional commands and their parameters.

There are functional differences between Netsh context commands in the Windows Server 2003 family and Netsh commands in Windows Server 2008.

Administrative Credentials

To perform this procedure, you must be a member of the Administrators group on the local computer.

  1. Open Command Prompt.

  2. Type netsh, and then press ENTER.

  3. Type nps, and then press ENTER.

Community Additions

ADD
Show: