Answered by:
export import from 2016 to 2012

Question
-
Hi,
Is it possible to export for NPS server 2016 to NPS server 2012 R2 ?
When I follow either powershell or netsh it failes to import the xml file from 2016, so I guess there is no compatibility that way ?
If that is the case, Is there a command for me to import only the radius clients ?
Thanks for reply
/Regards Andreas
- Edited by Andreas2012 Friday, February 21, 2020 11:11 AM
Friday, February 21, 2020 11:11 AM
Answers
-
Hi,
>>but if fails when I am trying to export FROM 2016 -> 2012
Please try to use netsh command and check if it is successful.
Netsh command:
On the source NPS, open Command Prompt, type netsh, and then press Enter.
At the netsh prompt, type nps, and then press Enter.
At the netsh nps prompt, type export filename="path\file.xml" exportPSK=YES, where pathis the folder location where you want to save the NPS configuration file, and file is the name of the XML file that you want to save. Press Enter.
Copy the file you created to the destination NPS.
At a command prompt on the destination NPS, type netsh nps import filename="path\file.xml", and then press Enter. A message appears indicating whether the import from the XML file was successful.
Hope this can help you.
Have a nice day!
Ellen
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- Marked as answer by Andreas2012 Monday, March 2, 2020 7:13 AM
Thursday, February 27, 2020 9:28 AM
All replies
-
Hi,
>>Is it possible to export for NPS server 2016 to NPS server 2012 R2 ?
You can use the powershell command in server 2016 and server 2012 R2 to export: Export-NpsConfiguration -Path <filename>
And the import command: Import-NpsConfiguration [-Path] <String> [ <CommonParameters>]
Please refer the following link for more information:
https://docs.microsoft.com/en-us/windows-server/networking/technologies/nps/nps-manage-export
>>Is there a command for me to import only the radius clients
Please refer the following link about the command:
Hope this can help you, if you have anything unclear, please let me know.
Have a nice day!
Ellen
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.Monday, February 24, 2020 8:26 AM -
Hi,
I have tried those commands, but if fails when I am trying to export FROM 2016 -> 2012
I know if works FROM 2012 -> 2016
So I am wondering if that is the case since I am going from a newer to a lower ?
/Regards Andreas
Monday, February 24, 2020 10:29 AM -
Hi,
>>but if fails when I am trying to export FROM 2016 -> 2012
Please try to use netsh command and check if it is successful.
Netsh command:
On the source NPS, open Command Prompt, type netsh, and then press Enter.
At the netsh prompt, type nps, and then press Enter.
At the netsh nps prompt, type export filename="path\file.xml" exportPSK=YES, where pathis the folder location where you want to save the NPS configuration file, and file is the name of the XML file that you want to save. Press Enter.
Copy the file you created to the destination NPS.
At a command prompt on the destination NPS, type netsh nps import filename="path\file.xml", and then press Enter. A message appears indicating whether the import from the XML file was successful.
Hope this can help you.
Have a nice day!
Ellen
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- Marked as answer by Andreas2012 Monday, March 2, 2020 7:13 AM
Thursday, February 27, 2020 9:28 AM