Slipstreaming and Unattended Windows Media Creation

Have you ever had to reinstall Windows in an effort to fix a malfunctioning machine? Performing a clean install of Windows is no big deal, but reinstalling a non service packed version of Windows on top of a copy of Windows that does contain a service pack can causes some major problems. One solution to this dilemma is to create a Windows installation CD that already contains the service pack. That way, when you install Windows, you are installing the correct version.

In this article, I will show you how to create such a CD.

 

One bye one I will explain for different Operating Systems like Windows XP, Windows Server 2003 and finally Windows Vista with different idea and tools.

  

Let’s Go Ahead ..

 Slipstreaming:- It is the process to integrate the Service Pack into the installation so that with every new installation the Operating System and Service Pack are installed at the same time.

 

 

----------------------------------------------------------------------------------------

 

-------------Windows XP Professional--------------

 

Steps for Slipstreaming-----

 

1. Get the installation media of Windows XP SP1 (CD)

2. Get the Service Pack SP2 from Microsoft Website or

   Simply copy the URL and paste it in Web Browser (IE).

 

http://www.microsoft.com/downloads/details.aspx?FamilyID=049c9dbe-3b8e-4f30-8245-9e368d3cdb5a&DisplayLang=en

 

3. The size of SP2 is around 266 MB; download it to your Local hard disk. For my convenience I am using D:\XP-SP2.

 

4. Insert the Windows XP SP1 installation disk into CD- drive and copy all the contents to one folder in your hard disk. I am using D:\XP-SP1 to store all the files.

 

5. Once step 3 and 4 finished we can start the main processing of making Windows Installation Media.

 

6. Go to the Command Prompt by following the Start -> Run -> CMD and press ENTER.

 

7. Go to the folder where you downloaded SP2 (cd \foldername). Type the command:

 

cd D:\XP-SP2

 

It will open up a window there you need to type the command for integration.

 

Servicepack filename /integrate:drive/path.

 

In my example the command is

 

WindowsXP-KB835935-SP2-ENU /integrate:D:\XP-SP1

 

If you get the error:

 

“The Service Pack cannot integrated into a destination that also has integrated Software Updates”

 

NOTE:- This is caused by the fact that your Windows XP CD contains updates that will be automatically installed when you run setup. This type of CD's will usually be from larger OEM suppliers (like Dell, HP, or others).

 

You cannot use this type of CD to create a slipstreamed SP2 install”

 

If no error comes it will start extracting the files and folders for integration into installation folder. It will take some time depends on your hardware configuration.

 

If successful your will get a confirmation windows with the following message

 

“Integrated install has completed successfully”

 

 

8. Press the OK button to proceed.

 

  

CREATING THE BOOTABLE INSTALLATION MEDIA

For making the installation disc we can use any of the cd-burner software like Nero 7 etc.

 

For my convenience I am using the IsoBuster and Nero Burning ROM 7 to extract the bootable image and writing the ISO file to the disc. Other alternate options are available on the internet to do the same job.

 

  1. Download the IsoBuster from the following URL:

 

