Archive for June 4, 2013

how to Slipstream SP2 or SP1 for SQL 2008 R2

June 4, 2013 1 comment

Hi all,

I was looking for ways to do a slipstream installation for SQL server 2008 R2 SP2 .. I referred to this for some important info .. and below are steps I

followed to achieve the same .. A great THANKS to Peter Saddow (Microsoft)  for his blog …

My mind gets ahead of me ... Five Ways to Be G...

Slipstream allows you to do service pack installation along with the initial installation of SQL server ..

this helps save downtime and avoid any manual installation errors …

Steps as below ..

1> copy your original SQL server setup to a folder named SQL2008R2

2> download the service pack from this location . make sure you download them all 3 (x86,x64 and ia64)

irrespective of the fact you will eventually be using one … but to make sure your SP are complete in every sense ..

3> you need to create a FOLDER named SP2 (or whatever you want to name it ) with in the folder named SQL2008R2

(that is the location where your original installation is placed)

4> extract the 3 downloaded EXE into this newly created FOLDER named SP2 (below are the command)

SQLServer2008R2SP2-KB2630458-IA64-ENU.exe /x:T:\SQL2008R2\SP2

SQLServer2008R2SP2-KB2630458-x64-ENU.exe /x:T:\SQL2008R2\SP2

SQLServer2008R2SP2-KB2630458-x86-ENU.exe /x:T:\SQL2008R2\SP2

remember .. T:\SQL2008R2 contains the original SQL server setup and we created a folder named SP2 within T:\SQL2008R2

5> Robocopy the SETUP.exe file from newly created folder SP2 into original setup .. that we want to replace the setup.exe file of original SQL server setup with SP2 setup.exe

T:\SQL2008R2_SP2>robocopy T:\SQL2008R2\SP2 T:\SQL2008R2 setup.exe

robocopy26> Copy all files not the folders, except the Microsoft.SQL.Chainer.PackageData.dll, in T:\SQL2008R2\SP2\<architecture> to T:\SQL2008R2\<architecture> to update the original files. Here is the Robocop command

T:\SQL2008R2_SP2>robocopy T:\SQL2008R2\SP2\x64 T:\SQL2008R2\x64 /XF Microsoft.SQL.Chainer.PackageData.dll

T:\SQL2008R2_SP2>robocopy T:\SQL2008R2\SP2\x86 T:\SQL2008R2\x86 /XF Microsoft.SQL.Chainer.PackageData.dll

T:\SQL2008R2_SP2>robocopy T:\SQL2008R2\SP2\ia64 T:\SQL2008R2\ia64 /XF Microsoft.SQL.Chainer.PackageData.dll

7> check whether you have DefaultSetup.INI .. at this location .. mostly you should I them .. if not we will create it


T:\SQL2008R2\x86 and


If you have a DefaultSetup.INI at the above locations, add the following lines to each DefaultSetup.INI:


note : SP2 is the folder we created within the original setup files .. if you used a different name .. please use that folder name ..

this tells the installation setup  that service patch files are located within this folder ..

8> If you do not find any DefaultSetup.INI files in a rare case , create one with the following content:

;SQLSERVER2008 R2 Configuration File



and copy to the following locations


T:\SQL2008R2\x86 and


9> run the setup as you would do normally  from with in T:\SQL2008R2 ..

below are the indications that you are doing a slipstream installation …


10> for this … I have only chosen database engine .. in the features ..

install411> confirm tht you see “Update Setup Media Language Rule” as PASSED in the installation rules page

install512> On the Ready to Install dialog, the Action will indicated (“Slipstream”) … this confirms … that we are going right .. till now ..

install613>  PCUSource parameters in the summary log .. states that it picked up the SP2 from the path we pointed it to ..


this confirms that our installation has gone right … do confirm the same by connecting using SSMS


Slipstream has reportedly given issues if we try to do installation of reporting services .. I have not selected the same for now ..

refer this for details

I will try to do a reporting service installation in my next post ….  ENJOY 🙂



powershell crash course part 2

June 4, 2013 Leave a comment

Hi all ,

part 2 of PowerShell .. took a back stage and I just figured out that I do not need to reinvent the wheel .. because some of the dedicated powershell

sites do a lot better work at it … YES ,, its extremely useful for SQL admins too .. so I will direct you to that sites instead …PLAN just changed


on this sites .. GO to TAB named EBOOKV2 .. which has 18 lesson online eBook

and it covers most of the basics we need to start with …


below I will provide small descriptions of lessons and topics covered in the same ..

Chapter 1. The PowerShell Console

This chapter will introduce you to the PowerShell console and show you how to configure it, including font colors and sizes, editing and display options. Topics Covered: Starting PowerShell First Steps with the Console Incomplete

Chapter 2. Interactive PowerShell

PowerShell has two faces: interactivity and script automation. In this chapter, you will first learn how to work with PowerShell interactively. Then, we will take a look at PowerShell scripts. Topics Covered: PowerShell as a Calculator
It is time to combine commands whenever a single PowerShell command can’t solve your problem. One way of doing this is by using variables. PowerShell can store results of one command in a variable and then pass the variable to another command.
and so forth .. you get 18 lessons to get going with basics .. its extremely well explained and of help to ADmins ..
ENjoy 🙂