Unable to run Sysprep on Server 2003 R2

I'm trying to run Sysprep on my Server 2003 Std R2 SP2 x86 installation.

I've extracted deploy.cab from the CD to C:\Sysprep on the server. When I try to run sysprep.exe I get the following error:
"System Preparation Tool 2.0
     Setupcl.exe is not present.
     Sysprep cannot run on this system."

I have downloaded the updated Sysprep tools as noted in MS KB926028. However this just seems to install a hotfix and doesn't seem to provide a place to extract any new deployment tools.
Assuming it updated deploy.cab in the system folder I extracted deploy.cab from the system folder to c:\Sysprep, but setupcl.exe gives the same error.

So I reinstalled the hotfix and after the hotfix extracted its temp files I was able to extract C:\e2cb04ea3b059cd152344d\SP2QFE\deploy.cab to c:\Sysprep. However running setupcl.exe from these new files also gave the same error.

I have tried running sysprep.exe from the command line and it does the same thing. If I run the same copy of sysprep.exe on a Windows XP installation it runs fine. It also runs OK on a Windows Server 2003 SP2 installation.

It appears to be a version problem but I can't find a version that will run on R2 server.
LVL 2
Tee CChief Know IT AllAsked:
Who is Participating?
 
Tee CConnect With a Mentor Chief Know IT AllAuthor Commented:
I disabled all the services using the McAfee VirusScan Console.
This enabled Sysprep to run.
I could then enable all the services in VirusScan console and Sysprep continues to function.
0
 
Netman66Commented:
You also need to run sysprep with a switch of some type:

sysprep -pnp -mini

This should be in a batch file already in Sysp.bat (or similar) once you have used the Setup Wizard to create your sysprep.inf file.

0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Tee CChief Know IT AllAuthor Commented:
Thanks Netman66.
Yes, that is the update that I downloaded (KB926028).
Running sysprep (regardless of switches) fails with the same error, I should have mentioned that above.

Thanks for your input though.
0
 
Netman66Commented:
Is there anything on Disk 2 of the R2 disks?

0
 
Tee CChief Know IT AllAuthor Commented:
Thanks again Netman66 for your response.
Disc 2 has a bunch of updated installation packages but nothing in the way of deploy.cab or sysprepr.exe, although it does have the help file (deploy.chm) for deployment options, not that it's much help...   :P
0
 
Netman66Commented:
Odd...

Let me see what I can dig up here.
0
 
Netman66Commented:
Ok, when you download and install that KB hotfix it installs deploy.cab in System32.

Extract that to C:\Sysprep.
From a CMD prompt type the following:

path = %path%;C:\Sysprep   <ENTER>

Run Setupmgr to create your sysprep.inf file.
Modify the Sysprep.inf to your liking.
From a CMD prompt while in C:\Sysprep run "sysprep -pnp -mini"

Let me know.
0
 
Tee CChief Know IT AllAuthor Commented:
Oh I wish that worked, modifying the path variable doesn't help unfortunately.

I'm fairly convinced it's a version problem.

When sysprep is run it looks in the same folder it was run from for setupcl.exe. You can try this on your desktop workstation, extract deploy.cab to any folder you like and run it from there and it will locate setupcl.exe (as long as it is in the same folder).

Thanks though.
0
 
Netman66Commented:
I have the following dates/versions on the KB I just installed:

2/17/2007 3:45 AM

Sysprep.exe 5.2.3790.3959
Setupcl.exe 5.2.3790.3959

0
 
Netman66Commented:
Is this server still a DC?  You cannot Sysprep a DC.

Quote:

Domain controller settings   You cannot configure a master computer as a domain controller. You first configure a master computer as a member server, and then configure it as a domain controller after the disk image is copied onto a destination computer. You use Dcpromo.exe (also known as the Install Active Directory Wizard) to configure a server as a domain controller.

Endquote.

Ref: http://technet2.microsoft.com/windowsserver/en/library/2b013ac1-e594-44d7-b6b3-1b589bb0486f1033.mspx?mfr=true

And:

You cannot run Sysprep on a computer that has been configured as a Cluster Service server, a Certificate Services server, or a domain controller. You can run Sysprep on a standalone server.

Ref: http://technet.microsoft.com/en-us/library/bb457073.aspx
0
 
Tee CChief Know IT AllAuthor Commented:
As do I.  That is the result of the Hotfix updating the deploy.cab files:
Sysprep.exe:
 File Version 5.2.3790.3959 (srv03_sp2_rtm.070216-1710)

The previous version of sysprep (from th Win2K3 R2 CD):
Sysprep.exe:
 File Version 5.2.3790.1830 (srv03_sp1_rtm.050324-1447)

I've tried both and neither work - both give the same error.
0
 
Tee CChief Know IT AllAuthor Commented:
Good thinking with the DC question Netman66 and I should have put that in the original post.
 - No, it's currently a stand alone server, member of WORKGROUP only.
It hasn't ever joined a domain.
It does have Terminal Services installed, but that shouldn't prevent sysprep from running.
0
 
Netman66Commented:
You wouldn't think so, no.

Is there absolutely no clue in the Event Log?

Is the Server Service started?
0
 
Tee CChief Know IT AllAuthor Commented:
I can run the same version of sysprep on another TS server (however it not R2 version).
Nothing in the event logs at all regarding me trying to run sysprep.
Yep... server serice is running.
0
 
Netman66Commented:
Silly question - none of the R2 components are yet installed, correct?

0
 
Tee CChief Know IT AllAuthor Commented:
nothing yet... base build with apps
0
 
Netman66Commented:
Well that should mean that the server is simply 2003 SP2 only.  I find it strange, for sure.

0
 
Tee CChief Know IT AllAuthor Commented:
Well, actually I lie a little, we've installed the MMC 3.0 console.
Time to call MS.
0
 
Tee CChief Know IT AllAuthor Commented:
Well MS want to charge me for the service.
I spoke to Dell and they haven't been able to find a solution.

I have installed Server2K3 R2 SP2 and all updates on a virtual machine and Sysprepr works OK. Obviously an installed application is either preventing it form working or has modified the permissions somewhere.

I've tried disabling AV (McAfee Virus Scan Enterprise 8.5i / Patch4) to see if that makes a difference - Seems it was the McAfee On-Access scanner that was preventing Sysprep from working.


Wooohooooo!!!
0
 
Computer101Commented:
Closed, 500 points refunded.
Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.