Creating Win XP bootable CD

aadipa

Padawan
This will be multi post guide.

I will cover :

1. WinXP bootable CD with SP2
2. Adding Post SP2 updates
3. Creating answer file
4. Customising WinXP setup process
5. Adding ur own programs to get installed automatically.

For starters these are the programs / files you will need, so go on and download them.

1. Your WinXP CD
2. Win XP SP2 -- get it here
3. Get all Post SP2 updates from here. I will work with the Full version of update pack.
4. Get latest version of nLite from here

These are the basic things to start with.

Reference: Mainly MSFN Forums... and many other sites.

Thanks to ImageShack for Free Image Hosting

Thanks to Deep for hosting some files. :)
 
OP
aadipa

aadipa

Padawan
This post will tell you about how to create a plain Windows XP Service Pack 2 bootable CD.

If you have WinXP SP2 bootable CD, you may skip this post.
If you are not sure about which version of WinXP setup you have, please continue this post

  1. You will need a lot of free space for this process. Please make sure you have around 2 GB of free space on your drive. Now copy the content of your Windows XP installation CD (all files and folders) to a new folder on the drive, which has atleast the given amount of free space.
  2. Install nLite. You will need .NET framework to run it. You can get the .NET framework runtimes from the download page of nLite. [Link given in 1st post.
  3. Start nLite. After welcome screen, it ill ask for tasks selection. Since we are creating a plain WinXP bootable CD with SP2 integrated, select only

    * Integrate a Service Pack and
    * Create a Bootable CD.
    *img49.echo.cx/img49/2471/nlitebootablexpwithsp21ta.th.jpg
  4. On the next screen, select the source of your WinXP Setup files - the folder where u put all files from XP CD. (While nLite supports files directly from CD, it will then copy all files to HDD so better why not do that beforehand?)
  5. nLite will detect the version of XP setup files and built version. If you don't have WinXP SP2 then continue to next step. If you have SP2 but built less than 2180 then u have a WinXP SP2 beta integrated, you cant use such CD to integrate SP2 Final. If your setup is detected as WinXP SP2 built 2180 then you have a WinXP SP2 setup files, you can skip next steps and directly move on to Create ISO task.
    *img133.echo.cx/img133/4734/nlitebootablexpwithsp2selectso.th.jpg
  6. Integrating SP2 : On next screen, browse to the WinXP SP2 file you downloaded/got from digit CD.
    *img136.echo.cx/img136/4298/nlitebootablexpwithsp2selectsp.th.jpg
    It may take around 15 minutes for the integration to complete. These are the screens while integration is going on.

    SP2 getting extracted:
    *img133.echo.cx/img133/6061/nlitebootablexpwithsp2extracts.th.jpg

    SP2 getting integrated:
    *img133.echo.cx/img133/238/nlitebootablexpwithsp2integrat.th.jpg
  7. After integrating SP2 completely into your WinXP source, you will see that your source is upgraded to SP2 built 2180.
    *img133.echo.cx/img133/3826/nlitebootablexpwithsp2integrat1.th.jpg
  8. On next screen, give the proper label to your CD and click make ISO. Save the ISO on your disk. You can later burn this ISO file using CD Burning tools like Nero.
    *img133.echo.cx/img133/7806/nlitebootablexpwithsp2makeiso7.th.jpg
  9. The ISO you got in previous step can be burnt to CD using any CD burner like Nero. It will be bootable CD. This WinXP SP2 built 2180 will be the base CD for all further work.

Next step will be integrating RyanVM's post SP2 update pack and Windows Media Player 10 into this source CD, so that you need not have to go to Windows update and download all those patches every time you install your OS.


Warning
Till this point, all the work done will work on all PCs. But for further work, I recommend a testing of your ISO file so that you won't end up with faulty CD. One tool that will help you to emulate a complete PC to boot and install the OS, is Microsoft Virtual PC.
you can get a 45 days trial from Microsoft Virtual PC trial download
Another popular and probable more advance tool is VMWare. Get the trial here
 

mohit

The Hardware Labs
@aadipa
can this tutorial be used for win xp home edition ? also i have downloaded RyanVM's post SP2 update pack , are all these updates required by xp home edition also ?
 
OP
aadipa

aadipa

Padawan
ferrarif50 said:
There is a simpler way to create a Windows XP bootable CD with SP2

If that seems easier than using nLite, do it. But for many GUI of nLite will be better than command prompt. Also, in next few posts there will be some things you can do using nLite only.

Anyway, I would had doen it in fewer steps.
There is no need to extract the WinXP SP2 file. Just issue this command.
Code:
WindowsXP-KB835935-SP2-ENU /integrate:D:\XP-CD
D:\WP-CD is folder, where u copied all your XP CD contents and WindowsXP-KB835935-SP2-ENU.exe is my WinXP SP2 file.
All post SP2 critical updates will support /integrate command line option to update your windows source.

This will do all the need full and update ur XP source to SP2. Now proceed to your step 2.

mohit said:
can this tutorial be used for win xp home edition ?
Yes this also applies to WinXP Home Edition.
 
OP
aadipa

aadipa

Padawan
Sorry about a long wait. but I was not at home, stayed at office so this delay.

As I have told in earlier post, this will post will deal with integrating RyanVM's Post SP2 updates and Windows Media Player 10. Also some tweaking and removal of some programs.

This process is irreversible means once you integrate Post SP2 updates and WMP 10 in your source, there is no way to remove them. But since updates are not meant for removal, it is ok for most of us. But there may be cases where particular hotfix may cause some conflict with other programs. This is not a fault of Microsoft but of other programs but still I am warning you all.

Similarly, programs removed in this process cannot be brought back since they are removed from source setup files. Also it is not easy to install them afterwards if you have installed XP with CD that have programs removed.


  1. We have already created the Bootable XP CD in the last post which has SP2 integrated. If you have not copied it to hard disk earlier, do it now. Make sure you have enough free space (Min 2GB). Your source files used in earlier post are also been updated to SP2 so if you have not deleted them, you can use that.
  2. Start nLite. On next screen, select the location of your WinXP (with SP2 integrated) setup files. nLite should detect them as built 1280.
    *img256.echo.cx/img256/4734/nlitebootablexpwithsp2selectso.th.jpg
  3. On next page select
    Integrate Hotfixes
    Remove Components
    Unattended Setup
    Options and tweaks

    *img256.echo.cx/img256/9237/nlitebootablexpwithsp2selectop1.th.jpg
  4. Added 6th June 2005 This was not given where to add Ryan's Hotfixes, though most of you must have found it out.
    This will be in Integrate Hotfixes screen, add the Ryan's hotfixes file by clicking on Insert Button.
  5. Next screen will give you some compatibility options. Select those which apply to you.
    *img256.echo.cx/img256/9063/nlitebootablexpwithsp2compatib.th.jpg
  6. In next screen, "Remove Components", you can remove Windows XP's inbuilt softwares, which you will never be using in ages. Many such softwares are installed with default XP setup and will stay on your hard drive. Removing them from here will remove them from the setup files itself. This will result in smaller setup size, and also make the installation faster.
    Spend some time in this section. You can see the description and space saved for each item.
    Select the components you want to remove.
    Do not remove Windows Media Player if you want to integrate Windows Media Player 10
    Do not remove services from here if you are not sure, you can disable them in next steps
    *img256.echo.cx/img256/2074/nlitebootablexpwithsp2removeco.th.jpg
  7. Next screen will give you to create an answer file, to create unattended setup. I use "DefaultHide" option because I give some details like User Name and Organization name while installing, while others are given in answer file. You can choose any of the options.
    *img256.echo.cx/img256/1130/nlitebootablexpwithsp2unattene.th.jpg

    Part 1:
    Give your CD-KEY and select Unattended Type. I have also disabled Hibernate.
    *img256.echo.cx/img256/8295/nlitebootablexpwithsp2unattene1.th.jpg

    Part 2:
    If Your organization has Domain server you can give its settings directly from here. You can also set to install IIS if you need it.
    *img256.echo.cx/img256/3016/nlitebootablexpwithsp2unattene2.th.jpg

    Part 3:
    Here you can give your personal details like name, computer name, workgroup, language and timezone.
    If you don't want the network prompt while in setup, then give some workgroup name. Keeping it blank will give you a prompt.
    *img256.echo.cx/img256/6487/nlitebootablexpwithsp2unattene3.th.jpg

    Part 4:
    Display settings: Modify it only if you know that your monitor will support those modes.
  8. On next screen, "Options and Tweaks", you can do a lot of tweaking stuff here. This will easily save your couple of hours and installation of some tweaking programs.

    Part1:
    I have disabled SFC (System File Checker), which if not, will give me warning if I used some modified Windows System files. I have done it because i am going to change the looks of XP setup afterwards and I don't want any error at that time.
    *img256.echo.cx/img256/5875/nlitebootablexpwithsp2optionsa.th.jpg

    Part 2:
    Here I have enabled unsigned theme support. This allows me to install lot of unsigned Visual Styles available over the net.
    *img256.echo.cx/img256/5342/nlitebootablexpwithsp2optionsa1.th.jpg

    Part 3:
    This is tweakers paradise. I will try to give some tips.

    A. Boot and Shutdown
    Select Auto End and Auto Kill for faster shutdown. But You will not get a chance to save open unsaved documents if u initiate shutdown with this tweaks enabled.

    B. Desktop, Taskbar and Start menu
    Some tweaks about removing System Icons like My Computer, My Documents.. Also Recycle Bin can be made renamable. So u can rename it to something like "कचरेका डब्बा" :D

    C. Explorer Tweaks
    Add CMD SHELL will add option to open Command Prompt Window with current folder. Like CMDHERE Powertoy.
    Add Expand to compressed setup files: Many files in i386 have extensions like xx_ which are actually compressed files, you can open them in winrar. This tweak will add option to expand them to context menu.
    Advanced Search: Makes search easier.
    Disable Sticky Keys: Those annoying prompts for sticky keys.
    Launch folder windows in separate process: To prevent crashing of whole explorer windows if 1 windows is crashed. (Very rare but useful).

    D. File Open/Save File Dialog
    You can change presets bar to C:, D:, E:, Desktop, and Network Neighborhood if you don't like default shortcuts.

    E. Internet Explorer Options
    Some normal tweaks but one I should mention is to allow IE to accept 10 connections at a time instead of 2. Much better for uses with fast internet.

    F. My Computer
    You can add many system folders to My Computer, add some to its context menu and remove shared documents from it (good if you have single use system).

    G. Privacy
    Disable Documents from start menu.
    Disable driver update internet prompt if you install drivers from CD.
    Remove Alexa Spyware: Will remove "Related" Toolbar Button in IE.

    H. Security
    Some options related to logins
    Disable administrative shares: Shares created as c$ d$ etc.. You won't even know they exists.
    Disable Web Open With prompt: Won't ask to look at website when you are opening an unknown file type and will take you directly to Select Program dialog.

    I. Speed
    Classic Control Panel: For those who hate new style control panel in XP
    Disable automatic search for network folders and Printers: For faster LAN browsing.
    Disable Optimize harddisk when idle: Good if you use other defrag utility.
    Disable paging of kernel and core OS: If you have lot of RAM and don't want core files to be moved to SWAP/Pagefile.
    Disable tracking of broken shortcuts: To prevent getting them mapped to some other program.
    Disable Warn on low disk space: Won't get warning if your hard disk is getting full.
    Do not cache thumbnails: Will not create thumbs.db file.
    Remove Remote computer namespaces: will not search for printers and scheduled tasks on network PCs thus faster browsing in LAN.

    J. Start Menu
    Huge list to customize your start menu.

    K. Taskbar
    Disable Group similar Taskbar buttons: Good to switch between opened programs
    Disable Language bar: If you don't use it
    Disable Windows tour popup: If you don't want it when you start your windows for first time.

    L. Visual Effects
    You can disable them to get faster response time and free some MBs of RAM

    *img256.echo.cx/img256/7720/nlitebootablexpwithsp2optionsa2.th.jpg

  9. Part 4
    Services Configuration
    Use this page to configure your services. Their startup types. Disable unwanted serviced etc.

    *img256.echo.cx/img256/8856/nlitebootablexpwithsp2services.th.jpg

    The ultimate reference for Windows XP Services was BlackViper's site
    www.blackviper.com
    But that site is now closed, and i don't know if it ever will be up, and I don't know any mirrors too.
    But good news is that you can check out the site in google cache. And even better, I have the sites contents in PDF.

    BlackViper's Services configuration for different users 45KB

    BlackViper's Services 411 - Everything you need to know about services 210KB

    Thanks a lot to deep for hosting those files

  10. Next screen will show the progress while updates are applied. This process may take lot of time. You may stop your antivirus, antispyware and other tools to speedup the process a little bit.
    *img256.echo.cx/img256/6033/nlitebootablexpwithsp2processi.th.jpg
  11. Finally, a window will show you about the space saved on your windows XP source CD.
    *img256.echo.cx/img256/6033/nlitebootablexpwithsp2processi.th.jpg
  12. Now that we have WinXP SP2 fully updated with latest hotfixes, we can also integrate Windows Media Player 10 in it. This is optional step.

    A. Download Bâshrat the Sneaky's WMP10 slipstreamer script from here.

    B. Create a new folder. Extract the WMP10_Slipstreamer_V11.cmd from downloaded zip to this folder. Also copy the Windows Media Player 10 setup file you downloaded to this folder. Rename it to MP10Setup.exe if it is not. Run the script.
    *img256.echo.cx/img256/7538/nlitebootablexpwithsp2wmp10bts.th.jpg

    C. New folder is created at C:\i386. Copy all newly created files from that folder to i386 folder of your XP Setup source you updated. Overwrite any old files if prompted.

    D. Now open hivedef.inf under i386 folder of your CD in notepad and look for section [Addreg]. There add the line
    Code:
    HKCU,"SOFTWARE\Microsoft\MediaPlayer\Preferences",\
    "AcceptedPrivacyStatement",0x00010003,1

    It should look like
    *img256.echo.cx/img256/7387/nlitebootablexpwithsp2edithive.th.jpg

    Now save the file.

    E. Since you have WMP10 slipstreamed, updates specific to WMP9 are not required. There are 5 such updates in RyanVM's Full Update Pack 1.2.1.
    You can download the WMP9-Less INF Files from this page. Just extract the 2 files in that CAB to your i386 folder, overwrite when prompted.

    You are done. Just 1 more step remaining.

  13. Creating bootable ISO
    Start nLite. This time select only to create bootable cd. Select the XP setup folder. Make ISO. Test it with Virtual PC / VMWare, or else burn it to CD-RW and test it on a test PC. If it works then burn it to CD-R else debug your mistake. Don't compliant to me that you wasted CD-Rs with non-working setups.


Next step will be adding your own programs to install automatically. These are installed after the installation completes via registry. This is a normal setup and you can uninstall these programs as and when you like from Add Remove programs. You can install many programs like Antivirus, Firewall, Office suites etc. Only problem is that whole files should fit in 1 CD with your XP setup.

I will also explain the process to hex modify few XP setup files to change the setup visuals. For that you will need Resource Hacker
 

shwetanshu

Cyborg Agent
aadipa said:
B. Create a new folder. Extract the WMP10_Slipstreamer_V11.cmd from downloaded zip to this folder. Also copy the Windows Media Player 10 setup file you downloaded to this folder. Rename it to MP10_Setup.exe if it is not. Run the script.

@aadipa i tried this but instead of creating the files in that folder only, it created siles in c:\I386 and also the name of the media player setup for which it searches is MP10Setup and not MP10_Setup
 
OP
aadipa

aadipa

Padawan
shwetanshu said:
aadipa said:
B. Create a new folder. Extract the WMP10_Slipstreamer_V11.cmd from downloaded zip to this folder. Also copy the Windows Media Player 10 setup file you downloaded to this folder. Rename it to MP10_Setup.exe if it is not. Run the script.

@aadipa i tried this but instead of creating the files in that folder only, it created siles in c:\I386 and also the name of the media player setup for which it searches is MP10Setup and not MP10_Setup

Thanks for correcting me. These instructions were given at BT's site so I copied it thinking the new version of slipstreamer has that features. :roll:

But since it is same as old version, I am modifing my post.
 

shwetanshu

Cyborg Agent
downloading updates is very difficult, i too faced many probs, sometimes the file d/l was only 76 KB or so, finally told Aadipa and he sent me this :
Code:
 aadipa (7:27:59 PM): or use a download manager which supports setting a referrer for download, DAP won't work but FlashGet works
aadipa (7:28:53 PM): Referrer is : *ryanvm.msfn.org/updatepack.html File URL is : *www.whatcounter.com/dlcount.php?id=RyanVM&url=files/RVMUpdatePack1.2.1Full.cab
however i suggest u d/l it without any d/l managers, i had to d/l it in Cyber cafe
 

sagar_coolx

Journeyman
i suppose that autopatcher xp contains all the updates provided fo xp,post sp2.
so,can we integrate the patches which come with autopatcher?
how?
digit provided it in this month's c.d.
 

shwetanshu

Cyborg Agent
sagar_coolx said:
i suppose that autopatcher xp contains all the updates provided fo xp,post sp2.
so,can we integrate the patches which come with autopatcher?
how?
digit provided it in this month's c.d.
how do we integrate the post sp2 updates in the WinXP CD???
 

rajat22

In the zone
Can anyone in this forum is able to give correct link to download RyanVM's Windows XP Post-SP2 Update Pack???
Otherwise all discussions are useless.
 

rajas

In the zone
HERE: RyanVM's Windows XP Post-SP2 Update Pack

Good tutorial on integrating latest updates/ Addons too. I didnt know it earlier that one could inlcude them too.
 
Top Bottom