Sysprep not working anymore on Win10 2004

Recently ugpgraded from Windows 10 Professional 1909 to Windows 10 Professional 2004 and ever since I can't seem to run sysprep anymore.

When I open the sysprep setuperror log files the following is shown:

2020-06-03 14:36:37, Error                 SYSPRP Package InputApp_1000.18362.387.0_neutral_neutral_cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

2020-06-03 14:36:37, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

2020-06-03 14:36:37, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

2020-06-03 14:36:37, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2

2020-06-03 14:36:37, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2

2020-06-03 14:36:37, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2

2020-06-03 14:36:37, Error      [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2

2020-06-03 14:36:37, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

I can't seem to remove InputApp_1000.18362.387.0_neutral_neutral_cw5n1h2txyewy and also, it seems to be superseeded by InputApp_1000.18362.449.0_neutral_neutral_cw5n1h2txyewy.

Any tips?

EDIT: extra info:  both version of InputApp were already there on 1909 and that never raised a problem.

|

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

Good day! I'm Raniel, an Independent Advisor and a Microsoft user like you.

Can you try running the command to remove the package using this format:

Get-AppxPackage -all *pacakgefullname* | Remove-AppxPackage -AllUsers

You may verify the correct InputApp package name by typing the command:
Get-AppxPackage -AllUser | Format-List -Property PackageFullName,PackageUserInformation

In your case, it should be like
Get-AppxPackage -all InputApp_1000.18362.387.0_neutral_neutral_cw5n1h2txyewy | Remove-AppxPackage -AllUsers

I hope this helps.

3 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi NCRWesley,

I forgot to mention to run the command using powershell as administrator. Apologies for that.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hey Raniel, good day to you too and thanks for the quick answer.

I've tried the above and unfortunately it doesn't work, gives me back the following:

Remove-AppxPackage -AllUsers InputApp_1000.18362.387.0_neutral_neutral_cw5n1h2txyewy

Remove-AppxPackage : Removal failed. Please contact your software vendor.

Deployment Remove operation with target volume C: on Package InputApp_1000.18362.387.0_neutral_neutral_cw5n1h2txyewy from:   failed with error 0x80070032. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.

At line:1 char:1

+ Remove-AppxPackage -AllUsers InputApp_1000.18362.387.0_neutral_neutra ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Remove-AppxPackage], COMException

    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi NCRWesley,

Thank you for your feedback! Can you also follow the steps mentioned on this link to resolve issues with sysprep: https://support.microsoft.com/en-us/help/276982...

If the issue persist, open powershell again as administrator and type the command:
Get-AppxPackage|Remove-AppxPackage

Please let me know how it goes.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Raniel,

Tried the above and unfortunately it won't remove InputApp.

I'll give it all another go from scratch (install win10 pro 2004  from an iso) and see if that works.

I'll report back here with the results.

Thanks so far.

Regards,

Wesley

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Wesley,

Apologies if the provided steps didn't work. Please keep me updated with the progress.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Instal as local user, don't sign-in using MS account.

Update = Replace old bugs with new ones.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Same issue here.  Trying to update system images for 4 different OEM systems.  Two of them now will not sysprep with failure to remove "InputApp".  PowerShell/DISM/APPX commands won't get it done (I have years of experience with this process)...

*****   Here is the "COMExcpetion" error which is posted:

PS C:\WINDOWS\system32> import-module appx
PS C:\WINDOWS\system32> import-module dism
PS C:\WINDOWS\system32> Remove-AppxPackage -AllUser -Package InputApp_1000.17134.1.0_neutral_neutral_cw5n1h2txyewy
Remove-AppxPackage : Removal failed. Please contact your software vendor.
Deployment Remove operation with target volume C: on Package InputApp_1000.17134.1.0_neutral_neutral_cw5n1h2txyewy
from:   failed with error 0x80070032. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues.
At line:1 char:1
+ Remove-AppxPackage -AllUser -Package InputApp_1000.17134.1.0_neutral_ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-AppxPackage], COMException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.PackageManager.Comman
   ds.RemoveAppxPackageCommand

