We have an XP Task Sequence for a couple of really old applications. Here’s how I pull some of the older and unused features out with my build and capture task sequence.
Remove the following features from an XP Deploy.
- MSN Messenger
- MSN Exploder
- Windows Tour
- Outlook Express
Unattend.txt and the Build and Capture
- Create a file named unattend.txt with the following contents, place it in a package, and distribute the package to your distribution points.
[Components] msnexplr=off oeaccess=off zonegames=off msmsgs=off
- Check this list to remove any other features you don’t want.
- Edit your XP Build and Capture Task Sequence, and choose to use the unattend.txt file \ package created in step 1.
- Run the Build and Capture to pull an image without Outlook Express or MSN.
- Create a batch file named remove-windowstour.cmd with the following contents, place it in a package, and distribute the package to your distribution points
REM Loading Default User's HKCU hive REG LOAD HKLM\temp "C:\Documents and Settings\Default User\NTUser.Dat" REM Adding Config-NewUser.cmd to default user's HKCU\Runonce REG IMPORT Remove-WindowsTour.reg REM Unloading Default User's HKCU hive REG UNLOAD HKLM\Temp
- Create a reg file named remove-windowstour.reg with the following contents, place it in the same package as remove-windowstour.cmd, and update the distribution points.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\temp\Software\Microsoft\Windows\CurrentVersion\Applets\Tour] "RunCount"=dword:00000000
- Add a ‘Run Command-Line Action’ in your task sequence to run the batch file.
- Test the task sequence. It shouldn’t ask to run the Tour, and shouldn’t show the features we removed.
Technically, Outlook Express and Windows Tour aren’t ‘removed’, they’re just hidden. I’m okay with this though.