W4RH4WK / Debloat-Windows-10

A Collection of Scripts Which Disable / Remove Windows 10 Features and Apps
Other
6.09k stars 848 forks source link

CandyCrush Saga and other crapware keeps re-installing. #77

Open ghost opened 8 years ago

ghost commented 8 years ago

Even after running all the cleanup scripts, the crapware keeps re-installing itself back, namely Candy Crush Saga, Farmville2, Asphalt8, PicsArt, Netflix and several other junk apps..

Windows10 Pro 1607

W4RH4WK commented 8 years ago

Are you sure they are re-installed? Does this happen when doing windows updates?

Daystrom256 commented 8 years ago

On my units I've seen the Candy Crush icon start to come back but not completely install. I have the Windows Update (wuauserv) service disabled. I also get "Suggested" items popping up although I thought I disabled that, will recheck. Checked, "Occasionally show suggestions in start" is off and greyed out so users can't turn it back on, and yet I get a suggested item for "Totemo". Huh... I can't even get rid of the suggested "Totemo". Right clicking and choosing either Don't show this suggestion or turn off all doesn't get rid of it. EVIL!

W4RH4WK commented 8 years ago

EVIL is the perfect term to describe by experience with the windows 10 start menu. I encourage all people to use an alternative if applicable.

It's a shame that managing tiles in the startmenu is such a pain in the ass. At least I haven't found a scripting API, all I found were workarounds which have their own shortcomings.

ghost commented 8 years ago

The problem is, you uninstall these apps, and within 10 minutes or so, you notice your PC slow down, as all those apps are being reinstalled again. This links suggests a way to stop it, but it doesn't work.

http://winaero.com/blog/fix-windows-10-installs-apps-like-candy-crush-soda-saga-automatically/

The comments suggest that evil Microsoft have only allowed the crapware to stop coming back, on enterprise and educational builds, since build 14291

W4RH4WK commented 8 years ago

Can you identify which process starts the re-installation. Maybe a quick look using the resource manager could help observing network and disk usage.

I have disabled ShellExperienceHost and SearchUI since I believe these are the two programs doing most of the EVIL stuff. But certain desktop features (which I do not use) stop working, like the original start menu.

bittin commented 8 years ago

Was at a System Center and MDT Usergroup Meetup at the Swedish Microsoft Office last Thursday, and i got good news they told me there will be less bloat in Creators Update aka Redstone 2 :)

W4RH4WK commented 8 years ago

@bittin thanks for sharing this information, let's hope for the best.

frenziedmuffin commented 7 years ago

Supposedly you can prevent apps from reinstalling by enabling the group policy: Computer Configuration | Administrative Templates | Windows Components | Cloud Content | Enable: Turn off Microsoft consumer experiences.

So far I've not been hit with more bloatware. However when doing MS Updates some of Microsoft base apps will still come back. Third party apps like Candy Crush or other BS doesn't seem to auto-download.

W4RH4WK commented 7 years ago

Did that merge solve the issue?

ghost commented 7 years ago

Hey, I had worked hard to improve performance on our old pc 2008-2010 at our school. I had spent a lot of time looking a way to disable auto install apps but i found regedit commands on pastebin that disables auto install apps. Thanks to TAIRIKUOKAMI

rem 0 - Disable / 1 - Auto-install subscribed/suggested apps (games like Candy Crush Soda Saga/Minecraft)
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OemPreInstalledAppsEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d "0" /f
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SuggestedApps" /f

I haven't tested them yet because i'm still working with scripts, but me and our company used these powershell command to uninstall all apps except calc, picture and store app and prevent Win10 from installing apps to new users during Win10 deployment. I had checked some pc, only few pc had 1-2 apps installed. Most of them don't have any apps installed.

# Uninstall unnecessary modern apps except photos, etc...
Get-AppXPackage -allusers | where-object {$_.name –notlike “*photos*” -and $_.name -notlike “*store*” -and $_.name -notlike “*calc*”} | Remove-AppxPackage

# Prevent Windows 10 from installing apps to new users
Get-appxprovisionedpackage –online | where-object {$_.packagename –notlike “*photos*” -and $_.packagename -notlike “*store*” -and $_.name -notlike “*calc*”} | Remove-AppxProvisionedPackage -online

I hope it helps

pmkochie commented 7 years ago

I use a GPO to add a registry KEY. Hive: HKEY_LOCAL_MACHINE Key Path: SOFTWARE\Policies\Microsoft\Windows\CloudContent Value name = DisableWindowsConsumerFeatures Value type: REG_DWORD Value data: 1 I use a WMI filter of the GPO for Windows 8/8.1/10 machines only. Name space = root\CMIv2 Query = select * from Win32_OperatingSystem where (Version like "6.2%" or Version like "6.3%" or Version like "10.%") and ProductType="1"

Clooloo commented 6 years ago

YEAA I FOUND THIS BECAUSE THAT SHITWARE KEEPS COMING BACK, this is stupid and an invasion.

Clooloo commented 6 years ago

This problem is still not resolved, as it is happenong now infront of my eyes I cannot beleive it keeps coming back, OMGGGGGGG

4oo4 commented 6 years ago

@rhasce Similar to what was suggested here, try running these commands from an admin Powershell prompt. This works for me pretty reliably (as of 1709, haven't tested with 1803 yet):

Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "FeatureManagementEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "OemPreInstalledAppsEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "PreInstalledAppsEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SilentInstalledAppsEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "ContentDeliveryAllowed" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "PreInstalledAppsEverEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContentEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338388Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338389Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-314559Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338387Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338393Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SystemPaneSuggestionsEnabled" 0
Set-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore" "AutoDownload" 2
Set-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent" "DisableWindowsConsumerFeatures" 1

Really surprised that these registry keys haven't made it into the script yet. If it works for others I can make a PR.

linuswillner commented 6 years ago

@4oo4 Can confirm that those do the trick. There is only one hitch, namely the fact that if you run the last two ones after going through the debloat scripts, they'll throw errors because Store is uninstalled and disabled by them.

Clooloo commented 6 years ago

Sweet yes it worked thanks

On Jun 15, 2018 03:33, Linus Willner notifications@github.com wrote:

@4oo4https://github.com/4oo4 Can confirm that all of those do the trick. There is only one hitch, namely the fact that if you run the last two ones after going through the debloat scripts, they'll throw errors because Store is uninstalled and disabled by them.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/W4RH4WK/Debloat-Windows-10/issues/77#issuecomment-397552476, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ah5JkHWzgyGD5qL4-cmDRzL7bsAnhEy7ks5t83FLgaJpZM4KZecs.

4oo4 commented 6 years ago

Thank you both for testing!

@linuswillner Hopefully those errors won't pop up if you run them all at once (will have to test that at some point). I'll make a PR when I get a chance.

ctietgen commented 6 years ago

I usually use the Registry entry shown above to prevent this, then reboot for it to take affect, but it doesn't always work. Just this week I had to uninstall Candy Crush games 4x on one machine before it finally stopped.

I've tweeted at Microsoft several times that this is super annoying, especially for computers we use at work, but got nothing but crickets back as a response.

Next time I will try @4oo4 's suggestion above.