Uninstall Apps in Windows 10  

Page 19 of 66 FirstFirst ... 9171819202129 ... LastLast

  1. Posts : 68,894
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #180

    I don't see anything wrong with your commands for Messaging, but the error indicates that there is some problem with the online command.

    Do you still have the Messaging app showing in All Apps after creating a new account?

    In addition, use the PowerShell command below to see if the Messaging package is still listed.

    Get-AppxPackage | Select Name, PackageFullName
      My Computers


  2. Posts : 66
    Windows 10 Pro 64 bit
       #181

    Brink said:
    I don't see anything wrong with your commands for Messaging, but the error indicates that there is some problem with the online command.

    Do you still have the Messaging app showing in All Apps after creating a new account?

    In addition, use the PowerShell command below to see if the Messaging package is still listed.

    Get-AppxPackage | Select Name, PackageFullName

    You do have a point! It is the only App among those uninstalled, together with SkypeVideo, which is again there after creating a new account.
    Uninstall Apps in Windows 10-messaging-2.png

    The package itself though does not seem to be listed.
    Uninstall Apps in Windows 10-name.jpg

    On top of that I tried to re-apply the "-online" switch getting the same error message
    Uninstall Apps in Windows 10-online2.jpg

    and this makes me think that my 1st idea, "the order -online > -allusers does not work right", is totally inconsistent.

    I really don't know what to say.
    Last edited by Lmbrt; 22 May 2016 at 12:44.
      My Computer


  3. Posts : 68,894
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #182

    As a test, see if using the current user command below may remove it from All Apps.

    Get-AppxPackage *Messaging* | Remove-AppxPackage
      My Computers


  4. Posts : 66
    Windows 10 Pro 64 bit
       #183

    Brink said:
    As a test, see if using the current user command below may remove it from All Apps.

    Get-AppxPackage *Messaging* | Remove-AppxPackage

    Afraid not. I applied the string witout getting any error message, but Messaging is still there in All Apps. Know what, tomorrow morning local time I try on a clean PC to apply first Messaging and then Skype. I'll keep you posted.

    And thanks a lot for your patience. :)
      My Computer


  5. Posts : 68,894
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #184

    It sure is being a stubborn app.
      My Computers


  6. Posts : 66
    Windows 10 Pro 64 bit
       #185

    Brink said:
    It sure is being a stubborn app.
    It is indeed!

    I have performed three tests and the results seem rather interesting to me.

    Test 1 (-online > -allusers)

    1. I did a clean installation of Windows 10 and in the %ProgramFiles%\WindowsApps folder I found 78 folders.
    2. I ran the -online commands taking care this time to apply FIRST Messaging and THEN skypeapp (before all the others just for clarity) and I got NO error message. :)
    3. I ran the -allusers commands according to the same sequence as above and again I got NO error messsage. In the %ProgramFiles%\WindowsApps there were then 38 folders left.
    4. I created a new User Account and there was NEITHER Messaging NOR Get Skype in the All Apps Menu.


    Test 2 ( -allusers > -online)

    1. I did a new clean installation of Windows 10 on the very same machine according to the very same parameters as above and in the %ProgramFiles%\WindowsApps folder I found the very same 78 folders.
    2. I ran the -allusers commands taking care again to apply FIRST Messaging and THEN skypeapp (before all the others just for clarity) and I got NO error message. :)
    3. I ran the -online commands according to the same sequence as above and again I got NO error messsage. In the %ProgramFiles%\WindowsApps there were then 42 folders left.
    4. I created a new User Account and there was NEITHER Messaging NOR Get Skype in the All Apps Menu.


    According to such results it would seem that maybe Messaging is somehow related to / a component of Skype and hence it is relevant the order according to which the two are uninstalled, but it is totally irrelevant in what order the two switches are applied.

    The above results bring me to another consideration: you were most certainly right when you stated that

    Brink said:
    Q5) If you use the "All users" option first to uninstall an app, then the app won't be installed to be able to use the "-online" switch to only remove the app for new users created afterwards.

    In fact, applying the -online switch before the -allusers one to the same apps get rid of a few more folders in %ProgramFiles%\WindowsApps, notably four (in this particular case) Microsoft.NET.Native.Framework... ones.

    Finally, I performed another

    Test 3 (Uninstall > -online/-allusers)
    1. On another machine I simply applied the official Uninstall as per Option One to a few apps and counted the number of folders left in %ProgramFiles%\WindowsApps.
    2. Then I applied the commands of Option Three with both switches to the same apps and a few more folders had disappeared.


    Well, it would seem that the second passage gets rid of more stuff than Option One alone.


    (my) Conclusions

    1. I would advise to uninstall Messaging before Get Skype.
    2. I would advise to apply the command switches to the same apps in the following order: -online before -allusers.
    3. I would advise to go directly for Option Three with both switches, raher that using the original uninstaller.


    Of course, all of the above come from my limited experience that I am simply sharing while waiting for your final assessment.

    Looking forward to reading you. And thanks again for your patience. :)
    Last edited by Lmbrt; 23 May 2016 at 12:48.
      My Computer


  7. Posts : 68,894
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #186

    Thank you for posting back with your findings. :)
      My Computers


  8. Posts : 1
    Windows 10 Pro
       #187

    Edwin, you've swapped the positions of the Remove and Where commandlets, therefore sending the entire list to Remove, and then running where on the removal command's output. Of course it took out everything. Sorry abt your problem. They call 'er PowerShell for a reason.

    Gary said:
    I tried using your shortcut suggestion before using this script:
    Code:
    Get-AppxPackage -AllUsers | Remove-AppxPackage | where {$_.Name -notlike “*Store*”}
    The script worked but it was not supposed to remove the store and it did. I then tried your shortcut and I could not re install the store. Any Ideas?
    @Edwin
      My Computer


  9. Posts : 8
    Linux Mint 17.3 (Rosa ) Cinnamon 64bit
       #188

    Option 4 problems


    Firstly, KUDOS to Brink for all the effort. A great thread. I'm not alone; so many people seem to be finding this helpful.

    Please excuse my Dunce-ness...

    I get errors with OPTION FOUR:


    As administrator in a PowerShell:

    2. To Remove All Apps except Store from Your (current) Account
    Code:
    PS C:\Users\Administrator> Get-AppXPackage | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage
    At line:1 char:63
    + ... kage | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage
    +                                                        ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (Windows.Miracas...l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
    
    Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CFA)
    error 0x80070032: AppX Deployment Remove operation on package Windows.PrintDialog_6.2.0.0_neutral_neutral_cw5n1h2txyewy from: C:\Windows\PrintDialog failed. This app is part of
    Windows and cannot be uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn Windows Features on or off. However, it may
    not be possible to uninstall the app.
    NOTE: For additional information, look for [ActivityId] 01ddee6c-cd15-0000-0939-de0115cdd101 in the Event Log or use the command line Get-AppxLog -ActivityID
    01ddee6c-cd15-0000-0939-de0115cdd101
    ^^ a sample of the error


    As administrator in a PowerShell:

    3. To Remove All Apps except Store from Specific User Account
    Code:
    PS C:\Users\Administrator> Get-AppXPackage -User virtualbox | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage
    Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CFA)
    error 0x80070032: AppX Deployment Remove operation on package Microsoft.BioEnrollment_10.0.10586.0_neutral__cw5n1h2txyewy from:
    C:\Windows\SystemApps\Microsoft.BioEnrollment_cw5n1h2txyewy failed. This app is part of Windows and cannot be uninstalled on a per-user basis. An administrator can attempt to
    remove the app from the computer using Turn Windows Features on or off. However, it may not be possible to uninstall the app.
    NOTE: For additional information, look for [ActivityId] 01ddee6c-cd15-0001-3430-de0115cdd101 in the Event Log or use the command line Get-AppxLog -ActivityID
    01ddee6c-cd15-0001-3430-de0115cdd101
    At line:1 char:80
    + ... lbox | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage
    +                                                        ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (Microsoft.BioEn...__cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
    ^^ a sample of the error


    As administrator in a PowerShell:

    4. To Remove All Apps except Store from New Accounts Created Afterwards
    Code:
    PS C:\Users\Administrator>  Get-appxprovisionedpackage –online | where-object {$_.packagename –notlike “*store*”} | Remove-AppxProvisionedPackage -online
    ^^ seems to work OK


    As administrator in a PowerShell:

    5. To Remove All Apps except Store from All Accounts
    Code:
    PS C:\Users\Administrator> Get-AppxPackage -AllUsers | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage
    Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CFA)
    error 0x80070032: AppX Deployment Remove operation on package Microsoft.Windows.CloudExperienceHost_10.0.10586.0_neutral_neutral_cw5n1h2txyewy from:
    C:\Windows\SystemApps\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy failed. This app is part of Windows and cannot be uninstalled on a per-user basis. An administrator
    can attempt to remove the app from the computer using Turn Windows Features on or off. However, it may not be possible to uninstall the app.
    NOTE: For additional information, look for [ActivityId] 01ddee6c-cd15-0000-083b-de0115cdd101 in the Event Log or use the command line Get-AppxLog -ActivityID
    01ddee6c-cd15-0000-083b-de0115cdd101
    At line:1 char:73
    + ... sers | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage
    +                                                        ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (Microsoft.Windo...l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
    ^^ a sample of the error

    Is it simply that these commands do NOT work when run as Administrator?
    Or something else....
      My Computer


  10. Posts : 68,894
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #189

    Hello smokin, :)

    It's normal to get the error in red below from you excerpts above for some apps. It just means that there was an error trying to uninstall that specific app since Windows will not let it be uninstalled.

    This app is part of Windows and cannot be uninstalled on a per-user basis.
      My Computers


 

Tutorial Categories

Uninstall Apps in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 19:02.
Find Us




Windows 10 Forums