Prevent removed apps from reinstalling

Page 1 of 2 12 LastLast

  1. Posts : 463
    Windows 10 Home and Pro
       #1

    Prevent removed apps from reinstalling


    Hello all,

    There are a few apps that keep installing themselves even after I removed them. 3D builder, Get Office, etc. Is there a way, or a couple ways to get them to NOT install once I remove them? Or to at the very least block them from functioning (example, the Get Office app notifies me about getting office all the time).

    Thanks!
      My Computer


  2. Posts : 5,452
    Windows 11 Home
       #2

    I have removed them and they do not reinstall, unless you run SFC scan or a restore from an image.
    Anyway, when you go to Settings - Privacy - Background apps - you can block notifications there.
    Attached Thumbnails Attached Thumbnails Prevent removed apps from reinstalling-capture_11172015_092221.jpg  
      My Computer


  3. Posts : 5,478
    2004
       #3

    Right click uninstall only uninstalls for current user. You may want to uninstall the AppxProvisionedPackage as well as the AppxPackage. So for 3d builder, from powershell:
    Code:
    $app="Microsoft.3DBuilder"
    Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
    Get-AppXProvisionedPackage -Online | where DisplayName -EQ $app | Remove-AppxProvisionedPackage -Online
    if you want to remove more just delete the ones you want to keep from this code (or comment them with a #) then copy/paste into administrator powershell window and press enter:
    Code:
    $apps=@( 	
    	"9E2F88E3.Twitter"
    	"ClearChannelRadioDigital.iHeartRadio"
    	"Flipboard.Flipboard"
    	"king.com.CandyCrushSodaSaga"
    	"Microsoft.3DBuilder"
    	"Microsoft.BingFinance"
    	"Microsoft.BingNews"
    	"Microsoft.BingSports"
    	"Microsoft.BingWeather"
    	"Microsoft.CommsPhone"
    	"Microsoft.Getstarted"
    	#"Microsoft.Messaging"
    	"Microsoft.MicrosoftOfficeHub"
    	"Microsoft.MicrosoftSolitaireCollection"
    	"Microsoft.Office.OneNote"
    	"Microsoft.Office.Sway"
    	"Microsoft.People"
    	"Microsoft.SkypeApp"
    	"Microsoft.Windows.Phone"
    	"Microsoft.Windows.Photos"
    	"Microsoft.WindowsAlarms"
    	#"Microsoft.WindowsCalculator"
    	"Microsoft.WindowsCamera"
    	"Microsoft.WindowsMaps"
    	"Microsoft.WindowsPhone"
    	"Microsoft.WindowsSoundRecorder"
    	"Microsoft.XboxApp"
    	"Microsoft.ZuneMusic"
    	"Microsoft.ZuneVideo"
    	#"microsoft.windowscommunicationsapps"
    	"Microsoft.MinecraftUWP"
    	"ShazamEntertainmentLtd.Shazam"		
    )
    
    foreach ($app in $apps) {	
    	Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
    	Get-AppXProvisionedPackage -Online | where DisplayName -EQ $app | Remove-AppxProvisionedPackage -Online
    			
    	$appPath="$Env:LOCALAPPDATA\Packages\$app*"
    	Remove-Item $appPath -Recurse -Force -ErrorAction 0
    }
    Then as @TairikuOkami says they'll only come back if you do an upgrade or restore.
      My Computer


  4. Posts : 15,037
    Windows 10 IoT
       #4

    I've had some of those default installed Apps reinstall in Windows 8.1 a couple of times in the past. Very annoying to say the least. Can't say as it's happened in 10 though. Not that I noticed anyway. I hope that's not going to a trend every patch Tuesday. Microsoft seems to be adding to the list of default installed Apps too. Candy Crush Saga, Minecraft, really?
      My Computer


  5. Posts : 5,452
    Windows 11 Home
       #5

    Do you you use MS account to sign into Windows? If yes, maybe it just synced owned apps.
      My Computer


  6. Posts : 15,037
    Windows 10 IoT
       #6

    I use a Microsoft ID. I haven't seen Sync actually install Apps. The few I do use I have to install manually on each PC.
      My Computer


  7. Posts : 287
    win 10 home
       #7

    After my upgrade to TH2, I stopped Windows Update, uninstalled some of the apps that were reinstalled. And there they were, after reading this thread. Something internal is doing 'repair' to reinstall these apps.
      My Computer


  8. Posts : 463
    Windows 10 Home and Pro
    Thread Starter
       #8

    Office reinstalled itself. I put the above-mentioned code in so let's see if that does the trick this time.

    Right away, I noticed the apps disappeared.
      My Computer


  9. Posts : 39
    Windows 10 - 64 - home
       #9

    thanks... the code worked for me...
    they're all gone
    except mail, calculator, calendar, and the store...

    i've done this before but windows update
    or something keeps putting them back...

    edit: i found out if you use classic shell
    you can uninstall all of these...
    even the store...
    just by right clicking

    and you get a nice start menu too...
    Last edited by hannelius; 28 Nov 2015 at 18:23.
      My Computer


  10. Posts : 11
    Windows 7 Ultimate
       #10

    lx07 said:
    Right click uninstall only uninstalls for current user. You may want to uninstall the AppxProvisionedPackage as well as the AppxPackage...
    So far, it appears to be working for a user. Thanks.

    I would also mention that there's a registry area worth looking into:
    HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\PackageRepository\Packages

    This one had double entries for each annoying app package before running your script.

    This appears to mirror a hidden folder set under "C:\Program Files\WindowsApps" which doesn't want you to see it or review it. Seems to be easiest to see by opening up a command shell as Administrator and then changing into this directory manually. Note that even if you delete the apps they show up under, e.g., "C:\Program Files\WindowsApps\DeletedAllUserPackages" so Microsoft may have some mechanism of silently resurrecting these if they want to.

    Note that 3D Builder re-installed itself multiple times on this computer. Sometimes it happened immediately after a logout/login event. Sometimes it did this after a period of 30 minutes inactivity. It's like, Microsoft knows that there is big money in the app world (going to school on Apple's iTunes) and they'll do anything to chase that money.

    I wouldn't be so sure about these apps not returning at some date in the future when I've deployed this workstation to the end-user's desk. I for one think this is ridiculous for Microsoft to keep installing Xbox games on a business computer.
      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 20:33.
Find Us




Windows 10 Forums