Pages

Thursday, November 20, 2014

Migrate RADIUS config from Windows 2003 IAS to Windows 2008 R2 NPS

            
HI,
                 
             Recently we were into Migrating the windows Server 2003 based Radius - Internet Authentication Service (IAS) to Windows Server 2008 R2 based Network Policy Server (NPS) task, so I thought to provide the step we were followed.

To perform this migration, perform the following Easy steps:
Step 1:-
Copy IASmigreader.exe from the Windows Server 2008 R2 installation media at \sources\dlmanifests\microsoft-windows-iasserver-migplugin folder to the Windows 2003 server and run as shown below to export the IAS configurations. It will create the configuration file:
  


Step 2:-
Open the IAS.txt file and find the following text:
=================================================
SystemInfo
=================================================
0
16
515
Replace the text with:
=================================================
SystemInfo
=================================================
0000000009
16
515
Save and import the changed file. This is referenced in http://support.microsoft.com/kb/979599

Step 3:-
Copy the ias.txt file that is generated in the above command and updated as mentioned above to the Windows Server 2008 R2 and import the configuration like so:
At the 2008 R2 Server:

Open NPS console and verify the configurations have been successfully imported.
And now you should register NPS service in Active Directory from the NPS console.

Step 4:-
To register the NPS server in the default domain by using the NPS console:
Log on to the NPS server by using an account that has administrative credentials for the domain.
Open the NPS console.
Right-click NPS (Local) , and then click Register server in Active Directory . When the Register Network

Policy Server in Active Directory dialog box appears, click OK 

Regards
R.karthikeyan

Saturday, November 15, 2014

Quickly Export and Import DHCP Reservations Windows 2008, Winows 2003

            This simple process describes the how to migrate a DHCP reservation list without having to migrate the entire scope.


1.        Export the DHCP reservations, from the Old server which is to be migrated using netsh: 


  netsh dhcp server [ip address] scope [scope address] dump>c:\temp\reservations.txt
 e.g. netsh dhcp server 172.20.2.33 scope 172.16.0.0 dump>c:\temp\reservations.txt

2.        Edit the exported file in notepad 'reservations.txt' , Simply do a Find and Replace for the old DHCP server IP you ran the export on and change to the New DHCP server IP you are importing to and remove out everything else in the text file except for the reservations config section.

3.        On the New DHCP server, make sure you create the new scope first, and ten just simply run the  following command DHCP server, make sure from an elevated command prompt in 2008+(Runas  Administrator):  
   netsh exec C:\temp\reservations.txt

     

Regards
R.karthikeyan