sysprep failed and now I can't even log into windows now

2

Today I used sysprep.exe to rebuild my windows image. But it always said "a fatal error occurred while trying sysprep".

Then I went to check log file , it shows that "microsoft internal media playreadyclient was installed". I followed this instructions in this page http://support.microsoft.com/kb/2769827. The log file still shows the same thing. Of course during this period I had run multiple times of sysprep.exe.

After that I run "Get-AppxPackage -AllUser" and list all apps, and found that all apps are installed by "Unknown user". And now I even need provide permission to access my d e f partitions. I think maybe user account went wrong , and I'm exhausted , so I just enable administrator and delete my account. And I ran sysprep.exe again and still no love. So I reboot, and I forget sysprep.exe will disable administrator and now I'm in a very embarrassing situation , I can't log into windows because I delete my account and administrator is disabled. Even I input the right email and password I still can't log into windows. And I'm in uefi mode I can't enter safe mode either. Can anybody help?

Sorry for my composing , but I'm using my iPhone to post this question.........orz

demonguy

Posted 2015-01-06T12:19:13.420

Reputation: 307

Since you have D/E/F (I assume as data drives) you may be better off just wiping and starting again. – Basic – 2015-01-06T12:26:08.217

@Basic that's exactly what I don't want to do.... I have so many system related files and configurations in system partitions – demonguy – 2015-01-06T12:27:34.910

If it's a case of recovering files, plug the system disk into a different machine and copy them off (or boot your machine from usb and do the same). If it's more involved (eg getting stuff out of the registry), I don't know a good answer. While this is probably not what you want to hear, next time have a backup before you start. Out of interest, do you know if the guest account is enabled on your machine? – Basic – 2015-01-06T12:30:51.243

It's disabled orz – demonguy – 2015-01-06T12:31:47.767

Answers

3

I haven't had to do this myself but it looks like you should be able to enable the Win8 admin account offline using the boot media...

Source (with screenshots): https://4sysops.com/archives/offline-enable-the-windows-8-built-in-administrator-account/

  • Boot from the Windows 8 boot media.
  • After Windows 8 setup started press SHIFT+F10 to access a command prompt.
  • Type copy /y d:\windows\system32\cmd.exe d:\windows\system32\sethc.exe
  • Remove the boot media and restart Windows 8.
  • At the login screen, hit the SHIFT key five times until the command prompt appears.
  • Type net user administrator /active:yes. This enables the built-in administrator account in Windows
  • Reboot the computer. When the logon screen appears, click the arrow on the left.
  • You should now see the Administrator account icon.

Basic

Posted 2015-01-06T12:19:13.420

Reputation: 945

Excellent! The one who came up with replacing Sethc.exe must be a genius! – demonguy – 2015-01-06T13:05:04.357

Glad I could help – Basic – 2015-01-06T14:00:23.953

But I still can't get sysprep working ,any suggestions? – demonguy – 2015-01-06T14:19:32.603

No, sorry. Try asking a new question that's specific to that. Include any event log / error messages that are relevant – Basic – 2015-01-06T17:07:19.127