• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3019
  • Last Modified:

Windows 7 Sysprep Fatal Error

We are having problems doing a sysprep on a Windows 7 image.

After searching we have determined it is a problem with licensing and activation limit being reached.. We have tried pretty much everything we came across.  (These machines are licensed by a KMS server)

1.  Adding the   <SkipRearm>1</SkipRearm> to the answer file.
2.  Changing the  SkipRearm in the registry to 1.
3. Rearming the installation.

We still continue to get a fatal error when running Sysprep.  

Any suggestions?



0
shankomatic
Asked:
shankomatic
  • 4
  • 4
3 Solutions
 
Adam LeinssCommented:
Is the base image being actviated by KMS?  If so, it should add 1 to the rearm count.  You can verifiy this by running "slmgr -dlv" from an elevated command prompt.
0
 
shankomaticAuthor Commented:
Thanks for the info.  Didn't realize that the KMS bumped up the rearm count.  It was at zero.

However, after further investigation that may not be the root of the problem we are having.  

We are getting the following error message.

“Hit failure while processing sysprep cleanup providers; hr = 0x8007001f”

Initially thought it had to do with the rearm issue,  because the count was at zero.  This tends to indicate a problem where sysprep doesn’t know how to handle the image.

Any ideas?
0
 
Adam LeinssCommented:
I assume that error is from the sysprep log?  In any case, if you can paste the entire contents of the logs in %WINDIR%\System32\Sysprep\Panther, then we can take a look. You can use http://pastebin.com if you like to keep the thread clean.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
shankomaticAuthor Commented:
Unfortunately one of my co-workers already went back a few levels and re-imaged the machine we a older image that we need to re-apply a bunch of changes to again.  (Which was the compliated process we were trying to avoid doing in the first place)

However I do know the following

The initial failure gave the 0xc004d307 and 0x8007020 errors in the log, which was because the rearm count was at zero .  After joining to the domain and the client got activated and rearmed by KMS, the SYSPREP was attempted again and it gave the 0x8007001f (this error happens within a couple of seconds). It appears that once the SYSPREP failed from an activation problem, it broke the build from running SYSPREP again after it was rearmed.

Any suggestions to fix this problem in the future?  (Besides making sure we have a rearm available before running SYSPREP)
0
 
Adam LeinssCommented:
It should be possible to reset the WPA status:

1) Boot the system from WinRE
2) Load the system registry as a hive from C:\windows\system32\config\
3) Delete the top key WPA
4) Unload hive
5) Boot back into the OS and re-attempt the KMS activation
0
 
shankomaticAuthor Commented:

Thanks for the info.  I am able to re-activate with KMS, the problem is the SYSPREP will not run after it failed the first time because of the rearm count being at zero.  When I run SYSPREP the machine is activated with a rearm count of "1" and fails with the following

WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x8007001f
0
 
Adam LeinssCommented:
This is probably due to this: http://support.microsoft.com/kb/929828/en-us and unforunately, the resolution is to rebuild the image.
0
 
shankomaticAuthor Commented:
Thanks for the help.   Once the first sysprep failed because of the rearm was at zero, we kept trying to fix that problem not realizing the image was damaged.  At least now in the future we know to make sure it is activated in KMS and the rearm is > 0 before we attempt a sysprep.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now