anyweb

how can I deploy Windows XP SP3 using SCCM 2007 SP1 - Part 1



22 posts in this topic

Please note that this guide is designed to get you Deploying Windows XP with SCCM in a LAB Environment as quickly as possible. This guide is provided as is, if you find any errors please report them in the forums.

 

 

 

In a production environment please consult Technet for best practise, see below links:

 

Operating System Deployment:

 

Operating System Deployment in Configuration Manager

Overview of Operating System Deployment

 

Configuration:

 

System Center Configuration Manager 2007

 

Best Practices:

 

Configuring Configuration Manager Sites for Best Performance

Checklist for Security Best Practices

Best Practices for Central and Primary Site Hardware and Software Configuration

Best Practices for Operating System Deployment

 

 

 

 

This guide assumes you have installed SCCM 2007 SP1 and then configured it as outlined here in Part 1 you must then do the additional configuration outlined in Part 2, and you must have completed the final configuration tasks in Part 3. Lastly you must be able to deploy an application using SCCM 2007 and you should have reviewed part one and part two of Deploying Windows Vista, which covers setting up the PXE Service point.

 

Note: In this guide I've used the en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso available on MSDN, this is the Retail version of XP, you should really use the VL (Volume License edition) in conjunction with your VL key to deploy XP.

 

 

Note: This Deploy XP guide will create a build image of Windows XP using the XP cd mentioned above. Once the image is created we will Capture the image. This whole process is known as 'Build and Capture'. The captured image can then be used in a separate task sequence to Deploy XP.

 

 

 

Import XP SP3 as an Operating System Install Package

 

In the Operating System Deployment node of ConfigMgr, right click on Operating System Install Packages and choose Add Operating System Install Package.

 

add_os_package.jpg

 

