Solved

Unable to run Sysprep on Server 2003 R2

Posted on 2007-11-21
22
7,975 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:thedriver
[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:thedriver
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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 51

Expert Comment

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

0
 
LVL 2

Author Comment

by:thedriver
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:thedriver
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:thedriver
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:thedriver
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:thedriver
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:thedriver
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:thedriver
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:thedriver
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:
thedriver 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

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

734 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