Forum Discussion
ddickinsonBHCET
May 21, 2025Copper Contributor
User Profile Deletion
Hi, I have encountered an error when using Intune to delete user profiles. I am new to this and have put bits and pieces together from multiple sources to try and compile a script. I am using a Det...
Chris_Apps4Rent
Jun 05, 2025Brass Contributor
Hey Dean,
The script works after an Autopilot reset because older devices likely have issues with the Intune Management Extension or it's running the script in the wrong context (user instead of system).
It's not the 1-hour check — the script just isn’t running properly on those older setups.
Try:
- Making sure the script runs as system
- Checking the Intune agent health
- Reinstalling the agent if needed
That should fix it!