Windows 10: User Files gone after running Sysprep

Discus and support User Files gone after running Sysprep in Windows 10 Installation and Upgrade to solve the problem; Hello All, Recently, I had been having issues with an OOBESettings window in an endless loop, pressing the "Try again" button did nothing appearing... Discussion in 'Windows 10 Installation and Upgrade' started by Corsair347, Oct 7, 2020.

  1. User Files gone after running Sysprep


    Hello All,


    Recently, I had been having issues with an OOBESettings window in an endless loop, pressing the "Try again" button did nothing appearing after logging in. I followed some advice to run sysprep.exe>Enter OOBE>Reboot. After running it, I proceeded through the setup as normal, selecting my previous account information. When I finished, all of the files inside C:/Users/<MyProfile> were gone, quite a few important documents among them. I searched for the next few hours on how to recover the information, but seeing as I could not find my previous user folder anywhere It shared the same name as my new user folder, Windows.old led me to another empty folder, and Recuva did not provide any help, I assumed the files were gone permanently. Is there any way to recover my files? Needless to say I didn't have a backup handy. Any help would be very very much appreciated!

    :)
     
    Corsair347, Oct 7, 2020
    #1
  2. John Ado Win User

    SysPrep Advice

    Hi Joseph,

    The topic that you raised is beyond the scope of support for this site which focuses more on home and personal end users. Here's what I found about SysPrep:


    However these are old articles and the process may have been changed already. You may re-post this question in

    TechNet Forums
    for further assistance.

    All the best.
     
    John Ado, Oct 7, 2020
    #2
  3. Unable to run sysprep

    I am unable to sysprep a PC. The setupact.log for tells me this:

    2018-05-04 12:13:07, Error SYSPRP Package Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    I've tried the following but nothing works:

    Import-Module Appx

    Import-Module Dism

    Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation

    Remove-AppxPackage -Package Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe

    Get-AppxPackage Microsoft.Xbox.* | Remove-AppxPackage

    Remove-AppxProvisionedPackage -Online -PackageName Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe

    Running: Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation

    shows:

    PackageFullName : Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe

    PackageUserInformation : {S-1-5-21-3454965948-3566078038-172135688-2216

    [S-1-5-21-3454965948-3566078038-172135688-2216]: Installed}

    I've also tried: Get-AppxPackage -allusers Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe | Remove-AppxPackage

    And: Get-AppxPackage -allusers | Remove-AppxPackage

    No matter what I do I see the following in the setupact.log file:

    2018-05-04 12:13:07, Error SYSPRP Package Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2018-05-04 12:13:07, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2018-05-04 12:13:07, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2018-05-04 12:13:07, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2

    2018-05-04 12:13:07, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2

    2018-05-04 12:13:07, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2

    2018-05-04 12:13:07, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2

    Any help is appreciated!
     
    seepeterun, Oct 7, 2020
    #3
  4. JonW2016 Win User

    User Files gone after running Sysprep

    Windows 10 Update breaks Sysprep?

    I am attempting to image a Dell E7470 with Sysprep to upload to my WDS server.

    When I run Sysprep /oobe / shutdown, it completes. However, without Generalize, I won't be able to upload it or deploy it.

    When I run Sysprep /oobe /generalize / shutdown, it reports that a fatal error has occurred. The setupact.log lists that the Miracastview app cannot be removed.

    I have attempted the Remove-appxpackage commands, but it states that it has been provisioned for the user but not all users. It says to attempt removal with Add / Remove Windows features, but it is not listed there.

    I have tried the steps in

    https://support.microsoft.com/en-us...w-cause-sysprep-error-windows-10-version-1709

    but none of this has worked either.

    I guess the answer is to not run any Windows updates before Sysprep and avoid 1709? It appears to be bad news.

    Anybody else encounter this? Any other solutions available?
     
    JonW2016, Oct 7, 2020
    #4
Thema:

User Files gone after running Sysprep

Loading...
  1. User Files gone after running Sysprep - Similar Threads - User Files gone

  2. Files and user settings gone after crash

    in Windows 10 Gaming
    Files and user settings gone after crash: When I tried to transfer a lot of files between my drives my computer became unresponsive so I end tasked programs and the log out my user to make a restart. The logging out user screen got stuck and didn't respond for a long time so I forced my computer to restart.After...
  3. Files and user settings gone after crash

    in Windows 10 Software and Apps
    Files and user settings gone after crash: When I tried to transfer a lot of files between my drives my computer became unresponsive so I end tasked programs and the log out my user to make a restart. The logging out user screen got stuck and didn't respond for a long time so I forced my computer to restart.After...
  4. How to launch a background Windows user after Sysprep?

    in Windows 10 Installation and Upgrade
    How to launch a background Windows user after Sysprep?: Hello ! I want to make Windows Images that can be clonable, so I'm currently using Sysprep with OOBE. Right now, I would like when the windows machine boot to launch a background user that will have an open session and dedicated tasks to do.I was previously using WinLogon but...
  5. CPU Temp gone after User files deleted

    in Windows 10 Network and Sharing
    CPU Temp gone after User files deleted: I tried making room on my Windows C drive, so i tried moving my user files to the D drive data to free up space. I’m sure knowledgeable PC owners read that and think it’s so dumb, but I didn’t know it was a bad thing, just moving it to another file in my head. Luckily i got...
  6. CPU Temp gone after User files deleted

    in Windows 10 Gaming
    CPU Temp gone after User files deleted: I tried making room on my Windows C drive, so i tried moving my user files to the D drive data to free up space. I’m sure knowledgeable PC owners read that and think it’s so dumb, but I didn’t know it was a bad thing, just moving it to another file in my head. Luckily i got...
  7. CPU Temp gone after User files deleted

    in Windows 10 Software and Apps
    CPU Temp gone after User files deleted: I tried making room on my Windows C drive, so i tried moving my user files to the D drive data to free up space. I’m sure knowledgeable PC owners read that and think it’s so dumb, but I didn’t know it was a bad thing, just moving it to another file in my head. Luckily i got...
  8. Users and files gone

    in Windows 10 Installation and Upgrade
    Users and files gone: When i turned on my pc, it took time, when it finally did, it gave me 2 options - one, to continue to windows; two to repair windows. Me thinking everything was fine, i just clicked continue. Finally it loaded up as usual but i had to press ctrl alt delete to login, which i...
  9. Sysprep Error - Cannot run sysprep

    in Windows 10 Backup and Restore
    Sysprep Error - Cannot run sysprep: Hello, I wondered if someone has any ideas.* I'm trying to do a sysprep but I keep getting the error below. Code: 2018-05-29 15:53:09, Error SYSPRP Package 7EE7776C.LinkedInforWindows_2.1.2639.0_neutral__w1wdnht996qgy was installed for a user, but not provisioned for all...
  10. Running Sysprep errors out and points to setupact file

    in Windows 10 Installation and Upgrade
    Running Sysprep errors out and points to setupact file: Hello, I am trying to create a Windows 10 image using an unattend file and sysprep. When I run the command below: sysprep.exe /oobe /generalize /unattend:c:\windows\system32\sysprep\unattend.xml After which I get an error message prompting me that sysprep was...