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
Dec 25, 2023Bronze Contributor
Saad793 you can send down ccmsetup.exe /uninstall using Powershell.
Admin6793
Dec 25, 2023Copper 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
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
- rahuljindalDec 25, 2023Bronze 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.
- Admin6793Dec 25, 2023Copper Contributor
- rahuljindalDec 25, 2023Bronze ContributorLooks about right. However, you should test it on a few devices first. Also, before doing anything, can you confirm if are all the workloads are moved to full Intune under Co-management?