Archive for category Wintel

Slipstreaming Windows Server 2008 R2 with Service Pack 1

A step-by-step guide to integrate or slipstream Service Pack 1 into Windows Server 2008 R2 DVD or ISO. This method also works for Windows 7.

Offline slipstreaming is not supported by Microsoft.
Microsoft way to do this is you have to install windows and upgrade it with the service pack and then make an image file.

Pointing upPrerequisites and Links:

I am using Windows 7 OPK for this demonstration.

image

image

image

Create folders

image

MD C:\DP\RIP

MD C:\DP\SourceDVD

MD C:\DP\SP1-Extract

MD C:\DP\SP1-CAB-EXTRACT

MD C:\DP\WIM-Mount

Copy Windows 2008 R2 DVD to C:\DP\SourceDVD

Extract Service Pack files

windows6.1-KB976932-X64-INTL.exe /extract

files are extracted in background so wait for some time.

image

[HRESULT = 0x800f082e – CBS_E_NOT_ALLOWED_OFFLINE]

This is workaround method for Offline slipstreaming to overcome stoppage which disallows the Offline slipstreaming.

  • Extract windows6.1-KB976932-X64.cab using 7-zip to C:\DP\SP1-CAB-EXTRACT
  • Right Click on NestedMPPContent.cab in C:\DP\SP1-CAB-EXTRACT –> 7-Zip –> and click on Extract Here.
  • Delete NestedMPPContent.cab
  • Right Click on KB976933-LangsCab0.cab in C:\DP\SP1-CAB-EXTRACT –> 7-Zip –> and click on Extract Here. on Confirm File Replace click Yes to All
  • Delete KB976933-LangsCab0.cab
  • Edit C:\DP\SP1-CAB-EXTRACT\Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.0.17514.mum with Notepad++.  Change second last line (Line 41)

    <mum:packageExtended xmlns:mum=”urn:schemas-microsoft-com:asm.v3″ allowedOffline=”false” projectionPeakDisk=”359″ langProjectionPeakDisk=”512″ sqmBuildNumber=”7601″ sqmAttemptAppid=”101457923″ sqmResultAppid=”101457924″ sqmPoqexecAppid=”101457925″/></package>

    to

    <mum:packageExtended xmlns:mum=”urn:schemas-microsoft-com:asm.v3″ allowedOffline=”true” projectionPeakDisk=”359″ langProjectionPeakDisk=”512″ sqmBuildNumber=”7601″ sqmAttemptAppid=”101457923″ sqmResultAppid=”101457924″ sqmPoqexecAppid=”101457925″/></package>

  • Edit C:\DP\SP1-CAB-EXTRACT\update.mum with Notepad++. Change second last line (Line 22)

<mum:packageExtended xmlns:mum=”urn:schemas-microsoft-com:asm.v3″ allowedOffline=”false” projectionPeakDisk=”359″ langProjectionPeakDisk=”512″ sqmBuildNumber=”7601″ sqmAttemptAppid=”101457923″ sqmResultAppid=”101457924″ sqmPoqexecAppid=”101457925″/></package>

to

<mum:packageExtended xmlns:mum=”urn:schemas-microsoft-com:asm.v3″ allowedOffline=”true” projectionPeakDisk=”359″ langProjectionPeakDisk=”512″ sqmBuildNumber=”7601″ sqmAttemptAppid=”101457923″ sqmResultAppid=”101457924″ sqmPoqexecAppid=”101457925″/></package>

  • Edit C:\DP\SP1-CAB-EXTRACT\update.ses with Notepad++. Change Phase under Tasks operationMode=”OfflineInstall” (Line 34)

<package id=”Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.0.17514″ targetState=”Absent”/>

to

<package id=”Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.0.17514″ targetState=”Installed”/>

  • create blank test file in C:\DP rename it to “error.log” .

Windows 2008 R2 DVD has 8 Index.

In this demonstration I will just update Index 5 (DataCenter Edition en-US)

To see available Index in Source Folder use.

Dism /Get-WimInfo /WimFile:c:\dp\SourceDVD\sources\install.wim

Output of this Command will look like this

Deployment Image Servicing and Management tool

Version: 6.1.7600.16385

Details for image : c:\dp\SourceDVD\sources\install.wim

Index : 1

Name : Windows Server 2008 R2 SERVERSTANDARD

Description : Windows Server 2008 R2 SERVERSTANDARD

Size : 10,124,038,438 bytes

Index : 2

Name : Windows Server 2008 R2 SERVERSTANDARDCORE

Description : Windows Server 2008 R2 SERVERSTANDARDCORE

Size : 3,452,350,548 bytes

Index : 3

Name : Windows Server 2008 R2 SERVERENTERPRISE

Description : Windows Server 2008 R2 SERVERENTERPRISE

Size : 10,124,137,681 bytes

Index : 4

Name : Windows Server 2008 R2 SERVERENTERPRISECORE

Description : Windows Server 2008 R2 SERVERENTERPRISECORE

Size : 3,452,242,732 bytes

Index : 5

Name : Windows Server 2008 R2 SERVERDATACENTER

Description : Windows Server 2008 R2 SERVERDATACENTER

Size : 10,124,160,905 bytes

Index : 6

Name : Windows Server 2008 R2 SERVERDATACENTERCORE

Description : Windows Server 2008 R2 SERVERDATACENTERCORE

Size : 3,452,203,837 bytes

Index : 7

Name : Windows Server 2008 R2 SERVERWEB

Description : Windows Server 2008 R2 SERVERWEB

Size : 10,011,953,253 bytes

Index : 8

Name : Windows Server 2008 R2 SERVERWEBCORE

Description : Windows Server 2008 R2 SERVERWEBCORE

Size : 3,443,281,027 bytes

