Win-10-21H2 SYSPREP ISSUE

Anonymous
2022-01-10T10:16:03.977+00:00

I've recently updated my win1909 enterprise to WIN10 21H2 via windows Update feature.
I would like to sysprep the WIN10 21H2 but its failing with below message.

" Package InputApp_1000.17134.1.0_neutral_neutral_cw5n1h2txyewy was installed for a user,"

I tried to uninstall or remove the package using below command using Powershell command. but didn't work

Get-appxprovisionedpackage –online | where-object {$_.packagename –like 'InputApp'} | remove-appxprovisionedpackage –online

USED THE BELOW COMMAND RECEIVE THE BELOW ERROR MESSAGE.
Remove-AppxPackage -AllUsers -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 -AllUsers -Package InputApp_1000.17134.1.0_neutral ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : NotSpecified: (:) [Remove-AppxPackage], COMException
  • FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.PackageManager.Comman
    ds.RemoveAppxPackageCommand

Tried to search InputApp_1000.17134.1.0 package in Microsoft package folder didnt find.

kindly need urgent support to fix this issue to finalize sysprep for image creation.

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,245 questions
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Sean Liming 4,766 Reputation points Volunteer Moderator
    2022-01-10T16:23:20.88+00:00

    Do you have more than one account in the system?

    If so, do a simple search to see if the package is still present: dism /online /Get-ProvisionedAppxPackages

    Then go through each account and do a package remove:

    Dism /online /Remove-ProvisionedAppxPackage /PackageName:InputApp_1000.17134.1.0_neutral_neutral_cw5n1h2txyewy


  2. Limitless Technology 39,926 Reputation points
    2022-01-10T18:46:32.217+00:00

    Hello @Anonymous

    When I had the same problem with sysprep, it helped me:

    Check registry

    "HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\":
    CleanupState must be 2,
    GeneralizationState must be 7.

    I had GeneralizationState =3 and after I changed it to 7 sysprep worked well.

    Hope this helps with your query,


    --If the reply is helpful, please Upvote and Accept as answer--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.