Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Sysprep fatal error

10 Aug 2010   #1
Moses007

Windows 7 Enterprise
 
 
Sysprep fatal error

Error [0x0f0082] SYSPRP LaunchDll:Failure occurred while executing 'C:\Windows\System32\slc.dll,SLReArmWindows', returned error code -1073425657
Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = -1073425657
Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0xc004d307
Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31
Error [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f
Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31
Error [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f
Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31
Error [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f

I am in the process of making 8 images:
(1) Desktop Developer x86
(1) Laptop Developer x86
(1) Laptop Developer x64
(1) Desktop Developer x64
Each one of those will also have a Basic image associated with it for other employees, 1 of each variety, only containing the OS, Office and a few other small/proprietary apps. (8 total)

I am using Ghost to make generalized images for Latitude E6500's, Optiplex 780's and Optiplex 960's.

I started with a Windows7 disk, installed, setup the machine how I wanted the basic image to be, then ran sysprep to make the "basic" x86 desktop and laptop image. No issue there. To test the image, I immediately slap it back onto the machine I just setup manually (pushed from the Ghostcast server). Everything is fine, I rejoin to the domain, then proceed to spend hours and hours installing all the junk the Developers use to this recently imaged machine.

This is where my problem comes in. I ran sysprep when I was ready to make a Developer image, and I get this fatal error. This is seemingly making all the time I spent installing VS, VSS, MSDN, SQL and all sorts of other stuff a complete waste of time.

I am convinced it has something to do with the rearm function. I have already looked at:
Sysprep windows 7 Failure
but the resolution given is for an entry in the answerfile. I am not using an answer file in my process.
I tried to edit the registry to juice my rearms back to 3 using the instructions from this post:
http://www.sevenforums.com/tutorials/875-activation-trial-period-extend-up-120-days.html
but no luck.

Info SYSPRP ========================================================
Info SYSPRP === Beginning of a new sysprep run ===
Info SYSPRP ========================================================
Info [0x0f004d] SYSPRP The time is now 2010-08-10 13:02:18
Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\sysprep\Panther
Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
Info [0x0f003d] SYSPRP WinMainisplaying dialog box for user to choose sysprep mode...
Info [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
Info SYSPRP SysprepSearchForUnattend: No unattend file was specified or located; skipping unattend generalize pass.
Info [0x0f00ac] SYSPRP WinMain:Processing 'cleanup' external provider request.
Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31
Error [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f
Info [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
Info [0x0f0052] SYSPRP Shutting down SysPrep log
Info [0x0f004d] SYSPRP The time is now 2010-08-10 13:04:05

Any assistance or suggestions would be greatly appreciated. Thanks in advance.


My System SpecsSystem Spec
.

10 Aug 2010   #2
Moses007

Windows 7 Enterprise
 
 

Quick addition... We have a VLK so I am unsure why using sysprep on an installation more than 3 times makes a difference. Just wanted to throw that out there for anyone listening. Thanks again.
My System SpecsSystem Spec
23 Sep 2010   #3
GreyB

Windows 7 enterprise
 
 
Im with you...

Same exact scenario except I'm building a artist development image (Maya, Mudbox, Adobe Suite, VS2008 etc).
I have tried every fix I can find (stopping WM processes, hacking the registry, even copying sysprep from another machine) and nothing has resolved this.
Does anyone have a new ideas?

THX!
My System SpecsSystem Spec
.


23 Sep 2010   #4
JDobbsy1987

Windows 8.1 Pro x64
 
 

I wish i had the answer but I'm afraid I'm still working on this

I am using Symantec Ghost Solution Suite 2.5.1

I have got images set up for XP using sysprep fine but when i do it with 7 it dies on startup after the image has finished (at the sysprep stage).

It is almost as if it can't do the sysprep and then just reboot but then wants to do he sysprep again and so on... i then have to do a manual install of 7 from CD (kinda defeating the object )
My System SpecsSystem Spec
24 Sep 2010   #5
GreyB

Windows 7 enterprise
 
 
taking a break

I have to walk away from the frustration for a bit.....
I am sure it has something to do with SLreArm crap (SLReArmWindows) and the scl.dll in the system32 folder.

I did hack the ReArm registry key but that didn't help. (skiprearm key)
Have a nice weekend and I will be back at it on Monday (barring any other end user issues. LOL).

GB
My System SpecsSystem Spec
02 Nov 2010   #6
Moses007

Windows 7 Enterprise
 
 

I discovered the problem a while back but did not update this. I will do so now to help anyone down the road that may stumble across this.

You can only run Sysprep on a Windows 7 machine 3 times. You cannot alter the rearm value. (at least I haven't figured out how to)

If you sysprep a machine and make an image, then deploy that image, your sysprep count is already down 1, and you will only have 2 sysprep's remaining on the newly imaged machine. There is a way to configure your answer file so that it resets the rearm count before sysprep is run, so it will freeze at 3.

Alternatively, We have discovered that a VM is probably the most viable solution. Prepare your image on a VM, then take a snapshot. After you have a snapshot, sysprep it. Once your image is created, roll back to the snapshot you took prior to running sysprep. With that system in place, you have an infinite number of sysprep's available.
My System SpecsSystem Spec
02 Nov 2010   #7
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Hello Moses007, good to see you have it sorted and thanks for the update.
My System SpecsSystem Spec
Reply

 Sysprep fatal error




Thread Tools





Similar help and support threads
Thread Forum
Getting a fatal error when trying to sysprep
I am trying to sysprep, and getting a fatal error. When I went to Panther logs setupact.log I see an error that says: SYSPREP LaunchDll:Could not load DLL C:\Windows\ehome\ehssetup.dll An error occurred while running registry sysprep DLLs, halting sysprep execution WinMain: Hit failure while...
Installation & Setup
Fatal error when running Sysprep
Hi all, I am trying to run Sysprep on a custom image that I have created. I ran the sysprep.exe from c:\Windows\System32\sysprep and used the OOBE and Generalize commands. I then selected shutdown for once the sysprep was complete. After clicking on Ok the kick off the sysprep, almost...
Installation & Setup
Sysprep.exe+script=fatal error
I ran the script in this tutorial (the .pdf) and I keep getting a fatal error. Anyone have any ideas? This is th efirst time I have used the Audit Mode and System Preparation Tool. I'm going to walk away for the evening and see what the morning brings. Yes I have checked and rechecked the...
Installation & Setup
Fatal Error when Trying to SysPrep from Audit Mode
I was following the advice in this tutorial: =Backup Restore"]New Installation: How to Create a General System Image in Audit Mode But when I open sysprep I get a fatal error: System Preparation Tool 3.14 A fatal error occurred while trying to sysprep the machine. Running sysprep
Backup and Restore
The "Fatal error during the execution of Sysprep" error witch Unattend
Hi I have Windows 7 SP1 64-bit in Audit mode and I put the Unattend.xml file <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="generalize"> <component name="Microsoft-Windows-Security-Licensing-SLC"...
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:37.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App