Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am Trying to sysprep my WIndows 8.1 enterprise (MSDN) and i get the following errors

I have upgraded the Windows 8 to windows 8.1 and the machine contains all the configuration for VS 2012 and rest

Exact error Sysprep was not able to validate your windows installation

Error msg line in log

C:\Users\André>err 0x8007139f
# as an HRESULT: Severity: FAILURE (1), FACILITY_WIN32 (0x7), Code 0x139f
# for hex 0x139f / decimal 5023
  ERROR_INVALID_STATE                                            winerror.h
# The group or resource is not in the correct state to
# perform the requested operation.
# 1 matches found for "0x8007139f"

SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2

I have searched the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep

But i coud'nt find anything for SYSprep mode

The value for sysprep was (Value not set)

share|improve this question
looks like you're the same users who asked this on Technet. Have you looked for a value called SysprepMode in the registry? – magicandre1981 Oct 14 '13 at 17:45
I have searchedHKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Syspr‌​ep But i coud'nt find anything for SYSprep mode The value for sysprep was (Value not set) – Anurag Shetti Oct 18 '13 at 5:22
up vote 1 down vote accepted

I finally got the sysprep to work

You need to take care of the following things

A> It doesn't work with upgraded PC

B> For fresh installation and creating sysprep you need to activate the administrator account delete any other user account

C> Don't update any of the metro apps. Normal windows update is fine .

D> If you need to add any other settings please use the answer file settings.

Tested with Windows 8.1 Enterprise

share|improve this answer
I've successfully gotten a system to sysprep and capture into WDS after an upgrade. Just delete the registry DWORD HKLM\SYSTEM\Setup\Upgrade. Don't worry if it is a 0, just the mere presence of this value prevents sysprep from running. Also, make sure you delete c:\windows.old and the c:\Windows~BT folders or your image will not be able to deploy due to conflicts. – Brain2000 Dec 4 '13 at 17:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .