Creating a "Works on Anything" Windows XP SP2 Workstation Image
Novell Cool Solutions: Trench
By Andrew White
|
Digg This -
Slashdot This
Updated: 26 Oct 2005 |
Note: Freshly updated with a new suggestion.
This is the procedure I used to create our "works on anything" WXPSP2 ZENworks 6.5 workstation image.
- Find the oldest PC you can (in our case, a PIII450 with 256Mb RAM and an Intel 810 motherboard, for reasons to be explained later).
- Install XP Pro. (Reboot.)
- Install SP2. (Reboot).
- Run Windows Update. (Reboot.)
- Install the following NetWare client and ZENworks files:
- b2nc491.exe (although I see beta3 is out now) (No reboot.)
- Contextless Login
- ZfDAgent.msi English agent from zfd65u2.exe (No reboot.)
- nipp.exe from nipp312.exe (Reboot.)
- Login locally and tidy the PC up (delete temp files, unwanted menu items, etc).
- Run services.msc and turn off the following unused services (your site may/will vary especially if you use Active Directory and please backup first...).
- Sysprep and the answer wizard:
- Download the latest XP2 sysprep client from here
- Extract the files to c:\windows\sysprep
- Run Setupmgr.exe in the c:\windows\sysprep folder
- At the Welcome to the Windows Setup Manager Wizard screen, click Next.
- At the New or Existing Answer File screen, ensure that the Create a new answer file radio button is selected and click Next.
- At the Product to Install screen select the Sysprep Install radio button and click Next. At this point, setup the answer wizard according to your organisation's needs.
- At the end of the wizard, save the answer file as sysprep.inf and make a note of its path.
- Making the sysprep image run on any PC
- Open the recently saved sysprep.inf in notepad
- At the end of the file, add the following
[SysPrep]
BuildMassStorageSection=Yes
[SysprepMassStorage]
Save the file
(Basically what you are doing here is telling XP to take every disk driver it has and ensure that it is part of the image, thus avoiding the accursed BSoD, boot disk not found. We have found that the older the PC we use, the more sucessful this process is!) - Seal the workstation
- Copy C:\WINDOWS\Sysprep\FACTORY.EXE, SETUPCL.EXE, SYSPREP.EXE and SYSPREP.INF to c:\SYSPREP
- Run c:\sysprep\sysprep.exe
- Click on OK
- At the System Preparation Tool window enable the MiniSetup and Pre-activated tick-boxes. Ensure that Shutdown is selected from the Shutdown drop-down menu and click Reseal.
- At the prompt to continue with current settings and regenerate the SIDs click OK.
(At this point sysprep will do its magic and shutdown the PC when it's finished. Because you are using an old PC and the BuildMassStorageSection=Yes switch, this can take up to an hour to complete. Keep the faith as it hasn't hung....) - Image the PC using your imaging software of choice
| From | To | |
| Computer Browser | Automatic | Disabled |
| Distributed Link Tracking Client | Automatic | Manual |
| Error Reporting Service | Automatic | Disabled |
| Help and Support | Automatic | Manual |
| Indexing Service | Manual | Disabled |
| Logical Disk Manager | Automatic | Manual |
| Net Logon | Manual | Disabled |
| NetMeeting Remote Desktop Sharing | Manual | Disabled |
| Network Location Awareness | Manual | Disabled |
| Network Provisioning Service | Manual | Disabled |
| Performance Logs and Alerts | Manual | Disabled |
| Portable Media Serial Number | Manual | Disabled |
| QoS RSVP | Manual | Disabled |
| Remote Desktop Help Session Manager | Manual | Disabled |
| Remote Registry Service | Automatic | Disabled |
| Secondary Logon | Automatic | Disabled |
| Security Center | Automatic | Disabled |
| Server | Automatic | Disabled |
| Smart Card | Manual | Disabled |
| SSDP Discovery Service | Manual | Disabled |
| System Restore Service | Automatic | Disabled |
| TCP/IP NetBIOS Helper Service | Automatic | Disabled |
| Telnet | Manual | Disabled |
| Uninterruptible Power Supply | Manual | Disabled |
| Universal Plug and Play Device Host | Manual | Disabled |
| WebClient | Automatic | Disabled |
| Windows Time | Automatic | Disabled |
| Wireless Zero Configuration | Automatic | Disabled |
(For a full explanation of what does what, www.blackviper.com is an excellent reference site.)
This image "should" work on just about anything. We use it on everything from PIII340 up to the latest P4's, laptops and so far it's never failed to boot. You may need to have some drivers disks handy (sound and graphics are usually not found by default).
Related Reading
Check out Andrew's other XP SP2 article: Windows XP SP2 Registry Keys for Student PCs
(And for more Windows XP SP2 tips, see this article.)
Other Suggestions
Frank Peters
ENVIRONMENT: Windows-XP, 2000
MS knowledgebase article 271965
PROBLEM: Moving a standard XP installation to other hardware causes problems when booting XP on the new hardware.
"STOPL 0x0000007B..... Inaccessible_boot_device
SOLUTION: When XP setup starts it will ask the user to press F6 to install other device drivers. At that moment hit the F5 key. You can then change the hal-type XP will use. Choose 'ACPI-PC (Advanced Configuration and Power Interface). Finish the installation. Then follow the instructions in ms-kb271965. MS states that the reg file might work, but in fact it will work.
After this you can move the XP installation almost to any hardware you want. I created a installation on an P4, i810 chipset. This same installation also works fine on a P2 with i440 chipset. I even got it to work on an P2 with a VIA chipset. It also runs on a Celeron processor.
If you have any questions you may contact Frank at frank.peters@dtzc.nl
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

