Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Unable to run Sysprep on Server 2003 R2

Posted on 2007-11-21
22
Medium Priority
?
8,034 Views
Last Modified: 2008-02-01
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.
0
Comment
Question by:Tee C
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 10
22 Comments
 
LVL 51

Expert Comment

by:Netman66
ID: 20331974
0
 
LVL 51

Expert Comment

by:Netman66
ID: 20331979
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
 
LVL 2

Author Comment

by:Tee C
ID: 20332064
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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 51

Expert Comment

by:Netman66
ID: 20332090
Is there anything on Disk 2 of the R2 disks?

0
 
LVL 2

Author Comment

by:Tee C
ID: 20332111
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
 
LVL 51

Expert Comment

by:Netman66
ID: 20332118
Odd...

Let me see what I can dig up here.
0
 
LVL 51

Expert Comment

by:Netman66
ID: 20332220
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
 
LVL 2

Author Comment

by:Tee C
ID: 20332244
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
 
LVL 51

Expert Comment

by:Netman66
ID: 20332257
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
 
LVL 51

Expert Comment

by:Netman66
ID: 20332266
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
 
LVL 2

Author Comment

by:Tee C
ID: 20332269
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
 
LVL 2

Author Comment

by:Tee C
ID: 20332277
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
 
LVL 51

Expert Comment

by:Netman66
ID: 20332282
You wouldn't think so, no.

Is there absolutely no clue in the Event Log?

Is the Server Service started?
0
 
LVL 2

Author Comment

by:Tee C
ID: 20332285
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
 
LVL 51

Expert Comment

by:Netman66
ID: 20332335
Silly question - none of the R2 components are yet installed, correct?

0
 
LVL 2

Author Comment

by:Tee C
ID: 20332357
nothing yet... base build with apps
0
 
LVL 51

Expert Comment

by:Netman66
ID: 20333903
Well that should mean that the server is simply 2003 SP2 only.  I find it strange, for sure.

0
 
LVL 2

Author Comment

by:Tee C
ID: 20336454
Well, actually I lie a little, we've installed the MMC 3.0 console.
Time to call MS.
0
 
LVL 2

Author Comment

by:Tee C
ID: 20347663
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
 
LVL 2

Accepted Solution

by:
Tee C earned 0 total points
ID: 20347679
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
 
LVL 1

Expert Comment

by:Computer101
ID: 20378556
Closed, 500 points refunded.
Computer101
EE Admin
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question