The operation completed successfully.

Use Deployment Tools Command Prompt Run as Administrator

image

image

Use this Command to mount WIM

DISM.exe /Mount-Wim /WimFile:C:\DP\SourceDVD\sources\install.wim /index:5 /MountDir:C:\DP\WIM-Mount

image

image

Integrating files of SP1 to Mounted image

DISM.exe /image:C:\DP\WIM-Mount /LogPath:C:\DP\error.log /Add-Package /PackagePath:C:\DP\SP1-CAB-EXTRACT

image

image

Copy “Licenses” folder from “C:\DP\WIM-Mount\Windows\System32\en-US” to other Location. This folder will be required to edit Boot.wim and update DVD contents.

Commit the changes.

dism /unmount-wim /mountdir:C:\DP\WIM-Mount /commit

image

image

If you want to update all index proceed with mounting different Index number, then integrate SP1 Files and then unmount with commit. This will update Install.wim file for each index.

Once you are done updating all index we will proceed to export wim so it will compress the wim file.

imagex /export C:\DP\SourceDVD\sources\install.wim * C:\DP\SourceDVD\sources\tempinstall.wim /check /compress maximum

After export is completed delete install.wim and rename tempinstall.wim to install.wim in C:\DP\SourceDVD\sources\

Wildcard indicates all index will be exported to new wim.

In my case i will export only index 5

imagex /export C:\DP\SourceDVD\sources\install.wim 5 C:\DP\SourceDVD\sources\tempinstall.wim /check /compress maximum

image

this will only keep one index in new wim.

Dism /Get-WimInfo /WimFile:c:\dp\SourceDVD\sources\install.wim

Deployment Image Servicing and Management tool

Version: 6.1.7600.16385

Details for image : c:\dp\SourceDVD\sources\install.wim

Index : 1

Name : Windows Server 2008 R2 SERVERDATACENTER

Description : Windows Server 2008 R2 SERVERDATACENTER

Size : 12,743,873,210 bytes

The operation completed successfully.

Updating Boot.wim

boot.wim has 2 index we will be updating Index 2 (Setup)

Dism /Get-WimInfo /WimFile:c:\dp\SourceDVD\sources\boot.wim

Deployment Image Servicing and Management tool

Version: 6.1.7600.16385

Details for image : c:\dp\SourceDVD\sources\boot.wim

Index : 1

Name : Microsoft Windows PE (x64)

Description : Microsoft Windows PE (x64)

Size : 974,874,943 bytes

Index : 2

Name : Microsoft Windows Setup (x64)

Description : Microsoft Windows Setup (x64)

Size : 1,090,888,843 bytes

The operation completed successfully.

to mount index 2
DISM.exe /Mount-Wim /WimFile:C:\DP\SourceDVD\sources\boot.wim /index:2 /MountDir:C:\DP\WIM-Mount

image

delete all folder in “C:\DP\WIM-Mount\sources\License\en-US” and “C:\DP\WIM-Mount\sources\License\en-US” there are 3 folder in both loaction.

Now copy all folder in “Licenses” Saved earlier to both location. “C:\DP\WIM-Mount\sources\License\en-US” and “C:\DP\WIM-Mount\sources\License\en-US” there are 4 folders in all.

Now Commit this change in boot.wim

dism /unmount-wim /mountdir:C:\DP\WIM-Mount /commit

image

to reduce file size in boot.wim we will export it.

imagex /export C:\DP\SourceDVD\sources\boot.wim * C:\DP\SourceDVD\sources\tempboot.wim /check /compress maximum

image

After export is completed delete boot.wim and rename tempboot.wim to boot.wim in C:\DP\SourceDVD\sources

Updating DVD

we have two updated wim in “C:\DP\SourceDVD\sources”

image

Updating DVD I prefer PowerISO

Delete \sources\license\_default\*

image

Delete \sources\license\en-us\*

image

Both Directory with files saved from “Licenses”

image

Delete Install.wim and boot.wim from sources folder

image

Copy Install.wim and boot.wim from C:\DP\SourceDVD\sources to this dvd\sources

image

Save ISO.

Advertisements

Leave a comment

Windows Server 2008 R2 Service Pack 1 RTM Installation

Before you start installing the Service Pack

  • Before you install Windows Server 2008 R2 with Service Pack 1, follow the steps in this section to prepare for the installation.
  • Ensure that your hard drive has enough free space for the installation. Allow at least 3.3 GB for x64-based computers and 2.8 GB for Itanium-based computers. If you have installed language packs, additional disk space may be required.
  • Use an administrator account. Log on to your computer using an administrator account, make sure all other users are logged off the computer, and close all open programs.
  • Disconnect UPS devices. If you have an uninterruptible power supply (UPS) connected to your destination computer, disconnect the serial cable before installing the Service Pack. Setup automatically attempts to detect devices that are connected to serial ports, and UPS equipment can cause issues with the detection process.
  • Ensure availability of power. If you’re using a laptop computer, connect it to an AC electrical outlet and don’t unplug or restart the computer during installation.
  • Update any device drivers as necessary. You can do this by using Windows Update in Control Panel, or by going to the device manufacturer’s website.
  • Back up your servers. Your backup should include all data and configuration information that is necessary for the computer to function. It is important to perform a backup of configuration information for servers, especially those that provide network infrastructure, such as Dynamic Host Configuration Protocol (DHCP) servers. When you perform the backup, be sure to include the boot and system partitions and the system state data. Another way to back up configuration information is to create a backup set for Automated System Recovery.
  • Disable your virus protection software. Virus protection software can interfere with installation. For example, it can make installation much slower by scanning every file that is copied locally to your computer.

clip_image001

image

image

image

image

image

image

image

Leave a comment