Forum Discussion

Saad793's avatar
Saad793
Copper Contributor
Dec 25, 2023

Remove SCCM Client (agent) via Intune

Hi Community,

 

We have 1000+ devices in a co-managed state and need to remove the SCCM client from all machines via Intune. Any working script or guide available to achieve this task via Intune. 

 

    • Admin6793's avatar
      Admin6793
      Copper Contributor
      Hi

      Thanks for sharing this. Does that Powershell command remove all traces of SCCM client from machine? I would appreciate if you share and have similar experience with client requirements. Secondly can you check below configuration is OK as I import the Powershell script via Intune and got below additional settings to do.

      Run this script using the logged on credentials : Yes
      Enforce script signature check: No
      Run script in 64 bit PowerShell Host: Yes


      • rahuljindal-MVP's avatar
        rahuljindal-MVP
        Bronze Contributor
        Yes, the command will remove the client and all its traces. Run the script in system context so the first option should be set to No. Rest is good.

Resources