*** Here are the details on the package which can't be removed and is causing SYSPREP to fail:

Name                   : InputApp
Publisher              : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture           : Neutral
ResourceId             : neutral
Version                : 1000.17134.1.0
PackageFullName        : InputApp_1000.17134.1.0_neutral_neutral_cw5n1h2txyewy
InstallLocation        :
IsFramework            : False
PackageFamilyName      : InputApp_cw5n1h2txyewy
PublisherId            : cw5n1h2txyewy
PackageUserInformation : {S-1-5-21-3008522267-3944218512-4277749475-1001
                         [S-1-5-21-3008522267-3944218512-4277749475-1001]: Installed}
IsResourcePackage      : False
IsBundle               : False
IsDevelopmentMode      : False
NonRemovable           : True
IsPartiallyStaged      : False
SignatureKind          : System
Status                 : Ok

Please advise direct solution.  Pointing us at some voluminous knowledgebase article is a pretty good indication that the specific answer/solution is NOT known...

 

5 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.


Has anyone solved it ?, I have the same problem and I cannot pass the sysprec

2020-06-12 11:42:05, Error SYSPRP Package InputApp_1000.18362.449.0_neutral_neutral_cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2020-06-12 11:42:05, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2020-06-12 11:42:05, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2020-06-12 11:42:05, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2020-06-12 11:42:05, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2020-06-12 11:42:05, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2 2020-06-12 11:42:05, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2020-06-12 11:42:05, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

The following packages are preventing SYSPREP from completing successfully (Win 10 2004) on four of my platforms.  All three of these are seen on all four of the platforms I am trying to SYSPREP.  Sometimes a "versionary" number (17763) in the names have changed, but it is always been these three packages:

- InputApp_1000.17763.1.0_neutral_neutral_cw5n1h2txyewy
- Microsoft.PPIProjection_10.0.17763.1_neutral_neutral_cw5n1h2txyewy
- Microsoft.Windows.Cortana_1.11.5.17763_neutral_neutral_cw5n1h2txyewy

The following "usual" Powershell commands do NOT work to uninstall theses packages:

- import-module appx

- import-module dism

- Remove-AppxPackage -AllUser -Package InputApp_1000.17763.1.0_neutral_neutral_cw5n1h2txyewy
- Remove-AppxPackage -AllUser -Package Microsoft.PPIProjection_10.0.17763.1_neutral_neutral_cw5n1h2txyewy
- Remove-AppxPackage -AllUser -Package Microsoft.Windows.Cortana_1.11.5.17763_neutral_neutral_cw5n1h2txyewy

Apparently, it is because they are now PROTECTED ("NonRemovable  : True").  So, you can't SYSPREP your system because these packages can't be removed (NICE!).  Catch-22!

In order to WORKAROUND this Microsoft Nonsense, you will first have to unset the "NonRemovable" field.  This is actually called "IsInBox" and it has to be changed from "1" to "0".  Unfortunately the folder, database, and files are all protected and owned by SYSTEM so it requires you to jump through some hoops.  This can all be done manually, but its very tedious and frustrating.

I have found the following user-developed package which will unset this "feature" on these apps automatically.  It works VERY WELL, quickly, and is well written.  Run it in TEST mode to see what file entries it will be changing before you run it for real.  You can tweak its targets by editing the "AppxPackageList.txt" file before you run it for real.  This app will automatically unset the "IsInBox" field so you can then run the "usual" Powershell commands (above) to remove the offending packages:

https://github.com/SoftSonic83/AppxDBEditor/

Here are the contents of my AppxPackageList.txt which the above app will use to search for the intended packages:

     # Modern UI Dialog-App for entering Japanese Characters
     InputApp=0

     # App to project the Screen to a Wireless Display
     Microsoft.PPIProjection=0

     # Cortana
     Microsoft.Windows.Cortana=0

Good Luck - Cause Microsoft isn't going to help you!

45 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

 
 

Question Info


Last updated June 15, 2021 Views 20,590 Applies to: