Windows 10: Running Sysprep errors out and points to setupact file

Discus and support Running Sysprep errors out and points to setupact file in Windows 10 Installation and Upgrade to solve the problem; 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... Discussion in 'Windows 10 Installation and Upgrade' started by sadi, Jan 30, 2017.

  1. sadi Win User

    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 unable to validate my Windows installation and to look at a log file located in the sysprep\panther folder.

    There are a few error lines I am unfamiliar with, any ideas on what I may need to fix? Attached are both the log file and the unattend answer file I created.

    :)
     

  2. Can't run Sysprep on Windows 10 Enterprise

    Hi All,

    So i'm having a bit a problem running sysprep on Windows 10. Currenty, im in the process of creating a new Win10 image for my company but i get the following error everytime i run sysprep:

    "Sysprep was not able to validate your Windows installation. Review the log file at %WINDIR%\SYSTEM32\Sysprep\Panther\setupact.log for details. After resolving the issue, use sysprep to validate your installation again."

    This is a fresh install of win10 **(not upgraded from 7,8, or 8.1)**. No provisioned apps have been installed\ran. I even tried installing win10 again thinking the install had been corrupted in some way. That didn't work either; however, in doing so i noticed
    this only became a problem after running updates. Sysprep ran successfully before running any updates.

    I check the log as well and, to be honest, i cant really tell where the problem stems from, its just not clear. I dont feel comfortable changing anything in the registry unless i know it wont have any adverse effect on anything else.

    Any help\input would be greatly appreciated. At this point, im completely out of ideas. I just need to run this in OOTB mode and generalized. Never had this problem with 7 or 8.. Running Sysprep errors out and points to setupact file :(.. Why must you break what was running perfectly in other platforms.
     
    Mikeredd117, Jan 30, 2017
    #2
  3. Windows 10 Pro 64-bit version 1511

    Applied update to my reference image, boot, all OK. Attempt to sysprep to make deployable image for customers, error, log file says "Sysprep will not run on an upgraded OS,... run only on a clean install version of Windows". Does this mean for every major
    upgrade I'll have to create from scratch a new reference image?
     
    Paul M. Williams, Jan 30, 2017
    #3
  4. Kari Win User

    Running Sysprep errors out and points to setupact file

    Hi Sadi. welcome to Ten Forums.

    Which version (or build) and edition of Windows 10 you are trying to sysprep? Are you running sysprep after a clean install in Audit Mode, or later on an existing Windows 10 installation?
     
  5. cereberus Win User
    Sysprep does not like uwp apps that a user downloads (default ones preinstalled are ok).

    In this case it is candycrushsodasaga that is the issue (look at text in log file). So basically uninstall it before sysprepping.

    Unfortunately, it then tends to bomb out with similar error in next package and you have to delete that and so on.

    I would uninstall all uwp apps that you can upfront to avoid repetition.
     
    cereberus, Jan 30, 2017
    #5
  6. sadi Win User
    Hi Kari,

    This is Windows 10 Pro, version 10.0.10586 Build 10586. I installed Windows 10 clean from the installation disk that came with the machine, we bulk order HP 840 with Windows 7 pre-installed but they come Windows 10 ready with a license. I am pretty sure that sysprep was run in Audit mode as I was unable to open certain applications such as Edge (despite me not using the keyboard shortcut during the setup screen to boot into Audit mode).
     
  7. sadi Win User
    I did a clean install so I was surprised to see candycrush on there, I made sure the application was not on the device before running sysprep and tried to find the file you saw in the logs, but there was no trace of it, so I am not sure where that file is being referenced. I tried to go through the other error lines as well but I do not really understand what they are pointing to as an issue since they seem to just lead to the generalize.xml file found in C:/Windows/System32/Sysprep/ActionFiles
     
  8. cereberus Win User

    Running Sysprep errors out and points to setupact file

    You may have to use powershell commands to remove stuff - see tutorials section.
     
    cereberus, Jan 30, 2017
    #8
  9. Kari Win User
    OK, I think that explains it.

    To start with, you of course know that Windows 10 version 1511 (build 10586) is already over 18 months old and honestly, you shouldn't use (and there really are no good reasons to use) it anymore to make your deployment image. The current branch and version is 1607 (build 14393) from August 2nd 2016. That's the version you should use.

    Next, if you did not specifically boot to Audit Mode with CTRL + SHIFT + F3 from OOBE regional settings dialog, you most definitely were not in Audit Mode. Instead you have installed Windows normally and then used built-in admin account in normal mode to customize and Sysprep. This explains why Edge and other UWP apps did not work; they are disabled when using built-in admin account both in normal and Audit Mode, Settings app being only exception.

    That being said, if you insist doing this using v. 1511, it had several issues with Sysprep. One was that you had to install it on a technician machine without network connection: on technician machine, unplug Ethernet cable, turn PC on and install until OOBE regional settings dialog, boot to Audit Mode and only then plug Ethernet cable back in and connect to Internet.

    This prevents Windows provisioning UWP apps too early and allows you to run Sysprep.


    In v.1511 Candy Crush Saga was not preinstalled per se but it was one of those recommendations Windows showed after first boot to desktop. As it was not properly installed it was also hard to get rid of.

    It is preventing you to run Sysprep because of the reasons told above: You have installed Windows normally and sysprepped in normal mode (or entered Audit Mode later on when OOBE was already completed), not as it should be done with v.1511 installing Windows without network connection until in Audit Mode, connecting network, customizing and sysprepping.
     
  10. sadi Win User
    Ah, I see, I will create a bootable usb with the latest build then and try it again. Is it best to create and sysprep the image through Audit mode? I did watch your videos where you created an image on a VM using it, but this was my first time working on Windows 10 and imaging in general so I was trying to find the simplest way to do it using whatever media came with the device. Either way, I will update when I get a chance to try this tomorrow and hopefully will have better results.

    Thanks!
     
  11. Kari Win User
    I try to avoid using words "correct procedure"; every time I do so some other geek feels it important to split hairs and posts something like "I've always done it like this, not like as you tell" *Wink

    So, I am not telling the correct way to do this, I am just telling how I am doing image creation having always managed it without any issues. I'll list work flow in about right chronological order:

    • Be sure your technician machine has no Internet connection
    • Install Windows 10 normally until after last reboot the Regional Settings dialog is shown, press CTRL + SHIFT + F3 to reboot to Audit Mode
    • In Audit Mode desktop, connect machine to network and Internet
    • Install your software & additional features (for instance language packs), restart if an installer requires it; as long as you do not specifically tell Windows to exit Audit Mode, Windows returns to Audit Mode after restart
    • Customize Windows as you wish
    • Run Sysprep with /generalize and /oobe switches & your custom answer file (/generalize switch only required if default profile customizations have been done, it also requires COPYPROFILE component in answer file to be set TRUE)
    • Capture image
    • Deploy
     
Thema:

Running Sysprep errors out and points to setupact file

Loading...
  1. Running Sysprep errors out and points to setupact file - Similar Threads - Running Sysprep errors

  2. SysPrep deleted files. Recover?

    in Windows 10 Ask Insider
    SysPrep deleted files. Recover?: I'm going to start by saying I know very little about software, most of my knowledge in PC's are hardware related. I had just replaced parts in my PC for upgrades, a forum had said I can run SysPrep to remove unused drivers from old hardware, and from there I can install the...
  3. User Files gone after running Sysprep

    in Windows 10 Installation and Upgrade
    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...
  4. unable to run sysprep on windows10 systems

    in Windows 10 Installation and Upgrade
    unable to run sysprep on windows10 systems: unable to run sysprep on windows 10 systems. error message attached[ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/unable-to-run-sysprep-on-windows10-systems/7d42dac6-0dfd-4928-8cfd-b875282c22cb
  5. Sysprep error - active scenario

    in Windows 10 Installation and Upgrade
    Sysprep error - active scenario: The PC came with Win7Pro OEM from the factory. I performed a clean install of Win10Pro 1903 and it activated itself. I let Windows update itself and I installed a couple of freeware applications. I did not install/uninstall any apps. I'm trying to sysprep the PC so that I...
  6. Sysprep error - active scenario

    in Windows 10 Support
    Sysprep error - active scenario: The PC came with Win7Pro OEM from the factory. I performed a clean install of Win10Pro 1903 and it activated itself. I let Windows update itself and I installed a couple of freeware applications. I did not install/uninstall any apps. I'm trying to sysprep the PC so that I...
  7. Sysprep Errors on 1809

    in Windows 10 Software and Apps
    Sysprep Errors on 1809: I'm building a virtual machine (VM) to be sysprep'd and captured as a base image. Currently our organization uses LTSB and have not historically had to deal with Windows Store Apps but LTSB is changing in the coming year and moving to a Professional/Enterprise build makes...
  8. 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...
  9. Couldnt run sysprep, I have set along log file

    in Windows 10 Installation and Upgrade
    Couldnt run sysprep, I have set along log file: I tried to run sysprep and it bombed , Her is my log filesetupact.log thanks John 109344
  10. Sysprep errors

    in Windows 10 Installation and Upgrade
    Sysprep errors: I'm using an upgraded version of Windows 10, and I'm trying to do a sysprep on it. I've already completed the registry changes needed, but I'm still getting errors. If I could get some help on figuring out what needs to be done to fix it, that would be great. Here is the...