Forum Discussion
Saad793
Dec 25, 2023Copper Contributor
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.
- rahuljindal-MVPBronze Contributor
Saad793 you can send down ccmsetup.exe /uninstall using Powershell.
- Admin6793Copper ContributorHi
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-MVPBronze ContributorYes, 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.