click on browse and browse to the network share where you have previously copied the XP SP3 CD contents to... (in my case that's \\WIN-AE2V1IRN067\iso\Xp sp3 retail)

 

browse.jpg

 

xpsp3retail.jpg

 

once you have the Data Source correctly specified, click next

 

path.jpg

 

on the General Page fill in some details about this XP SP3 image...

 

xpsp3_details.jpg

 

review the summary, click next and click close at the confirmation screen.

 

confirm.jpg

Share this post


Link to post
Share on other sites


Create a Distribution Point for our Install Package

 

expand the Install package we've just created and right click on Distribution Points, choose New Distribution Points

 

new_dist_point.jpg

 

 

click next when the wizard appears and select only the first distribution point, do not select the PXE distribution point as this is not a boot image.

 

dp_only.jpg

 

click close at the confirmation screen

 

Now the we have created the distribution point for the operating system install package, let's update the distribution point.

 

Right click on Distribution Points and choose Update Distribution Points

 

update_dp.jpg

 

answer Yes to the confirmation

 

yes.jpg

Share this post


Link to post
Share on other sites

Create a New Collection

 

In SCCM ConfigMgr, highlight collections, right click and choose New Collection,

 

new_collection.jpg

 

fill in the collection general details and call this collection Build And Capture XP

 

build_and_capture_xp_collection.jpg

 

leave Membership Rules blank

 

membership_rules.jpg

 

click OK to the warning

 

no.jpg

 

click next on the advertisements and security screens

 

advertisements.jpg

 

security.jpg

 

click close when done

Share this post


Link to post
Share on other sites

Create the XP SP3 sysprep package

 

download the XP SP3 deploy.cab file and extract its' contents (or just the sysyprep.inf file) to a folder called sysprep. Create a network share and copy the contents of the sysprep folder into the share, call the share sysprep.

 

Note: if you are trying to deploy XP SP2 then use this one instead.

 

Note that the Sysprep package will be used in a step called Install Deployment Tools which must happen after Setup Windows and ConfigMgr step but before the Prepare Configmgr Client step, we will be creating the task sequence in the next part and it will automatically insert that step in the correct place, however we need to define the Sysprep Package first.

 

install deployment tools.jpg

 

I'd also recommend you copy your unattend.txt file to the sysprep package, we will use this to make changes to our Windows XP image in the Apply Operating System Image step (see below)

 

where does unattend txt go.jpg

 

 

 

 

 

In ConfigMgr expand the Software Distribution node and right click on Packages and choose New Package.

 

new_package.jpg

 

fill in the package details

 

package_details.jpg

 

for Data Source, point the wizard to the sysprep share you created earlier eg:

\\WIN-AE2V1IRN067\sysprep

 

leave Data Access as it is

 

data_access.jpg

 

Leave Distribution Settings as they are

 

for reporting and security just click next, and click next again at the summary and review your actions on the confirmation screen.

 

 

Note: If you are trying to deal with AHCI drivers via sysprep then please read this post

Share this post


Link to post
Share on other sites

Create a Distribution Point and Update it for the Sysprep Package

 

Expand the Sysprep Package we have just created in ConfigMgr and right click on Distribution Points choose New Distribution Points

 

dist_sysprep.jpg

 

Click next and select only the standard distribution point (exactly as we did above for the Operating System Install package), click close when done.

 

Once created, right-click on distribution points again and this time choose Update Distribution Points.

 

update_sysprep.jpg

 

answer Yes when prompted

Share this post


Link to post
Share on other sites

Create a Package from Definition for the ConfigManager Client

 

complete the following Step (step 3).

 

Create distribution point and then update it

 

complete the following Step (step 4)

 

 

>> continue on to complete the next part

Share this post


Link to post
Share on other sites

Hello,

 

I am using again this excellent guide but I am stuck at the beginning this time...

"The Specified directory does not contain a valid operating system or you do not have permissions to access it."

 

- Everyone has full access on the share

- Eveyone has full control on NTFS

 

The file in the folder is the same as in the example en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso

if I try from the Vista folder it works... but it was not an iso file ... it is the CD ...

 

Any idea?

 

Thanks

Share this post


Link to post
Share on other sites

Dom,

 

all you have to do is burn that ISO to DVD or mount it via daemon tools or similar, sorry if I didn't make that clear

 

ie: I only mentioned 'iso' to tell you what version of XP i was using...

 

cheers

anyweb

Share this post


Link to post
Share on other sites
Dom,

 

all you have to do is burn that ISO to DVD or mount it via daemon tools or similar, sorry if I didn't make that clear

 

ie: I only mentioned 'iso' to tell you what version of XP i was using...

 

cheers

anyweb

 

Hi Any,

 

Sorry I think I was not clear in my question.

It works fine with Vista it is the document 569 I am using and if I do the following steps:

- Download from MSDN the XP Iso en_windows_xp_profesional_with_service_pack_3_x86_cd_x14-80428.iso to a share folder Applications\XP SP3-Iso

then i am trying to use it to create a Package...

- Add Operating System Install Package

- Input \\CONFIGMGRDTS\Applications\XP SP3-Iso for the source directory

- Click next and I am getting the error:

"The Specified directory does not contain a valid operating system or you do not have permissions to access it"

 

If I try on Applications\Vista (not iso for now) I am able to get the next screen and create the package... it seems I miss some files from the XP CD??? which are use to control the content of the Source Directory???

 

 

Thanks,

Dom

Share this post


Link to post
Share on other sites

Dom

 

you have extracted the contents of the ISO file so that you can see all the files within it havnt you ???

 

you can do that two ways, burn a DVD using the ISO image or mount the iso in daemon tools or similar

 

if you are trying to use the ISO file itself for this SCCM guide, then it will fail,

 

cheers

anywe

Share this post


Link to post
Share on other sites
Dom

 

you have extracted the contents of the ISO file so that you can see all the files within it havnt you ???

 

you can do that two ways, burn a DVD using the ISO image or mount the iso in daemon tools or similar

 

if you are trying to use the ISO file itself for this SCCM guide, then it will fail,

 

cheers

anywe

Any,

 

I see now that the ISO itself is the trouble... No the ISO was still as is not extracted.

I have downloanded a Vista ISO and an XP CD now to try again to complete my testing, so Vista is failing as ISO and within 1 minutes Iwill see for XP CD.

 

Everuthing works fine from the CD let me go further now...

 

 

Thanks,

Dom

Share this post


Link to post
Share on other sites

Create the XP SP3 sysprep package

 

download the XP SP3 deploy.cab file and extract its' contents (or just the sysyprep.inf file) to a folder called sysprep. Create a network share and copy the contents of the sysprep folder into the share, call the share sysprep.

 

Please explain why you mention only needing the SysPrep.inf file. Within deploy.cab there is not a sample INF for use as a template but still; my main question is the reference to the INF if it does not exist. What happens if in my package, I do not have an INF?

Share this post


Link to post
Share on other sites

running the sysprep setup program (can't remember what it\s called but its in the sysprep package download referred to above) will create the SIF file for you, the sif file contains the data needed to automate windows installation

Share this post


Link to post
Share on other sites

Create a Package from Definition for the ConfigManager Client

 

complete the following Step (step 3).

 

Create distribution point and then update it

 

complete the following Step (step 4)

 

 

>> continue on to complete the next part

 

Hello,

 

I wanted to thank you for this great manual. As so far everything is working perfect, even though I didn't extend the AD schema. I added the sites name in our WINS server.

 

But I'm a bit stuck now. Regarding this OSD, do we need to complete these 2 steps (steps 3 - 4) before going to part 2?

 

And if I understand correctly, I'll have to sysprep an XP-machine to capture the sysprepped OS? Or will our SCCM create a sysprepped OS itself (with the UNC path to the OS-cd we've entered)? And if we need to sysprep a physical machine to capture the OS, how did you manage to take screenshots of a machine installing itself??

 

I hope my questions are a bit clear to you...

 

Many Thanks and keep up the good work!!

Share this post


Link to post
Share on other sites

you need to complete those steps if you have not already done them at least once before

Share this post


Link to post
Share on other sites

you need to complete those steps if you have not already done them at least once before

Thanks for the quick reply!

 

I think I've got it now; if I already have a syspredded image, I don't need to sysprep a physical machine, I just need to have that image somewhere on a share ...

 

Thanks again for helping us out!

Share this post


Link to post
Share on other sites

Hi,

I have a scenario in my organization.

We are using Symantec ghost for Windows XP Deployment.

recently I created a .wim image with the help of Window AIK tool.

I configure the SCCM 2007 over Windows 2008 server.

Now how can I use this WIM image to deploy Windows XP to all our PXE enable PC? we have around 150 PXE enable NIC PC of different models and the .WIM iamge was taken after sysprep, I am using customize Windows PE to boot up the PC and then use ghost to deploy .gho image.

Share this post


Link to post
Share on other sites

Hello, great guide. I've used to install and configure SCCM 2007 from the ground-floor up. However, I'm having some difficulty with this particular step. The creation of the XP SP3 sysprep package.

 

How do I get the "Build and Capture Windows XP SP3 Task Sequence Editor" to appear, please?

Thanks

 

 

Create the XP SP3 sysprep package

 

download the XP SP3 deploy.cab

Note: if you are trying to deploy XP SP2 then "]Note that the Sysprep package will be used in a step called Install Deployment Tools which must happen after Setup Windows and ConfigMgr step but before the Prepare Configmgr Client step, we will be creating the task sequence in the next part and it will automatically insert that step in the correct place, however we need to define the Sysprep Package first.

 

post-1-12868591743578_thumb.jpg

 

I'd also recommend you copy your unattend.txt file to the sysprep package, we will use this to make changes to our Windows XP image in the Apply Operating System Image step (see below)

 

post-1-12868591905753_thumb.jpg

 

 

 

 

 

In ConfigMgr expand the Software Distribution node and right click on Packages and choose New Package.

 

post-1-1225362139_thumb.jpg

 

fill in the package details

 

post-1-1225362234_thumb.jpg

 

for Data Source, point the wizard to the sysprep share you created earlier eg:

\\WIN-AE2V1IRN067\sysprep

 

leave Data Access as it is

 

post-1-1225362721_thumb.jpg

 

Leave Distribution Settings as they are

 

for reporting and security just click next, and click next again at the summary and review your actions on the confirmation screen.

 

 

Note: If you are trying to deal with AHCI drivers via sysprep then please read this post

Share this post


Link to post
Share on other sites

Like the other user said before me.

I still dont understand how you manage to get that "Build and Capture Windows XP SP3 Task Sequence Editor" to appear.

 

Are you missing some steps to perform in task sequence?

 

My task sequence in my lab shows nothing...

 

So how do I get that window to show up so I can complete the sysprep process in task sequence?

Share this post


Link to post
Share on other sites

Like the other user said before me.

I still dont understand how you manage to get that "Build and Capture Windows XP SP3 Task Sequence Editor" to appear.

 

Are you missing some steps to perform in task sequence?

 

My task sequence in my lab shows nothing...

 

So how do I get that window to show up so I can complete the sysprep process in task sequence?

 

You will come to this screen if you rightclick your Task and chose Edit. Now you can see all the steps within the capturing phase and can edit them.

 

 

 

 

But I have another question concerning the sysprep.inf. Earlier in this guide anyweb said you should use the sysprep.inf file, a few posts later he is talking about the SIF-File. IF you start the Setupmagr.exe in your sysprep folder we chose Create New -> Sysprep Setup -> Windows XP -> Fully Automated we see the screen where you can type in all the different information for the XP installation. Do you have to fill in everything in this window? Because then we configured some settings in the .inf-File and in our Capturing Task Sequence twice e.g. Windows License Key or the Workgroup etc. Is that correct and do we need the unattend.txt as well?

 

 

This is our sysprep.inf

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

;SetupMgrTag

[unattended]

OemSkipEula=Yes

InstallFilesPath=C:\sysprep\i386

 

[GuiUnattended]

AdminPassword="Testdomain"

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=110

OemSkipWelcome=1

 

[userData]

ProductKey=XXXXX

FullName="Hans"

OrgName="IF"

ComputerName=Test

 

[Display]

BitsPerPel=32

Xresolution=800

YResolution=600

 

[RegionalSettings]

LanguageGroup=1

SystemLocale=00000407

UserLocale=00000407

InputLocale=0407:00000407

 

[setupMgr]

DistFolder=C:\sysprep\i386

DistShare=windist

 

[identification]

JoinDomain=Testlabor.if

DomainAdmin=Administrator

DomainAdminPassword=Testdomain

 

[Networking]

InstallDefaultComponents=Yes

 

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

 

 

Using this file we got the errorcode 0x00000001 within the "Install Deployment Tools" step.

 

 

 

This is what we did before:

Creating the Sysprep Package -> check

Share this folder even for everyone -> check

Data Source \\server\sysprep -> check

Creating und updating the Distribution Point -> check

 

Regards

Frank

 

 

Solved:

I don't know exaxctly what this problem solved but it is not existent any more. So I just updated all DP und all of a sudden it works. :rolleyes:

Share this post


Link to post
Share on other sites

Hello,

 

 

I have followed the example from start to finish. I get to the last phase "preparing OS" - Running sysprep command

It then bombs out giving me this error code. 0x80070002

Is this an issue with permission on the capture share?

I have checked and it is giving everyone full control. NTFS permissions as well.

Any thoughts would be great.

Share this post


Link to post
Share on other sites

Hello - I was hoping to get some help with my OSD. I have working up to getting a pc to PXE boot into SCCM and SCCM says it is going to install Windows in 190 seconds provided you don't cancel it. Once 190 seconds go by the pc reboots and nothing happens. Let me know if you wany any information from the smspxe log or anything else.

 

Thanks!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now