Lab 13 Exporting and Importing the NPS Configuration
Table of Contents
Introduction
This tutorial provides a step-by-step guide on how to export and import the Network Policy Server (NPS) configuration in Windows Server 2012 R2. This process is essential for transferring NPS settings, such as RADIUS clients and servers, between different servers. Following this guide will help you efficiently manage NPS configurations.
Step 1: Open the Command Prompt as Administrator
- Right-click on the Windows icon in the taskbar.
- Select "Command Prompt (Admin)" or "Windows PowerShell (Admin)".
- Resize the window for better visibility if needed:
- Right-click on the title bar.
- Select "Properties" and adjust the font size.
Step 2: Export the NPS Configuration
-
In the Command Prompt, type the following command and press Enter:
netsh
-
Enter the NPS context by typing:
nps
-
Export the configuration to an XML file using this command:
export filename=C:\dak.xml export all=yes
- Ensure the path (
C:\dak.xml
) is accessible and that you have permission to write files there.
- Ensure the path (
-
Confirm that the NPS server configuration has been successfully exported.
Step 3: Import the NPS Configuration
- In the same Command Prompt, type the following command to import the configuration:
netsh nps import filename=C:\dak.xml
- Wait for the confirmation message indicating that the NPS server configuration has been successfully imported.
Step 4: Take a Screenshot (If Required)
- If you are required to document this process, take a screenshot of the Command Prompt showing the successful export and import messages for your records.
Conclusion
You have now successfully exported and imported the NPS configuration. This process allows you to back up your settings and transfer them between servers, facilitating better network management. For further exploration, consider practicing on different servers or experimenting with modifying the configurations before exporting.