After my hard disk failure last month, I decided to resurrect a project that I had shelved some time ago – implementing an unattended setup for my PCs at home. I have a variety of computers from HP (Compaq), IBM and Dell, which makes things slightly more complicated than it might otherwise be (although not impossible), so this was an opportunity to implement some of the business desktop deployment (BDD) technologies that I practise at work to implement a standard operating environment (SOE) and allow me to rebuild PCs at will.
My previous experience with unattended installations has largely been on the server side, basically amending and appending OEM installation scripts (e.g. Compaq/HP SmartStart or the HP ProLiant Essentials Rapid Deployment Pack (RDP)). This time I had a plethora of drivers to consider, and a limited (zero) budget. To allow for a repeatable, customisable, build I decided not to use any imaging technologies but instead to create a standard unattended setup, including all the drivers needed for the various PCs and a common set of applications. One thing I could rely on the presence of was Pre-boot eXecution Environment (PXE)-enabled workstations, so I set up and configured Microsoft Remote Installation Services (RIS) to serve my Windows XP + SP2 installation “image” (not really an image, but that’s the RIS terminology).
Incidentally, the most complete resource for information on creating unattended builds that I am aware of is the Microsoft Software Forum Network’s “Creating the Ultimate Unattended XP CD”. Although CD based, this gives much of the information needed for a successful RIS-based installation.
Everything was looking good until I tried to perform a PXE network service boot and connect to the RIS server. I could see that my DHCP server was issuing IP addresses to clients but they received an error:
PXE-E53: No Boot Filename Received
Basically, the PXE clients couldn’t find the RIS server. DHCP was being served from an ADSL router and I couldn’t find any way to configure the router to redirect PXE clients. Logically, interaction between the PXE client, the DHCP server and the RIS server should not have been affected by the router because PXE uses DHCP broadcast requests and all the computers were all on the same subnet but once DHCP was migrated to the RIS server, the error disappeared and the RIS Client Installation Wizard ran as expected. Since then, I’ve found Microsoft PSS’ Technical Guide to Remote Installation Services, which suggests various troubleshooting actions but for now it works, so maybe I’ll investigate further some other time.
The next issue was that Windows XP setup failed as the network drivers for the Broadcom BC570x NIC in my Dell Latitude D600 were not available from the Windows XP installation source:
The operating system image you selected does not contain the necessary drivers for your network adapter. Try selecting a different operating system image. If the problem persists, contact your administrator. Setup cannot continue. Press any key to exit.
Microsoft state that a hot fix is required to resolve this issue; however the Broadcom driver FAQ gives an alternative resolution which involves editing the B57WIN32.INF setup information file. I didn’t want to do this as it would break the digital signature and I would prefer to construct the build using signed drivers only. Instead, I used the latest drivers (v7.86) from Broadcom rather than the Dell-packaged version and once I had integrated the network drivers with the RIS installation source, deleted any instances of precompiled setup information (.PNF) files and restarted the Boot Information Negotiation Layer service, I was able to commence my unattended Windows setup.
This time, a new error halted text-mode setup:
File b57w2k.sys caused an unexpected error (21) at line 3788 in d:\xpsprtm\base\boot\setup\setup.c. Press any key to continue.
Some posts in the Bink.nu and MSFN forums led me to a solution for this by copying the Windows 2000 version of the drivers (B57W2K.SYS) to the Windows XP installation source \i386 folder alongside the Windows XP driver (B57XP32.SYS) and the setup information file (B57WIN32.INF).
Once the Dell PC was working, I had the same issue with an IBM ThinkPad T40 with an Intel PRO/100 VE card and so it seems logical to assume that this issue may apply to a variety of NICs.
For the BC570x, a Windows User Group (Nordic) article which discusses integration of Intel and Broadcom drivers with RIS images suggests rewriting the B57WIN32.INF file to replace all references to B57W2K.SYS with B57XP32.SYS, but again, I avoided this to prevent issues with unsigned drivers. Intel’s solution to installing PRO/100 or PRO/1000 NICs via RIS requires a further download but I got it working by applying the same resolution as for the Broadcom drivers – i.e. using IBM’s distribution of the Intel drivers (v7.0.28.0) and including the Windows 2000 E100BNT5.SYS driver in the Windows XP installation source \i386 folder for text-mode setup.
I should point out that it was only necessary to add these network drivers to the \i386 folder on the Windows XP installation source in order to use the NIC to copy files during setup and it is still necessary to add OEM device drivers to the Windows XP installation source for all undetected devices in order to allow the drivers to be used during the plug and play (PnP) section of setup.
After a couple of days downloading, integrating and testing drivers, my RIS-based Windows XP installation works for all of my computers and now I can focus on the finer points of the build, tuning the Windows XP installation and adding applications to my SOE.
Re DHCP problem .. I have found that it is not possible to have the DHCP server service present on a RIS server, unless it is the active DHCP server for the subnet. In your example, was the DHCP server service present on your RIS server, but not in use (ie no scope of inactive scope)?
I’m pretty sure that DHCP was not installed originally (but can’t be 100% certain). Now the DHCP service is running on the RIS server and it is the active server for the subnet (hence the reason that RIS and DHCP are co-existing without issue).
I’ve had similar problems with DHCP and RIS clients. In my case I had DHCP active and running on the RIS server. What was preventing the clients from connecting was the default gateway I had set in my scope options. The RIS clients were having problems because they were looking to the gateway for RIS. Removing the default gateway option from the scope fixed the problem.
Mark,
I had similar problem. This really helped me. Thanks
Great blog dude :)
I tip my virtual hat to you, pal. You helped me solve a RIS problem I had with a HP Proliant DL380 G4 server. Thanks!
Had exactly the same problem with a Broadcom driver, the solution could have taken hours to figure out if I hadn’t read your blog, thanks very much!
Thanks for the Broadcom driver solution.
Thanks Mark,
I’ve been working on an Intel driver RIS Problem all morning, but this post finally pointed me in the right direction. Good work.
Hi,
thank you for this interesting information. I am in the middle of all this right now, so I can make good use of it, thanks!
Doela, CH
It seems like my problem is pretty similar. I’ve got the RIS and DHCP on one win 2k3 Server with 3 nics for 3 subnets. I only got trouble with the following combination:
-Intel Pro NIC on the server (only one subnet, the others have different NICs and work)
-Broadcom NetXtream NIC on the client
-DHCP reservation(!!!!!!)
If I don’t make a reservation, the client gets a free IP out of the subnet and RIS and later DHCP in Win XP works great. If I make the Reservation, RIS won’t work and DHCP in Win XP doesn’t work either!!!
had the same problem with a d600. copying the w2k file fixed it. thanks man!
If your DHCP-Server and your RIS are on different machines, you need these entries on your DHCP-Server:
066 Boot Server Host Name = IP address of my RIS server and
067 Bootfile Name = OSchooser\i386\startrom.com
Anonymous – thanks for the tip re: DHCP options 66 and 67 (I was aware of these but hadn’t mentioned them specifically in the post); however in this case the DHCP server was an ADSL router and the user interface didn’t allow for the specification of these options, hence the need to migrate DHCP onto something with a little more control (i.e. a Windows server).
Mark
I to am having problems with RIS
I quickly over came the problems with the Broadcom Drivers
but now the install stops with the error “File iastor.sys caused an unexpected error (21) at line 3540 in d:\xpsprtm\base\boot\setup\setup.c
Thank you a thousand times over. In setting up RIS to image multiple HO DL380 G4 systems your workaround for the broadcom driver saves me huorsof search and destroy. Wouldn’t it be nice if HP actually used a native driver.
Couple years later, this is still helping people! Thanks man!
1001 thanks!!!
i had the same driver problem with setting up windows xp sp2 via ris on an ibm thinkpad t43p with broadcom netxtreme (“The operating system image you selected does not contain the necessary drivers for your network adapter. Try selecting a different operating system image. If the problem persists, contact your administrator. Setup cannot continue. Press any key to exit.”)
i’ve been trying different ways to solve the problem, which took me hours and hours (also contacted lenovo support – they also had no idea).
hard to believe that it’s as simple as adding the w2k-driver to the installation source!
many thanks again!!!