Network Policy Server Management with Administration Tools
Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016
You can use this topic to learn about the tools that you can use to manage your NPS servers.
After you install NPS, you can administer NPS servers:
- Locally, by using the NPS Microsoft Management Console (MMC) snap-in, the static NPS console in Administrative Tools, Windows PowerShell commands, or the Network Shell (Netsh) commands for NPS.
- From a remote NPS server, by using the NPS MMC snap-in, the Netsh commands for NPS, the Windows PowerShell commands for NPS, or Remote Desktop Connection.
- From a remote workstation, by using Remote Desktop Connection in combination with other tools, such as the NPS MMC or Windows PowerShell.
In Windows Server 2016, you can manage the local NPS server by using the NPS console. To manage both remote and local NPS servers, you must use the NPS MMC snap-in.
The following sections provide instructions on how to manage your local and remote NPS servers.
Configure the Local NPS Server by Using the NPS Console
After you have installed NPS, you can use this procedure to manage the local NPS server by using the NPS MMC.
To complete this procedure, you must be a member of the Administrators group.
To configure the local NPS server by using the NPS console
In Server Manager, click Tools, and then click Network Policy Server. The NPS console opens.
In the NPS console, click NPS (Local). In the details pane, choose either Standard Configuration or Advanced Configuration, and then do one of the following based upon your selection:
- If you choose Standard Configuration, select a scenario from the list, and then follow the instructions to start a configuration wizard.
- If you choose Advanced Configuration, click the arrow to expand Advanced Configuration options, and then review and configure the available options based on the NPS functionality that you want - RADIUS server, RADIUS proxy, or both.
Manage Multiple NPS Servers by Using the NPS MMC Snap-in
You can use this procedure to manage the local NPS server and multiple remote NPS servers by using the NPS MMC snap-in.
Before performing the procedure below, you must install NPS on the local computer and on remote computers.
Depending on network conditions and the number of NPS servers you manage by using the NPS MMC snap-in, response of the MMC snap-in might be slow. In addition, NPS server configuration traffic is sent over the network during a remote administration session by using the NPS snap-in. Ensure that your network is physically secure and that malicious users do not have access to this network traffic.
To complete this procedure, you must be a member of the Administrators group.
To manage multiple NPS servers by using the NPS snap-in
- To open the MMC, run Windows PowerShell as an Administrator. In Windows PowerShell, type mmc, and then press ENTER. The Microsoft Management Console opens.
- In the MMC, on the File menu, click Add/Remove Snap-in. The Add or Remove Snap-ins dialog box opens.
- In Add or Remove Snap-ins, in Available snap-ins, scroll down the list, click Network Policy Server, and then click Add. The Select Computer dialog box opens.
- In Select Computer, verify that Local computer (the computer on which this console is running) is selected, and then click OK. The snap-in for the local NPS server is added to the list in Selected snap-ins.
- In Add or Remove Snap-ins, in Available snap-ins, ensure that Network Policy Server is still selected, and then click Add. The Select Computer dialog box opens again.
- In Select Computer, click Another computer, and then type the IP address or fully qualified domain name (FQDN) of the remote NPS server that you want to manage by using the NPS snap-in. Optionally, you can click Browse to peruse the directory for the computer that you want to add. Click OK.
- Repeat steps 5 and 6 to add more NPS servers to the NPS snap-in. When you have added all the NPS servers you want to manage, click OK.
- To save the NPS snap-in for later use, click File, and then click Save. In the Save As dialog box, browse to the hard disk location where you want to save the file, type a name for your Microsoft Management Console (.msc) file, and then click Save.
Manage an NPS Server by Using Remote Desktop Connection
You can use this procedure to manage a remote NPS server by using Remote Desktop Connection.
By using Remote Desktop Connection, you can remotely manage your NPS servers running Windows Server 2016. You can also remotely manage NPS servers from a computer running Windows 10 or earlier Windows client operating systems.
You can use Remote Desktop connection to manage multiple NPS servers by using one of two methods.
- Create a Remote Desktop connection to each of your NPS servers individually.
- Use Remote Desktop to connect to one NPS server, and then use the NPS MMC on that server to manage other remote servers. For more information, see the previous section Manage Multiple NPS Servers by Using the NPS MMC Snap-in.
To complete this procedure, you must be a member of the Administrators group on the NPS server.
To manage an NPS server by using Remote Desktop Connection
- On each NPS server that you want to manage remotely, in Server Manager, select Local Server. In the Server Manager details pane, view the Remote Desktop setting, and do one of the following.
- If the value of the Remote Desktop setting is Enabled, you do not need to perform some of the steps in this procedure. Skip down to Step 4 to start configuring Remote Desktop User permissions.
- If the Remote Desktop setting is Disabled, click the word Disabled. The System Properties dialog box opens on the Remote tab.
- In Remote Desktop, click Allow remote connections to this computer. The Remote Desktop Connection dialog box opens. Do one of the following.
- To customize the network connections that are allowed, click Windows Firewall with Advanced Security, and then configure the settings that you want to allow.
- To enable Remote Desktop Connection for all network connections on the computer, click OK.
- In System Properties, in Remote Desktop, decide whether to enable Allow connections only from computers running Remote Desktop with Network Level Authentication, and make your selection.
- Click Select Users. The Remote Desktop Users dialog box opens.
- In Remote Desktop Users, to grant permission to a user to connect remotely to the NPS server, click Add, and then type the user name for the user's account. Click OK.
- Repeat step 5 for each user for whom you want to grant remote access permission to the NPS server. When you're done adding users, click OK to close the Remote Desktop Users dialog box and OK again to close the System Properties dialog box.
- To connect to a remote NPS server that you have configured by using the previous steps, click Start, scroll down the alphabetical list and then click Windows Accessories, and click Remote Desktop Connection. The Remote Desktop Connection dialog box opens.
- In the Remote Desktop Connection dialog box, in Computer, type the NPS server name or IP address. If you prefer, click Options, configure additional connection options, and then click Save to save the connection for repeated use.
- Click Connect, and when prompted provide user account credentials for an account that has permissions to log on to and configure the NPS server.
Use Netsh NPS commands to manage an NPS Server
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 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 2016 Command Prompt or from Windows PowerShell. You can also run netsh nps commands in scripts and batch files.
To perform this procedure, you must be a member of the Administrators group on the local computer.
To enter the Netsh NPS context on an NPS server
- Open Command Prompt or Windows PowerShell.
- Type netsh, and then press ENTER.
- Type nps, and then press ENTER.
- To view a list of available commands, type a question mark (?) and press ENTER.
For more information about Netsh NPS commands, see Netsh Commands for Network Policy Server in Windows Server 2008, or download the entire Netsh Technical Reference from TechNet Gallery. This download is the full Network Shell Technical Reference for Windows Server 2008 and Windows Server 2008 R2. The format is Windows Help (*.chm) in a zip file. These commands are still present in Windows Server 2016 and Windows 10, so you can use netsh in these environments, although using Windows PowerShell is recommended.
Use Windows PowerShell to manage NPS servers
You can use Windows PowerShell commands to manage NPS servers. For more information, see the following Windows PowerShell command reference topics.
- Network Policy Server (NPS) Cmdlets in Windows PowerShell. You can use these netsh commands in Windows Server 2012 R2 or later operating systems.
- NPS Module. You can use these netsh commands in Windows Server 2016.
For more information about NPS administration, see Manage Network Policy Server (NPS).