Forum Discussion
RobYoung
Sep 23, 2021Iron Contributor
Cleanup Intune profiles and policies
We have come across an issue where a desktop support person was logging into each windows device that they were deploying which assigned them as the primary user on the device. I ran a script to swi...
RobYoung
Sep 24, 2021Iron Contributor
I didnt think the user profile on the machine was associated with the intune Device Compliance, Device COnfig, and ES Config. I went ahead and pulled the previous user profile off the machine and performed a sync, but the policies and configurations are still applying.
Sep 24, 2021
It depends on what was configured..
Device policies...
User policies
Could you take a look at what registry keys are still present inside the policymanager registry key?
Device policies...
User policies
Could you take a look at what registry keys are still present inside the policymanager registry key?
- RobYoungSep 28, 2021Iron ContributorFigured out the best way to handle this. Delete the Windows Device from AAD and MEM and wait for it to re-sync. cleans up the any MEM policies and profiles. Just made it a practice for our desktop team to do this before they deploy new or redeploy any Windows device.
- Sep 29, 2021SO you need to add the device manually back to aad? isn't autopilot reset not a better option
https://call4cloud.nl/2021/04/to-retire-or-not-to-wipe/#part5
When we need to reassign a existing device to a new user we are always choosing an autopilot reset.- RobYoungOct 04, 2021Iron ContributorThese are hybrid devices. By deleting them in AAD and MEM, they will be autocreated back into AAD and MEM clean. Bit of a pain to do when we switch or deploy pc's, but it seems to work.