Freigeben über


Prepare a Network Policy Server (NPS) for Imaging

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

If you intend to create an image of an installation for deployment to a different computer, and the Network Policy Server (NPS) service is installed on the source server, you may have to first remove confidential information that's stored on the server. Use these procedures to remove the relevant settings and data from the NPS configuration.

To delete RADIUS clients from the NPS configuration

  1. Display the list of Remote Authentication Dial-In User Service (RADIUS) clients on the NPS server. To do that, open an elevated command prompt, type this command, and then press Enter:

    Netsh nps show client
    
  2. Delete each RADIUS client in the list. To do that, at the elevated command prompt, type this command and then press Enter:

    Netsh nps delete client [name]
    

    For example, this command deletes a RADIUS client named <WirelessAP1> from the NPS server configuration:

    Netsh nps delete client name = <WirelessAP1>
    

    You can delete multiple RADIUS clients by inserting a comma between each client. For example:

    Netsh nps delete client name = <WirelessAP1>,<WirelessAP2>,<WirelessAP3>
    

    You can also remove a RADIUS client by using the following command.

    Remove-NpsRadiusClient [-Name] <Radius Client Name>-
    
  3. Repeat this procedure for each RADIUS client that's configured on the NPS server.

To delete a remote RADIUS server group from the NPS server configuration

  1. Display the list of remote RADIUS server groups that are configured on the NPS server. To do that, open an elevated command prompt, type the following command, and then press Enter:

    Netsh nps show remoteservergroup
    
  2. Delete each remote server group in the list. To do that, at the elevated command prompt, type this command and then press Enter:

    Netsh nps delete remoteservergroup [name =] name
    

    For example, this command deletes a remote RADIUS server group named <RemoteServers1> from the NPS server configuration:

    Netsh nps delete remoteservergroup name = <RemoteServers1>
    

Note

When you delete a remote RADIUS server group, all RADIUS servers that are contained in the group are deleted.

  1. Repeat this procedure for each remote RADIUS server group that's configured on the NPS server.

You can convert Netsh commands to Windows PowerShell® commands. For more information, see the Netshell to Powershell Conversion Guide.

See Also

Tasks

Sysprep (Generalize) a Windows installation

Concepts

Configure Windows Server Roles

Other Resources

Windows Server Deployment Options