Export (0) Print
Expand All

Prepare an NPS server for imaging

Updated: February 29, 2012

Applies To: Windows Server 2012

If you intend to create an image of an installation for deployment to a different computer, and the Network Policy Server (NPS) role service is installed on the source server, the server may be storing shared secrets that should be removed before creating the image. This topic contains information about how to remove the relevant settings and data from the NPS configuration.

PowerShell Logo This topic includes sample Windows PowerShell cmdlets that you can use to automate some of the procedures described. For more information, see How to Run a Windows PowerShell Cmdlet.

If your server has RADIUS clients or remote RADIUS server groups defined in the NPS configuration, you should remove them before creating an image. Use the procedures below to delete them from the NPS configuration.

If you have specified RADIUS clients on the NPS server, do the following:

  1. First display the list of RADIUS clients on the NPS server. From an elevated command prompt, type the following command and then press Enter:

    netsh nps show client
    
  2. Delete each client in the list. To delete a RADIUS client from the configuration, type the following command and then press Enter:

    netsh nps delete client [name]
    

    Example

    The following example deletes a RADIUS client named WirelessAP1 from the NPS server configuration.

    netsh nps delete client name = WirelessAP1
    
    
    TipTip
    You can delete multiple RADIUS clients by inserting a comma between each client, such as netsh nps delete client name = WirelessAP1,WirelessAP2,WirelessAP3

    PowerShell Logo Windows PowerShell equivalent commands

    In Windows Server® 2012, you can perform the same function with a Windows PowerShell command.

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

If you have configured a remote RADIUS server group on the NPS server, do the following:

  1. First display the list of remote server groups configured on the NPS server. From 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 delete a remote server group from the configuration, type the following command and then press Enter:

    netsh nps delete remoteservergroup [name =] name
    

    Example

    The following example deletes a remote RADIUS server group named RemoteServers1 from the NPS server configuration.

    netsh nps delete remoteservergroup name = RemoteServers1
    
    
    noteNote
    When you delete a remote RADIUS server group, all RADIUS servers contained within the group are deleted.

  3. Repeat this procedure for each remote RADIUS server group configured on the NPS server.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft