I am having difficulty removing Microsoft.Messaging for Sysprep


  1. Posts : 8
    WIN 10
       #1

    I am having difficulty removing Microsoft.Messaging for Sysprep


    Issue with trying to create an image. I continually receive this error message: “SYSPRP Package Microsoft.Messaging_3.38.22001.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 run these commands to find and remove all the apps.
    Get-AppxPackage -AllUser | Format-List -Property PackageFullName,PackageUserInformation.
    Run Remove-AppxPackage -Package <packagefullname>
    Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>

    Microsoft.Messaging is not on any list. I still went through all of the users on that device and ran the commands in Powershell (Admin). I went through the registry and removed any keys that reference Microsoft.Messaging.

    And I continually receive the message about Microsoft.Messaging.

    Any suggestions?
    Thank You
      My Computer


  2. Posts : 17,638
    Windows 10 Pro
       #2

    MB NH said:
    Any suggestions?

    First, welcome to Ten Forums

    Messaging belongs to Windows Communications Apps. To remove provisioning, enter the following command in an elevated PowerShell:

    Get-appxprovisionedpackage –online | where-object {$_.packagename –like "*microsoft.windowscommunicationsapps*"} | remove-appxprovisionedpackage –online

    If removing provisioning is not enough to get Sysprep to work, remove the app with following command:

    Get-appxpackage -allusers *microsoft.windowscommunicationsapps* | Remove-AppxPackage

    Tutorial: Uninstall Apps in Windows 10 | Tutorials

    Kari
      My Computer


  3. Posts : 8
    WIN 10
    Thread Starter
       #3

    Changed the app name to "Microsoft.Messaging".
    Ran the commands as PowerShell (Admin) for all users on the PC as requested.
    No change to the results: "Error log: . 2018-11-12 10:06:48, Error SYSPRP Package Microsoft.Messaging_3.38.22001.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users."

    Thank You
      My Computer


  4. Posts : 13,934
    Windows 10 Pro X64 21H1 19043.1503
       #4

    Did you try it as Kari showed?
      My Computers


  5. Posts : 8
    WIN 10
    Thread Starter
       #5

    Yes
      My Computer


  6. Posts : 17,638
    Windows 10 Pro
       #6

    MB NH said:
    Yes
    When removing the app or its provisioning, did you change the app name in your command? Although error message and sysprep logs show it as Microsoft.Messaging, the name you should use in PowerShell commands is Windows Communications Apps (microsoft.windowscommunicationsapps).

    Full command examples in my previous post.

    Kari
      My Computer


  7. Posts : 8
    WIN 10
    Thread Starter
       #7

    I tried both; using "Micosoft.Messaging" and Windows Communications apps as you had in your previous post. Both failed to get rid of it.

    I tried a different PC and with that one it's "AutodeskSketchBook" that refuses to be uninstalled. I did find it's location in Windows, but running as the default machine admin, I cannot delete it. Don't have the proper privileges.

    Thank You
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:33.
Find Us




Windows 10 Forums