finally managed to attach the file.......I think ....
Got it now. I need some time to go through the log, will post here when done.
OK, the reason for the error is quite clear, see the highlighted part:
My fault of course, this warning in the beginning of the tutorial is so small that it easily goes unnoticed :Code:2014-11-15 12:46:26, Error [0x0f0036] SYSPRP spopk.dll:: Sysprep will not run on an upgraded OS. You can only run Sysprep on a custom (clean) install version of Windows.
An upgraded Windows cannot be sysprepped. As this method is based in sysprepping, this tutorial is valid only for Windows setups which have not been upgraded.
This means that if you have for instance in-place upgraded Vista or Seven to Eight you cannot sysprep and this tutorial cannot be used in your case. The same applies if you have upgraded Windows 8 to Windows 8 Pro or Windows 8 to 8.1.
Notice that a repair install is also an upgrade install, so if you have ever done a repair install (= in-place upgrade to same edition), you cannot sysprep.
When sysprepping an existing Windows setup, it only works if the Windows 8 was installed clean and has never been upgraded or repaired using repair install, or if it is the original pre-installed Windows 8
Although I have repeatedly told that relocating ProgramData will cause Windows Store and Apps as well as PC Settings not to function, people keep doing it using the method described in this tutorial.
DO NOT RELOCATE PROGRAMDATA! YOUR WINDOWS STORE AND APPS WILL NOT WORK IF PROGRAMDATA IS MOVED FROM ITS DEFAULT LOCATION.
There's an easy fix for this:
Open the Registry Editor (WIN + R, type regedit, hit Enter), browse to key HKEY_LOCAL_MACHINE\SYSTEM\Setup.
Delete both the DWORD Upgrade (right pane) and KEY Upgrade (left pane), see screenshot:
The system warns you that skies can fall down if you delete these items, just laugh loud and accept the deletion.
Still in Registry Editor, browse to key HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus, if either DWORD CleanupState or DWORD GeneralizationState has any other value than 7, change it to 7 by double clicking the DWORD in question and entering the new value:
Close the Registry Editor. Open Command Prompt, type slmgr /dli and hit Enter to open Software License Manager. Close it as soon as it opens, close Command Prompt.
Run Sysprep, it should work now.
Last edited by Kari; 22 Nov 2014 at 12:53.
It all worked perfectly (but I guess you already knew that )and I now have the user accounts on the D drive so very happy
So, a BIG THANK YOU for your help and also for sharing your knowledge with us lesser mortals
You are welcome.
I'm trying to upgrade to windows 8.1 from windows 8 pro and I'm trying to follow your directions to edit registry to be able to run sysprep. In post #552 your screenshot shows to delete the dword "upgrade" and the key "upgrade". In my registry the dword is "upgrade available" and the key is "upgrade notification. Should I be deleting these?
Hi Tommy, welcome to the Eight Forums.
Please before answering your question I need to know this: Have you already upgraded, already running the 8.1 and now wanting to sysprep? In other words, is that screenshot of yours from Windows 8 registry or Windows 8.1 registry?
@Tommyg, I need to reboot my router and server. I will go offline for max 15 minutes but I will be back, we will take care of your sysprep issue. If your details are correct it's 6:08 PM for you ATM (2:08 AM for me ), I will be back latest 6:25 PM your time.
I have not started upgrade yet. I originally had windows 8 and did an upgrade to pro with media center. This registry is from windows 8 pro with media. I was just trying to get ready to move my user files from d:\ back to c:\ to do the upgrade. Windows already tried to automatically upgrade but I got the message that it could not upgrade because my user files were not on c:\
OK. Your screenshot shows the key HKEY_LOCAL_MACHINE\SYSTEM\Setup\UpgradeNotification, which is one level too deep. If the Upgrade DWORD exists it is one level higher, at HKEY_LOCAL_MACHINE\SYSTEM\Setup. Delete it if it exists, change the the values to 7 as the second screenshot here shows, finally run slimgr /dli as told in the same post after the second screenshot..
Then run the sysprep with modified answer file (<ProfilesDirectory>C:\Users</ProfilesDirectory> to move Users back to C:, should work now.
Back up your personal stuff from current user profile folder first!