Install Windows 2003


For a more detailed explanation of the files required to install Windows 2003 via RIS please read the Windows 2000/XP/2003 PXE Files and Winnt.sif sections.

Steps 1-7 (below) can be automated by running 6a_RIS.cmd

  1. Extract startrom.n12 from C:\PXE\tftpboot\win2k3\i386\STARTROM.N1_ to C:\PXE\tftpboot\ . Open a command prompt and enter the following command -
    C:\PXE\tools\7za.exe e C:\PXE\tftpboot\win2k3\i386\startrom.n1_ -o"C:\PXE\tftpboot" startrom.n12
  2. Extract setupldr.exe from C:\PXE\tftpboot\win2k3\i386\setupldr.ex_ to C:\PXE\tftpboot\  by entering the following command -
    C:\PXE\tools\7za.exe e C:\PXE\tftpboot\win2k3\i386\setupldr.ex_ -o"C:\PXE\tftpboot" setupldr.exe
  3. Copy ntdetect.com from C:\PXE\tftpboot\win2k3\i386\  to C:\PXE\tftpboot\ 
    copy C:\PXE\tftpboot\win2k3\i386\ntdetect.com C:\PXE\tftpboot
  4. Open notepad and enter the following text, then save as C:\PXE\tftpboot\winnt.sif (remember to change the IP address for the server if it was not set as 192.168.2.2 - refer to Winnt.sif section) -
    [SetupData]
    OsLoadOptions = "/fastdetect"
    ; Needed for first stage
    SetupSourceDevice = "\Device\LanmanRedirector\192.168.2.2\tftpboot\win2k3"

    [data]
    floppyless = "1"
    msdosinitiated = "1"
    ; Needed for second stage
    OriSrc = "\\192.168.2.2\tftpboot\win2k3\I386"
    OriTyp = "4"
    LocalSourceOnCD = 1
    DisableAdminAccountOnDomainJoin = 1
    AutoPartition=0

    [UserData]
    ; ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    ComputerName="*"
  5. Rename C:\PXE\tftpboot\startrom.n12 as startrom.0
  6. Rename C:\PXE\tftpboot\setupldr.exe as ntldr
  7. Add a menu entry -

If you plan to add options to install another operating system via RIS or to add a Windows XP/2003 based WinPE image then follow the instructions below as ntdetect.com, ntldr, startrom.0 and winnt.sif will need to be renamed and the embedded settings within these files will need editing.

To automate the following steps run 6a_RIS.cmd to complete steps 1-6, then run 6c_RIS.cmd -

To install 2003 to a client PC ensure that C:\PXE\tftpd32\tftpd32.exe and C:\PXE\binl\binlsrv.exe have been started, then boot the client PC using PXE boot option and select the Install Windows 2003 menu option.