Skip to main content

CWA Solution - 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
Script_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.
Monitor_Copilot_Disable_&_UninstallInternal MonitorThis monitor disables the copilot and uninstall it from the detected agents.
Monitor_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.
Dataview_Copilot_Enable_Disable_AuditDataviewThis 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 Monitor_Copilot_Disable_&_Uninstall and Monitor_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: