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

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

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

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

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

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

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
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




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 08:53 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33