NOTE: You need to have W2K3 with SP1, both for hosting TFTPD/DHCP as well as for building the LiveXP .ISO image!
NOTE: Please read about the *much* better alternative TFTP server below!
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TFTPD] @="" "DependOnService"=hex(7):74,00,63,00,70,00,69,00,70,00,00,00,61,00,66,00,64,00,\ 00,00,00,00 "DependOnGroup"=hex(7):00,00 "Type"=dword:00000010 "Start"=dword:00000002 "ErrorControl"=dword:00000001 "ImagePath"=hex(2):63,00,3a,00,5c,00,77,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\ 5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,74,00,66,00,74,\ 00,70,00,64,00,2e,00,65,00,78,00,65,00,00,00 "DisplayName"="TFTP Server" "ObjectName"="LocalSystem" "Description"="Trivial File Transfer Protocol Server" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TFTPD\Enum] "0"="Root\\LEGACY_TFTPD\\0000" "Count"=dword:00000001 "NextInstance"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TFTPD\Parameters] "Clients"="*.*.*.*" "Masters"="" "Readable"="*" "Writeable"="" "Directory"="d:\\tftpdroot" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TFTPD\Security] "Security"=hex:01,00,14,80,b8,00,00,00,c4,00,00,00,14,00,00,00,30,00,00,00,02,\ 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\ 00,00,02,00,88,00,06,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\ 05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,04,00,00,00,00,\ 00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,00,00,14,00,00,01,\ 00,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,\ 00,00,00,00,05,20,00,00,00,25,02,00,00,01,01,00,00,00,00,00,05,12,00,00,00,\ 01,01,00,00,00,00,00,05,12,00,00,00
[SetupData] BootDevice = "ramdisk(0)" BootPath = "\i386\System32\" OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=LiveXP.iso"
C:\WINDOWS\SYSTEM32>net start tftpd
C:\WINDOWS\SYSTEM32>tftp -i localhost get winnt.sif
NOTE: The DHCP service must be installed and configured to have an active scope up and running.
NOTE: Every time a DHCP Server Option (like 067: Boot File Name) is changed you need to restart the DHCP service in order to force it to use the new settings!
043 Vendor Specific Info: 01 04 00 00 00 00 FF 066 Boot Server Host Name: myservername 067 Boot File Name: startrom.com
C:\WINDOWS\system32>netsh netsh>dhcp netsh dhcp>server \\myservername netsh dhcp server>add optiondef 60 PXEClient String 0 comment=PXE support netsh dhcp server>set optionvalue 60 STRING PXEClient netsh dhcp server>exit
C:\WINDOWS\SYSTEM32>net stop dhcpserver C:\WINDOWS\SYSTEM32>net start dhcpserver
The advantage of this PXE/TFTPD service is that you can specify PXE actions per MAC-address, i.e. whether to force just a specific server to boot into PXE upon next reboot.
The "standard" TFTPD server is not this flexible since all rebooting PXE clients will be handled the same way. Also, there is no need here to restart the DHCP service when you change a boot setting for a specific server since this is handled automagically by this much improved (but not 110% slick) PXE/TFTPD service.
And for all of us GUI friends, there is this cool GUI where you can line up all of your servers and manage them with a couple of mouseclicks ;-)