How to Sysprep XP Machine SP3 / Copy Administrator Profile to Default Profile

I realize this article is a little old since Windows 7 is coming out here in a few days, but I thought I would share it with you in case your business has decided to stick with XP for now. When you sysprep a machine you are basically wanting to clone the settings from that machine to another one. You also want it to copy those changes to each profile, correct? Well, in order for the sysprep to successfully copy over the administrator profile to the default profile for each user you have to add an extra line to the sysprep.inf file or else it won’t work in Service Pack 3 like it did in Service Pack 2.

Step #1

The first step is to download the Sysprep App which is included in the CAB file for Windows XP Service Pack 3 Deployment Tools. (Download Sysprep Tool)

Step #2

Next go to the PC you are going to be sysprepping and create a folder on the root of the C: drive called sysprep.

Step #3

Next you will need to extract the contents of the deploy.cab file you downloaded in Step #1 to the sysprep folder on the root of the C: drive.

Step #4

Now we are going to run the sysprep Setup Manager. Double click on setupmgr.exe.

Sysprep Setup Manager

Sysprep Setup Manager

Step #5

Click Next and it is going to ask you whether you want to modify an existing Answer File or create a new one. We are wanting to create a new one, so again click next.

Sysprep - New or Existing Answer File

Sysprep - New or Existing Answer File

Step #6

You now have three options: Unattended Setup, Sysprep Setup, or Remote Installation Services (RIS). In this example we are going to select the Sysprep setup option and then click next. (This creates a sysprep.inf file)

Sysprep - Sysprep.inf File

Sysprep - Sysprep.inf File

Step #7

Select Windows XP Professional and click next. (This will also work on Windows XP Home, Windows Server 2003 Standard, Web, and Enterprise.)

Sysprep - Windows XP Professional

Sysprep - Windows XP Professional

Step #8

In this step it is asking you if you want to fully automate the installation. That is up to you, either way works fine. In this example I will be using the “No, do not fully automate the installation.”

Sysprep - Fully Automate or Not?

Sysprep - Fully Automate or Not?

Step #9

Now we are at the configuration page. There is a lot in here so I am not going to go into detail. In fact, you don’t even need to input anything here for the sysprep to just work. However, everything you input in here will save you time and help shape your image.

Sysprep - Configuration Page

Sysprep - Configuration Page

Step #10

Once you are all done, you should be at the bottom and selected on “Identification String”; click Finish and it is going to prompt you for a location to create and save the sysprep.inf file. The default location is fine, as it will need to be within that sysprep folder on your C: drive. Once you hit ok you will then need to click “Cancel”. There is no close button.

Sysprep - Saving the Sysprep.inf File

Sysprep - Saving the Sysprep.inf File

Step #11

Now you should verify the sysprep.inf file by double clicking on it and opening it up with Notepad.

Sysprep - Verifying the Sysprep.inf File

Sysprep - Verifying the Sysprep.inf File

Step #12

There were a few changes with Windows XP Service Pack 3 and sysprep. The administrator’s profile is no longer copied over to the default profile. You will need to add a line within the sysprep.inf file to regain this important function. Under the InstallFilesPath section add this:

UpdateServerProfileDirectory=1

Once done, hit save.

Sysprep - Adding line to sysprep.inf so the administrator profile will copy over to default profile

Sysprep - Adding line to sysprep.inf so the administrator profile will copy over to default profile

Step #13

Now you are ready to start the sysprep, reboot, and capture your sysprepped image. Double click on the sysprep.exe and then select the following three options in order: Use Mini-Setup, Shutdown Mode: Reboot, and click Reseal. Make sure you have your media ready to capture your image. If you reboot fully without booting to your capturing software it will ruin the sysprep and you will have to redo the sysprep.

Sysprep - Preparation Tool 2.0

Sysprep - Preparation Tool 2.0

  • Pingback: Sysprep

  • Dale

    I would like to use the udb file to add computer names with unique SID’s. Can you give me some help with that? I am using GhostCast Server inconjuntion with sysprep and the sysprep.inf file.

  • Supo orimogunje

    To the first question, sysprep does not image the drive for you. You have to use an Imaging programme. For example, if you are using Acronis imaging software, put the boot CD in your drive and boot it, then Image your drive to a location of your choice, eg another drive. Insert newly imaged drive to your new pc and boot into it

  • http://pcmacsupport.co.uk Shahan

    Thanks for this guide, very helpful.
    :)

  • Alex

    Thank you very much for this guide …it is much more helpful than official Microsoft site.

  • Tim

    You are awesome – this is exactly what I have been looking for. Thanks for posting this!!!

  • jpw

    tried this with XP Home (SP3) and switch all hard disk controllers to standard drivers based on another guide so that I could use the hard disk in another PC. On using sysprep, mini-setup is greyed out. Did a reseal anyway, but doesn’t work in other PC – blue screen.

    Put it back in original PC and doesn’t work there either – gives me boot options saying that Windows didn’t start properly last time etc.

    Not sure what to do next. Trying to create a backup basic system from my SP1 CD with all the updates to save time when I need a new system – as it happens both PCs in my house are in need of a refresh at present.

  • http://www.lanairgroup.com Rashdi

    JPW, tip, Do not use XP Home. LOL

  • http://none AKHIRA

    if i have created the image? can i extract the image in different station like different motherboard, i mean different brand name of computer?