Skip to main content

Copilot Disable/Uninstall & Revert

Purpose

This solution contains Copilot disabling/uninstall and revert optional addition to revert the copilot back if required

Associated Content

ContentTypeFunction
Copilot Enable/DisableScriptThis script will uninstall and disable the Windows Copilot application as well as its functionality in the Edge browser. It has the revert option available too to revert the changes to its original state. The Copilot changes stores to the computer-EDF from where the data populates to the DV. The revert and disable can be scheduled using Autofix monitors.
Copilot Disable and UninstallInternal MonitorThis monitor disables the copilot and uninstall it from the detected agents.
Copilot Revert DeploymentInternal MonitorThis monitor reverts the copilot changes and ensures to enable and install the copilot on the agents where the script has disabled and uninstalled it.
Copilot Enable/Disable [Script]DataviewThis dataview contains the detail of action taken on the agent by the script at Copilot.
△ Custom - Execute Script - Copilot - Enable/DisableAlert TemplateThis alert template is used in both monitors Copilot Disable and Uninstall and Copilot Revert Deployment to execute the Script - Copilot Enable/Disable for performing the disable/uninstall or revert action based on the TestValue result of the monitor.

Implementation

  1. Import the following content from the ProSync plugin:

  2. Execute the script Script - Copilot Enable/Disable against any online Windows machine with the Set_Environment parameter set to 1 to create the EDFs used by the solution.

Set_Envrionment

  1. Reload the system cache:

    Image

  2. Configure the solution as outlined below:

    • Navigate to Automation → Monitors within the CWA Control Center and set up the following:
    • Copilot Disable and Uninstall
    • Copilot Revert Deployment
    • Right-click and Run Now to start the monitor
    • Set up with △ Custom - Execute Script - Copilot - Enable/Disable Alert Template

Changelog

2025-04-10

  • Initial version of the document