Forum Discussion
Kashish_Goyal
Aug 29, 2023Copper Contributor
Detection and Remediation Script in Intune
We have a detection and remediation script for a Toast notification to display on user machines, sending them an alert to restart their computers for better performance and stability reasons.
However, We have set it to check the devices at 09:30 am. It works perfectly fine, checks the devices at 09:30 and then sends user an alert to restart the computer after the user has logged in.
My question is, what if a user has restarted the computer at 09:45am and they still get the alert because the sync happened at 09:30am.
Any suggestions?
- JeroenBurgerhoutIron ContributorProbably at the next check-in from the device in Intune, the remediation script will run. That's what I have experienced.
- Abdullah_OllivierreCopper ContributorWhy not simply use WUfB to restart the machine ? Update Rings > Deadline settings are good for that, no ?
- rahuljindal-MVPBronze ContributorMay be a schedule task will be a better way to address this. Eliminate other dependencies like Intune. Just create an SC using Intune to have users restart at a fix schedule.
- inftencybsecCopper ContributorExcuse me @kashish Goyal
Can you share me your script ?