r/Intune•
TechGy

Proactive Remediation or Scheduled Task for Alerting Users to Network Issues

Like I would assume many others, we're sometimes inundated with tickets pertaining to network issues from our WFH staff, in which we currently go through a number of troubleshooting steps to check for issues on both the local network and internet connection. I actually started on a PS Script that I was going to package as an EXE and allow users to run on-demand when they were having network issues and it would help guide them through determine if there was an issue, where it was, and next steps.

​

It later occurred to me that maybe this would be more useful as a Proactive Remediation or Scheduled Task that produced a toast notification if an issue was detected along with that information. I searched but didn't find any cases where this had already been done. Has anyone else done something similar or found another approach?

Posted May 16, 2022, 5:21 PM UTC

103
RudyoomsMSFT Enterprise Mobility MVP•

Hi, It depends on how you are determining there are network issue.. but proactive remediations and showing users a toast notification could be done easily. Just like I did with pushing a missing update and showing the user it is going to fix it

https://call4cloud.nl/2021/07/quality-updates-international-preview-of-mystery-update/#part10

So, you only need to know what you want to know and test but proactive rem run each hour, so maybe using a scheduled task to monitor some event logs, could be a better idea

5
andrew181082Blogger•

The only issue I could see here is if there is an actual issue, the remediation obviously won't run so it depends how often the issues are real vs user error

1
DenverITGuy•

I suppose a scheduled task could work but what's the point of a recurring check for network issues? If someone has network issues, they want to check it immediately in the moment. You could guide the user through running the scheduled task manually, I suppose.

You can't run a PR on-demand. It must be on a one-time run or recurring schedule. Yes, you could force it to re-run by deleting its corresponding registry key and restarting the IME service but that's not user-friendly. However, the plus side to PR's would be the reporting back to Intune.

Unfortunately, I have not used PS to EXE so I can't comment on that method.

I've seen environments that will place their network health script in a system directory (to avoid editing) with a shortcut link to the user's desktop. It's essentially a cmd calling the powershell script wrapped in a friendly shortcut icon. Worth a shot? Keep in mind that the script would be run in User context.

1