Kaseya Community

Uninstalling Candy Crush, etc

  • Anyone have a good automated way to uninstall Candy Crush and other programs that don't show up under "Programs and Features" automatically using VSA ?  Also, a good way to block these types of apps from being installed again ?  thanks in advance!!

  • Take a look at the Spiceworks "decrapifier" script.

  • thanks for the help Corey....I also found this script that I just tested and works well as an FYI for anyone looking for a solution:  github.com/.../Windows10Debloater

  • Here you go. Edit to add and/or remove whatever you want to clean up.

    <ScriptExport xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema" xmlns="www.kaseya.com/.../Scripting">

    <Procedure name="Remove Win10 Unwanted Apps" treePres="3" id="1644383713" folderId="673215306677498" treeFullPath="Common Scripts.Configure System">

    <Body description="">

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *zune* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *bing* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *officehub* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *xbox* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *commsphone* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *windowsphone* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *sway* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *twitter* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *messaging* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *contactsupport* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *candycrush* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *bubblewitch* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *minecraft* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *marchofempires* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="Execute Powershell Command (32-bit, Run As User)" continueOnFail="true">

    <Parameter xsi:type="StringParameter" name="Parameter1" value=""/>

    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-AppxPackage *people* | remove-AppxPackage"/>

    <Parameter xsi:type="StringParameter" name="Parameter3" value="False"/>

    </Statement>

    <Statement name="SetRegistryValue64" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">

    <Parameter xsi:type="StringParameter" name="RegistryPath" value="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SystemPaneSuggestionsEnabled"/>

    <Parameter xsi:type="StringParameter" name="Value" value="0"/>

    <Parameter xsi:type="EnumParameter" name="DataType" value="Integer"/>

    </Statement>

    </Body>

    </Procedure>

    </ScriptExport>