Solved

Unable to run Sysprep on Server 2003 R2

Posted on 2007-11-21
22
7,874 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
  • 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
 
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now