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