Uninstall Apps in Windows 10  

Page 18 of 66 FirstFirst ... 8161718192028 ... LastLast

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

    Tru dat.
      My Computers


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

    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.

    Hello Shawn, :)

    Thank you very much for your answers and sorry for bothering again, but I am not sure I got this thing straight.

    First of all I figured out that the red message I posted was due to a problem with PowerShell (Cannot load PSReadline module...) and not to the order according to which I had applied the two switches.

    In fact , applying "correctly" the "-online" switch (the "-allusers" had already been successfully used), the two OneNote folders in %ProgramFiles%\WindowsApps disappeared.
    Uninstall Apps in Windows 10-people-on_10.png
    Uninstall Apps in Windows 10-people-on_11.png

    My apologies if that got someone else confused. I have edited my previous post with a note according to these results.

    Now, let us assume that I am not interested at all in certain apps (most of them actually) and all I wish is to clean my PC as much as possible. To do that, after experimenting a bit, I got to the conclusion that both switches, "-allusers" and "-online", must be applied to the same app in succession. That is because I noticed that, using both of them, a greater number of folders in %ProgramFiles%\WindowsApps disappear, and often all of them (Solitaire Collection seems to be an exception to this rule).

    Q1 In what order? That is, to maximize cleaning and not incur in other issues, should I use first "-allusers" or "-online" to uninstall the same app?

    If I understood a previous advice of yours well, I could then prepare two nice scripts based on Option Three including all the apps I want to uninstall, one with the "-allusers" switch and the second one with the "-online" switch, and change the extensions to .ps1. Then launching one after the other...

    Q2 the problem is that I am not sure on how to launch a .ps1 file as Administrator...
    Last edited by Lmbrt; 15 May 2016 at 14:43.
      My Computer


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

    Lmbrt, :)

    Q1) It doesn't matter what order you use.

    Q2) It would be best to start a new thread for how to run a .ps1 file as administrator since that may get involved.
      My Computers


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

    Brink said:
    Lmbrt, :)

    Q1) It doesn't matter what order you use.

    Q2) It would be best to start a new thread for how to run a .ps1 file as administrator since that may get involved.
    Thank you again.

    I will follow your advice concerning Q2 as I haven't found a solution yet...
      My Computer


  5. Posts : 66
    Windows 10 Pro 64 bit
       #174

    Hey Shawn,

    Out of curiosity, do you think that the result in terms of "housecleaning" is the same comparing, for the very same app, Option One with Option Three?

    Differently said, if I wish to uninstall, for instance, 3D Builder, would I have removed exactly the same folders and files clicking on "Uninstall" or using the Get-Appx strings? What switches in this case? I expect that the equivalence would be both "-allusers" and "-online", but I am not sure at all.

    Thank you in advance. :)
      My Computer


  6. Posts : 68,668
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #175

    Personally, I wouldn't recommend to manually delete any files and folders other than what the command already done.
      My Computers


  7. Posts : 66
    Windows 10 Pro 64 bit
       #176

    Brink said:
    Q2) It would be best to start a new thread for how to run a .ps1 file as administrator since that may get involved.

    Done! :)
    On how to run a .ps1 file as Administrator
      My Computer


  8. Posts : 66
    Windows 10 Pro 64 bit
       #177

    Brink said:
    Personally, I wouldn't recommend to manually delete any files and folders other than what the command already done.

    I am sorry if I did not make myself clear enough.

    I did not mean I wish to manually delete any files or folders, as I had prefectly got your advice in the previous post about the opportunity of not messing with those folders. What I was trying to ask is whether the official Uninstall as per Option One would get rid of the same stuff as applying Option Three with both switches.

    Sorry again, not a native English speaker
      My Computer


  9. Posts : 68,668
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #178

    It should, but I'm sure there's always a chance of an exception.
      My Computers


  10. Posts : 66
    Windows 10 Pro 64 bit
       #179

    Hey Shawn,

    Following all previous advices, I ran two tailored sets of the instructions you kindly provided to remove a group of apps:
    Uninstall Apps in Windows 10-online.ps1.png
    Uninstall Apps in Windows 10-allusers.ps1.png

    I chose to apply first the "-online" switch and then the "-allusers" one, merely on the basis that a fully installed app should be more capable of barring future installations before uninstalling itself for all users. In fact a crossed test proved that this order seems better at least in what concerns the number of folders removed from the WindowsApps folder (not true for all apps, but for Solitaire for sure)

    Everything went like a charm, but for Messaging. I tested it on three different machines, but I keep getting the following Error message:
    Uninstall Apps in Windows 10-messaging_error.png

    The only two things that come to my mind are:
    1- the order -online > -allusers does not work right, at least with Messaging;
    2- removing skypeapp before Messaging somehow complicates its uninstalling because they are related (Skypewise).

    Any suggestions? Thank you very much in advance.
    Last edited by Lmbrt; 22 May 2016 at 12:21.
      My Computer


 

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 03:58.
Find Us




Windows 10 Forums