Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove Windows 10 Bloat
#41
Wanted to try this one, so i downloaded both scripts. Now i lost my mail, calendar and the app market apps, so i decided to launch the putback script. But they didnt come back. Rebooting didnt solve the issue. Any ideas?
Reply
#42
If your data is stored in cloud, it should not be lost. Hard to say what exactly happened without knowing more details.
The reverse script should restore all apps that were uninstalled using the prior script. If that doesn't work you might try to run this from Command Prompt (Admin)):

Code:
PowerShell -Command "Get-AppxPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}"
Reply
#43
I love this script.  Takes care of a lot of stuff I wanted to remove/disable.  However, I like my search bar as i use a lot of commands.
You should add the below line to the script.  It disables the "suggested apps" like the Candy Crush junk and whatnot.


REM *** Disable Suggestions in the Start Menu ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f
Reply
#44
Thanks for the suggestion!
Reply
#45
Hi Martin,

I tried to run your bat file on Windows 10 Pro (Version 1703, OS Build 15063.138) and one issue crept up that I wasn't ok with, the entire Start Menu became unusable. I could click on the start button, and the start menu would pop up but be in a greyed out disabled state, even though the tiles and such underneath it would still be animating (like the twitter and facebook tiles).

There were a couple errors from the batch file output, not sure if they are relevant but i'll paste them below... Any help would be appreciated. (running your reversal script does bring the start menu functionality back)

here's the first few...

C:\Users\bsterling\Downloads>PowerShell -Command "Get-AppxPackage *Cortana* | 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.Cortana_1.8.12.15063_neutral_neutral_cw5n1h2txyewy from: C:\Windows\SystemApps\Microsoft.Windows.Cortana_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] d7d26740-b924-0004-db74-d2d724b9d201 in the Event Log or use the command line Get-AppxLog -ActivityID d7d26740-b924-0004-db74-d2d724b9d201
At line:1 char:29
+ Get-AppxPackage *Cortana* | Remove-AppxPackage
+                             ~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : WriteError: (Microsoft.Windo...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 CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy from: C:\Windows\SystemApps\CortanaListenUIApp_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] d7d26740-b924-0003-d278-d2d724b9d201 in the Event Log or use the command line Get-AppxLog -ActivityID d7d26740-b924-0003-d278-d2d724b9d201
At line:1 char:29
+ Get-AppxPackage *Cortana* | Remove-AppxPackage
+                             ~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : WriteError: (CortanaListenUI...__cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
   + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand


and then further down when you disable xbox...

C:\Users\bsterling\Downloads>PowerShell -Command "Get-AppxPackage *xbox* | 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.XboxGameCallableUI_1000.15063.0.0_neutral_neutral_cw5n1h2txyewy from: C:\Windows\SystemApps\Microsoft.XboxGameCallableUI_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] d7d26740-b924-0004-4375-d2d724b9d201 in the Event Log or use the command line Get-AppxLog -ActivityID d7d26740-b924-0004-4375-d2d724b9d201
At line:1 char:26
+ Get-AppxPackage *xbox* | Remove-AppxPackage
+                          ~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : WriteError: (Microsoft.XboxG...l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
   + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand


and further down with ContentDeliveryManager...

C:\Users\bsterling\Downloads>PowerShell -Command "Get-AppxPackage *ContentDeliveryManager* | 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.ContentDeliveryManager_10.0.15063.0_neutral_neutral_cw5n1h2txyewy from: C:\Windows\SystemApps\Microsoft.Windows.ContentDeliveryManager_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] d7d26740-b924-0004-7575-d2d724b9d201 in the Event Log or use the command line Get-AppxLog -ActivityID d7d26740-b924-0004-7575-d2d724b9d201
At line:1 char:44
+ Get-AppxPackage *ContentDeliveryManager* | Remove-AppxPackage
+                                            ~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : WriteError: (Microsoft.Windo...l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
   + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
Reply
#46
This seems to be unfortunately the effect of completely disabling Cortana. Doing this in Version 1703 (RS2) seems to render the entire Start menu unavailable.
Should be easy to fix this (but it will bring Cortana back) by:
1. Open Windows Explorer and navigate to: C:\Windows\SystemApps\
2. Rename the "Microsoft.Windows.Cortana_cw5n1h2txyewy.bak" folder to "Microsoft.Windows.Cortana_cw5n1h2txyewy" (so remove the last .bak extension).
The system should automatically start Cortana after a few seconds. If that doesn't happen, launch manually "SearchUI.exe" inside that folder.

I will comment out the step to disable Cortana until a better solution is found.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)