• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Windows 10 sysprep error.

Scheduled Pinned Locked Moved
Windows Problems
6
26
51.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    John Johnson
    last edited by May 17, 2016, 7:25 PM

    I have the following error when trying to run sysprep on a Dell 7010:

    2016-05-17 12:06:49, Error SYSPRP Package 9E2F88E3.Twitter_4.3.4.0_x86__wgeqdkkx372wm was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2016-05-17 12:06:49, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2016-05-17 12:06:49, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2016-05-17 12:06:49, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing ‘SysprepGeneralizeValidate’ from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2016-05-17 12:06:49, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2016-05-17 12:06:49, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
    2016-05-17 12:06:49, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2016-05-17 12:06:49, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by May 17, 2016, 7:30 PM

      Did you try to remove the “Microsoft value added” bloatware before you sysprep’d it?

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      1 Reply Last reply Reply Quote 0
      • J
        John Johnson
        last edited by May 17, 2016, 7:31 PM

        I removed xbox, twitter and candy crush. Is there something else to remove?

        G 1 Reply Last reply May 17, 2016, 7:32 PM Reply Quote 0
        • G
          george1421 Moderator @John Johnson
          last edited by george1421 May 17, 2016, 1:33 PM May 17, 2016, 7:32 PM

          @John-Johnson Its more to the point how you removed the applications

          You need to run both commands

          Remove-AppxPackage
          Remove-AppxProvisionedPackage

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          J 1 Reply Last reply May 17, 2016, 7:36 PM Reply Quote 0
          • J
            John Johnson
            last edited by May 17, 2016, 7:34 PM

            I also removed the Windows Store app in the registry.

            1 Reply Last reply Reply Quote 0
            • G
              george1421 Moderator
              last edited by May 17, 2016, 7:36 PM

              I used a modified version of the script that is the accepted answer here:
              https://social.technet.microsoft.com/Forums/en-US/9c4cac17-1893-49c5-9b30-a6c31ca6e2f9/windows-10-builtin-app-uninstall-for-allusers?forum=win10itprogeneral

              I build my Win10 CBB reference image with MDT and have that powershell script run as a task sequence.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

              1 Reply Last reply Reply Quote 0
              • J
                John Johnson @george1421
                last edited by May 17, 2016, 7:36 PM

                @george1421 This is done in Windows PowerShell? I did remove the apps that way.

                G 1 Reply Last reply May 17, 2016, 7:38 PM Reply Quote 0
                • G
                  george1421 Moderator @John Johnson
                  last edited by May 17, 2016, 7:38 PM

                  @John-Johnson Hmm the error message kind of indicates you ran
                  Remove-AppxProvisionedPackage this command which uninstalls the package but did not run this command Remove-AppxPackage to remove it from the current user. Again this is only a wild guess based on what I think the error messages means.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                  G J 2 Replies Last reply May 17, 2016, 7:41 PM Reply Quote 0
                  • G
                    george1421 Moderator @george1421
                    last edited by May 17, 2016, 7:41 PM

                    MS KB with this error listed (condition 3) https://support.microsoft.com/en-us/kb/2769827

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                    1 Reply Last reply Reply Quote 0
                    • J
                      John Johnson @george1421
                      last edited by May 17, 2016, 7:41 PM

                      @george1421 I ran the commands as Administrator. I did not run them under the original user account.

                      G 1 Reply Last reply May 17, 2016, 7:44 PM Reply Quote 0
                      • G
                        george1421 Moderator @John Johnson
                        last edited by May 17, 2016, 7:44 PM

                        @John-Johnson Did you ever login as someone else on that system? If someone else has a profile that is already been created then you have your answer.

                        Again just guessing (at bit better each time) based on the info I have so far.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                        G 1 Reply Last reply May 17, 2016, 7:46 PM Reply Quote 0
                        • G
                          george1421 Moderator @george1421
                          last edited by george1421 May 17, 2016, 1:48 PM May 17, 2016, 7:46 PM

                          @george1421 I just found a comment about making sure your reference machine can’t connect to the internet, because if it can it will begin to download stuff.

                          I can so for my setup the reference machine can’t connect to the internet because we hare behind a firewall and proxy server. So the reference machine can not get out period.

                          Ref: http://deploymentresearch.com/Research/Post/450/Sysprep-broken-in-Windows-10-Build-9926

                          Workarounds posted

                          There are two workarounds:
                          
                          1. Make sure the virtual machine you are using for reference images never connects to Internet.
                          2. Prior to run sysprep, have the task sequence delete all uppdated packages using PowerShell
                          
                          To delete a package, use the following PowerShell command:
                          
                          # Delete a package
                          Get-AppxPackage –Name *Insider* | Remove-AppxPackage
                          
                          

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                          J 3 Replies Last reply May 17, 2016, 7:52 PM Reply Quote 0
                          • J
                            John Johnson @george1421
                            last edited by May 17, 2016, 7:52 PM

                            @george1421 The only reason for connecting to the internet is to run updates and get Adobe software, etc.

                            G 1 Reply Last reply May 17, 2016, 7:58 PM Reply Quote 0
                            • J
                              John Johnson @george1421
                              last edited by May 17, 2016, 7:54 PM

                              @george1421 I am going to start from scratch and see if I can work around this.

                              J 1 Reply Last reply May 17, 2016, 7:59 PM Reply Quote 0
                              • G
                                george1421 Moderator @John Johnson
                                last edited by May 17, 2016, 7:58 PM

                                @John-Johnson Just as a recommendation, for windows updates use a 2012 wsus server. And for adobe updates download them to a flash drive so you can install them. It sounds like you are building your reference image manually using audit mode?

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                J 1 Reply Last reply May 17, 2016, 9:53 PM Reply Quote 0
                                • J
                                  JJ Fullmer Testers @John Johnson
                                  last edited by Wayne Workman May 17, 2016, 2:01 PM May 17, 2016, 7:59 PM

                                  @John-Johnson I ran into a similar error.
                                  This answer is similar to the other’s but I had to run the following powershell script on every local user to get sysprep to work.

                                  $AppsList = "Microsoft.Bing" , "Microsoft.BingFinance" , "Microsoft.BingMaps" , "Microsoft.BingNews"`
                                              , "Microsoft.BingSports" , "Microsoft.BingTravel" , "Microsoft.BingWeather" , "Microsoft.Camera"`
                                              , "microsoft.microsoftskydrive" , "Microsoft.Reader" , "microsoft.windowscommunicationsapps"`
                                              , "microsoft.windowsphotos" , "Microsoft.XboxLIVEGames" , "Microsoft.ZuneMusic"`
                                              , "Microsoft.ZuneVideo" , "Microsoft.Media.PlayReadyClient"
                                  
                                  ForEach ($App in $AppsList)
                                  {
                                      $PackageFullName = (Get-AppxPackage $App).PackageFullName
                                      if ((Get-AppxPackage $App).PackageFullName)
                                      {
                                          Write-Host "Removing Package: $App"
                                          remove-AppxProvisionedPackage -online -packagename $PackageFullName
                                          remove-AppxPackage -package $PackageFullName
                                      }
                                      else
                                      {
                                          Write-Host "Unable to find package: $App"
                                      }
                                  }
                                  

                                  See this post for more info
                                  https://forums.fogproject.org/topic/5873/windows-10-unattend-xml-sysprep-answer-file-challenge/15

                                  Have you tried the FogApi powershell module? It's pretty cool IMHO
                                  https://github.com/darksidemilk/FogApi
                                  https://fogapi.readthedocs.io/en/latest/
                                  https://www.powershellgallery.com/packages/FogApi
                                  https://forums.fogproject.org/topic/12026/powershell-api-module

                                  J 1 Reply Last reply May 18, 2016, 1:20 PM Reply Quote 1
                                  • J
                                    John Johnson @george1421
                                    last edited by May 17, 2016, 9:53 PM

                                    @george1421 I am actually building the image on the computer model we will use it on. We have several different models. I had no issues with Windows 7 but Windows 10 has been a struggle.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      John Johnson @JJ Fullmer
                                      last edited by May 18, 2016, 1:20 PM

                                      @Arrowhead-IT This actually worked for me!

                                      1 Reply Last reply Reply Quote 1
                                      • J
                                        John Johnson @george1421
                                        last edited by May 18, 2016, 1:22 PM

                                        @george1421 This worked. Arrowhead IT suggested the same.

                                        G 1 Reply Last reply May 18, 2016, 1:37 PM Reply Quote 1
                                        • G
                                          george1421 Moderator @John Johnson
                                          last edited by May 18, 2016, 1:37 PM

                                          @John-Johnson just for clarity the power shell script that ArrowHead-IT posted (same as what I posted only through the link) corrected your issue? You were able to update your win10 with all of the updates from the internet and you applied the adobe updates? I just want to ensure your workflow was the same and the only thing you changed was the powershell script.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                          J 1 Reply Last reply May 18, 2016, 3:01 PM Reply Quote 1
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            19/26
                                            Last post

                                          197

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project