Are you still struggling to get rid of your existing Windows 2003 Servers?
Did you forget that July14, 2015 is the END?
For more information you can go to:
http://www.microsoft.com/en-ca/server-cloud/products/windows-server-2003/default.aspx
Here is what we have been doing with our customers at a high level to fast track them off of their aging infrastructure.
Follow these 25 steps and you will be able to migrate from Windows 2003 like a champ!
Let’s take a Server that is running Windows 2003 and is a Domain Controller, DHCP, DNS, and some File Services.
- Build a new Windows 2012 R2 Server (Make sure you fully patch it)
- Join it to the Domain
- Install the AD, DHCP, DNS, and File Services (Including De-Duplication) Roles.
- Logon to the Existing Windows 2003 Domain Controller and stop the DHCP Server Service.
-
Copy the DHCP Database from the from Windows 2003 (%windir%\system32\dhcp\dhcp.mdb) to the new Windows 2012 R2 Server (c:\Export\DHCP\dhcp.mdb)
- Make sure you only grab the DHCP Database and not the associated log files.
Note: This will take all of the associated Scopes from the old server to the new one. It is a complete cutover. If you need to take individual scopes
you should use netsh or the Server Migration Toolkit.
- Make sure you only grab the DHCP Database and not the associated log files.
-
Export the DNS Configuration for all of the Standard Primary and Secondary Zones (Forward and Reverse).
- To do this export the DNS Registry keys (HKLM\Software\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones to the new Windows 2012 R2 Server (c:\export\DNS\zones.reg)
- Copy *.dns from %windir%\system32\dns to the new Windows 2012 R2 Server (c:\export\DNS)
- To do this export the DNS Registry keys (HKLM\Software\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones to the new Windows 2012 R2 Server (c:\export\DNS\zones.reg)
-
Run net share on the old server to view all of the current shared folders. Review the Permissions and decide which folders to take over to the new server
Real World Note: This is a good time to look at cleaning up some of the old shares. It is likely that most of the data isn’t even required on the new server.
It is also a good time to review the permissions to see if they are correct and in a desired state for the new server.
Using the RoboCopy command below will mirror the permissions.
- Logon to the new Windows 2012 R2 Server
-
Configure a RoboCopy script to mirror all of the desired folders to the new server
Robocopy “\\<OldServer>\client service advisors” “f:\Client Service Advisors” /MIR /SEC /SECFIX /R:5 /W:15 /MT:12 /V /NP /LOG:f:\RoboCopySync_<OldServer>_clientserviceadvisor.log
Robocopy “\\<Old Server>\client services” “f:\Client services” /MIR /SEC /SECFIX /R:5 /W:15 /MT:12 /V /NP /LOG:f:\RoboCopySync_<OldServer>_clientservices.log
Robocopy “\\<Old Server>\corporate client services” “f:\corporate Client services” /MIR /SEC /SECFIX /R:5 /W:15 /MT:12 /V /NP /LOG:f:\RoboCopySync_<OldServer>_corporateclientservices.log
Robocopy “\\<Old Server>\hrs-pdf-reports” “f:\hrs-pdf-reports” /MIR /SEC /SECFIX /R:5 /W:15 /MT:12 /V /NP /LOG:f:\RoboCopySync_<OldServer>_hrs-pdf-reports.log
Real World Note: We normally check the log files generated by this script to check for open files. Normally it can take a few days to fully Sync everything up.
In production we would likely let this run as a scheduled task for a couple of weeks and check back.
RobyCopy will only take the changing or missing files so the final run of the script is very quick.
- Setup the Shares and Share Permissions on the new Windows 2012 R2 Server.
-
Disable Strict Name Checking
- Expand the following key: HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
- Create a new DWORD (32-bit) Value of DisableStrictNameChecking
- Set the Value to 1
Real World Note: We use the above setting to help us steal the name of the old server by the creation of a CNAME record that points to the new Windows 2012 R2 Server.
This is important because a lot of users could have created mapped drives manually to the shares that will no longer exist on the old server.
- Expand the following key: HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
- Logon to the old Windows 2003 Domain Controller
- Demote the old Windows 2003 Domain Controller using DCPromo.exe
- Rename the old Windows 2003 Server (which is now a member server) to <ServerName>-Old
- Note the IP Address of <ServerName>-Old and change the IP Address
- In DNS Create a CName Record in DNS that points the old Windows 2003 Server to the name of the new Windows 2012 R2 Server
- Logon to the new Windows 2012 R2 Server
- Change the IP Address to the IP Address of the old Windows 2003 Domain Controller
Real World Note: This is a very important step because if clients or servers are configured to use the old windows 2003 Server for DNS this will allow for a seamless transition.
Also DHCP Migration requires us to use the IP Address of the old server because the existing client leases are tied to that IP Address.
-
Promote it as a Replica Domain Controller
- Validate Active Directory DNS Zones are created
- Validate AD Replication is working via the KCC (Knowledge Consistency Checker)
- Ensure there are not any errors in the event logs
- Validate Active Directory DNS Zones are created
-
Migrate DHCP
- Delete all of the existing database files including logfiles from %windir%\system32\dhcp
- Copy the old DHCP Database from c:\export\dhcp\dhcp.mdb to %windir%\system32\dhcp
- Start the DHCP Server and Authorize the DHCP Server
- You should have all of the scopes from the old server including their leases now
- Delete all of the existing database files including logfiles from %windir%\system32\dhcp
-
Migrate DNS
- Import the Registry key from c:\export\dns\zones.reg
- Copy all of the *.dns files from c:\export\dns to %windir%\system32\dns
- Restart the DNS Service
- Validate that all of the Standard Primary and Secondary (Forward and Reverse) lookup zones are there
- Import the Registry key from c:\export\dns\zones.reg
- Validate that you can browse the UNC Path of \\<oldserver>\<share> using the new CNAME
- Validate that you can browse the UNC Path of \\<newserver>\<share> using the name of the new Windows 2012 R2 Server
- Validate that DNS and DHCP are working properly
- Shut down the old Windows 2003 Server
Real World Note: We normally don’t delete the virtual machine or remove the physical server for at least a few months.
This is great thanks for the concise information.