8.06.2011

Win NT Domain upgrade to Win 2008 in Virtual Box

Environment:
All server is running in Virtual Box (VM server).
All server is English Version.


Assumption:
NT Domain Name: MS_DOMAIN
192.168.0.15        Real Primary Domain Controller (MS_DOMAIN-PDC)
192.168.0.231     Backup Domain Controller / Virtual Primary Domain Controller (MS_DOMAIN-BDC)
192.168.0.232     Test Windows XP Workstation (WKS-TEST01)
  1. Create new VM Guest, setup Network Adapter attached to Bridge Adapter, create new Hard Disk size to 2GB.
  2. Install a new Win NT 4.0 as Backup Domain Server.
  3. Network protocol should install TCP/IP(assign a static IP) and NetBIOS
    Do not config DNS & WINS
  4. Install NT 4.0 Service Pack 6, restart VM Guest.
  5. Install Virtual Box Guest Additions, restart VM Guest.
  6. Sync with PDC, shut down the VM Guest and backup or take a snapshots.
  7. Setup the VM Guest network adapter attached to "Internal Network"
  8. Promote BDC to PDC
    "Programs" -> "Administrative Tools(Common)" -> "Server Manager" select your BDC (MS_DOMAIN-BDC), "Computer" -> "Promote to Primary Domain Controller"
  9. Take Snapshot for VM Guest
  10. Upgrade to Windows 2003
  11. When installation is completed, Windows 2003 will ask you setup Active Directory.
    Choose create a new "Domain in a new forest" press next,
    then choose "No, just install and configure DNS on this computer" press next,
    enter Full DNS name "MSDOMAIN.com" (Remove all non letter character),
    choose the forest functional level "Windows 2000" press next > next > next,
    choose "Permission compatible with pre-Windows 2000 server operating systems. 
  12. Enter Restore mode password "helloworld" press next > next > next.
  13. Restart Computer.
  14. Raise AD Functional Level
  15. "Start" -> "Administrative Tools" -> "Active Directory Domains and Trusts"
    Right click domain "MS_DOMAIN.com" -> "Raise Domain Functional Level..."
    Click "Raise" -> OK -> OK
  16. Restart Windows 2003 and make sure AD work properly, then shut down.
  17. Create a new Hard Disk with 10GB space, and use "Clonezilla" to clone the NT4 image to new Hard Disk image.
  18. Use GParted to resize the new Hard Disk NTFS Partition to 10GB
  19. Insert Windows 2008 Server CD, open command prompt (cmd), goto folder d:\sources\adprep (d: is your DVD drive letter)
  20. Run "ADPREP /FORESTPREP"
  21. Run "ADPREP /DOMAINPREP"
  22. Run "ADPREP /DOMAINPREP /GPPREP"
  23. Upgrade to Windows 2008
  24. After completed the 2008 upgrade, install "Guest Additions" for Ethernet Card Driver (You Ethernet Card should change to "Intel PRO/1000 MT Server")
  25. Raise AD Functional Level Again
    "Start" -> "Administrative Tools" -> "Active Directory Domains and Trusts"
    Right click domain "MSDOMAIN.com" -> "Raise Domain Functional Level..."
    Click "Raise" -> OK -> OK
  26. Change Your DHCP Server add put 192.168.0.231 a the primary DNS server.
  27. Finish