Is it possible to create un-skippable full screen alerts in windows?
04:54 11 Jan 2023

I want to create a notification or an alert for the user to restart the PC if it hasn't been done so for 5 days.I used windows toast to do this but found out that toasts can be dismissed and there is no way to perform an action upon dismissal, this is not good as the user can just dismiss the toast without restart the pc for n number of days. I need to implement something similar to the "Low/Ciritical battery" or the "Low Disk Space" Notification (see pictures attached).

Low Disk Space Image AV Image

I have tried some searching on how to implement this alert but almost all the sources use toast notifications to display the alert. Any help would be appreciated. Thanks.

c# windows powershell