Hello,
One of the most common issues in this scenario is that the SCCM Agent is still present in the machine. I would recommend to remove following the next steps:
Yo can use the next methods:
-Remove using CCMSETUP:
Run the command prompt as administrator.
Change the path to client agent location – C:\Windows\ccmsetup.
Run the command ccmsetup.exe /uninstall.
Go to C:\Windows\ccmsetup\Logs and open ccmsetup.log file to monitor the client uninstallation.
Restart your computer after you uninstall the client agent.
--If the reply is helpful, please Upvote and Accept as answer--