http://www.isobuster.com/isobusterdownload.php

 

  1. Install it on your system. After this insert the Windows XP SP1 installation disc (CD-ROM) and start the IsoBuster program.

 

  1. Start to extract the boot loader from the original Windows XP CD, Click on File -> Open CD

 

  1. After this we need to extract the Microsoft Corporation bootable image from the disk. In the left TOP panel, expand the tree structure to get the MS image file. Right-click Microsoft Corporation.img From the menu chooses Extract Microsoft Corporation.img, and extracts it to the folder on your hard drive where you have your Windows XP files (D:\XP-SP1 in my case).

 

  1. Next, start Nero Burning ROM, and choose CD-ROM (Boot) in the New Compilation window. On the Boot tab, select Image file under Source of boot image data, and browse to the location of the Microsoft Corporation.img file. Also enable Expert Settings, choosing No Emulation, and changing the Number of loaded sectors to 4 (otherwise it won't boot!)

 

  1. Some settings should look like this if not make changes accordingly.

 

    1. In the ISO Tab, File Name Length field should have

Max of 31 Char (ISO Level 2)

    1. Format – Mode 1
    2. Character set 9660(Standard ISO CD-ROM)
    3. Joliet(checked)
    4. Under Relax ISO restrictions,

                                                             i.      Allow Path depth more than 8 directories(checked)

                                                           ii.      Allow more than 255 characters in path(checked)

                                                         iii.      Do not add ‘:1 ‘ version extension(checked)

                                                       iv.     Allow more than 64 characters for Joliet Names(checked)

  1. Cconfigure the Label tab to your liking, I would however recommend that you keep the Volume Label the same as on your original Windows XP CD.

 

  1. Next press New, and from the File Browser window, select the files and folders from your slipstreamed location (in my case D:\XP-CD). Now drag & drop the selected files in the ISO1 window and Next, burn your new CD

 

  1. Finally you have Slipstreamed Windows XP Service Pack 2 CD.

 

-----------------------------------------------------------------------------------

                  -------------Windows Server 2003--------------

 

 

The Slipstreaming Process is common for Windows 2000, Windows XP and as well as Windows Server 2003. Making a bootable slipstreamed Windows installation CD out of your modified files takes a little more effort. So, you can follow the same steps to make any of the Slipstreamed Installation Media for Windows. Only thing you need Windows Server 2003 SP1 installation media, SP2 downloaded from Internet and new CD-ROM to burn the ISO file after slipstreaming, IsoBuster, Nero Burning ROM 7 etc..

 

You can get the SP2 for Windows Server 2003, from the following URL:

 

http://www.microsoft.com/downloads/details.aspx?FamilyID=95ac1610-c232-4644-b828-c55eec605d55&DisplayLang=en

 

-------------------------------------------------------------------------------------

            -------------- Windows Vista Unattended---------------

 

Requirements:-

         

-         Windows Vista Installation DVD (any Version)

-         WAIK (Windows Vista Automated Installation Kit)

 

To Download the WAIK copy and paste the URL in Web Browser

 

http://www.microsoft.com/downloads/details.aspx?FamilyID=c7d4bc6d-15f3-4284-9123-679830d629f2&DisplayLang=en

 

 

 

 

-         A USB Key (To store the answer file for installation)

-         A computer with DVD Writer, and WAIK installed on it.

 

How to create answer file?

 

  1. Insert the Windows Vista Intallation DVD in the DVD drive.
  2. Copy the Install.WIM file from DVD to Computer hard disk.
  3. Start the Windows System Image Manager.
  4. Open the image file by selecting the File -> Select Windows Image.
  5. Create a new Windows Answer file by File -> New Answer File.
  6. From the left Windows Image pane copy the following settings to new answer file:

-         Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition (1 windowsPE component).

-         Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition (1 windowsPE component).

-         Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo (1 windowsPE component).

-         Microsoft-Windows-Setup\UserData (1 windowsPE component).

-         Microsoft-Windows-Shell-Setup\OOBE (7 oobeSystem component).

-         Microsoft-Windows-Shell-Setup\AutoLogon     (7 oobeSystem component).

-         Microsoft-Windows-International-Core-WinPE (1 windowsPE component).

  1. Into the the "Answers File" pane set the following settings

-         Microsoft-Windows-Setup (1 windowsPE component).

§         Microsoft-Windows-Setup\DiskConfiguration    WillShowUI = OnError

§         Microsoft-Windows-Setup\DiskConfiguration\Disk    DiskID = 0

§         WillWipeDisk = true

-         Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition

§         Order = 1

§         Extend = true (this formats the entire disk)

§         Type = Primary

-         Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition

§         Active = true

§         Format = NTFS

§         Label = OS_Install

§         Letter = C

§         Order = 1

§         PartitionID = 1

-  Microsoft-Windows-Setup\ImageInstall\OSImage\    WillShowUI = OnError

 

-         Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo    DiskID = 0

§         PartitionID = 1

-         Microsoft-Windows-Setup\UserData    AcceptEula = true

-         Microsoft-Windows-Setup\UserData\ProductKey    Key = <product key>

§         WillShowUI = OnError

- Microsoft-Windows-Shell-Setup\OOBE    HideEULAPage = true

§         ProtectYourPC = 3

§         SkipMachineOOBE = true ProtectYourPC = 3

§         SkipUserOOBE = true

- Microsoft-Windows-International-Core-WinPE    InputLocale = <Input Locale> (es 'it-IT')

§         SystemLocale = <System Locale> (es 'it-IT')

§         UILanguage = <UI Language> (es 'en-US')

§         UserLocale = <User Locale> (es 'it-IT')

- Microsoft-Windows-International-Core-WinPE\SetupUILanguage    UILanguage = <UI Language>

- Microsoft-Windows-Shell-Setup\AutoLogon    Enabled = true

§         LogonCount = 5

§         Username = Administrator

- Microsoft-Windows-Shell-Setup\AutoLogon\Password    <strongpassword>

  1. Save the Answer File into the USB Key
  2. You are now ready to run your Windows Vista unattended installation with the following command:

setup /unattend: answerfilename

Note that Windows Vista setup program automatically looks for answer files named "AutoUnattend.xml" in several different locations including a previously cached answer file and an answer file at the root of a drive

By Raman Katwal   Popularity  (1945 Views)