Toast Notification

In places where people are hyper sensitive about rebooting their machines, sometimes they need a gently reminder. In an effort to encourage my users to reboot their systems, I have started using Balloon (Toast) Notifications to prompt them every couple of hours in attempt to encourage them. This has been pretty successful for me. Hopefully it will help others as well.

I use this script in conjunction with a smart label that contains computer that have not been rebooted for more than 14 days but under 21 days.
 -You can change this to whatever fits. I chose this because after bugging them for a week, I change the script to a reboot countdown.

Then, We set up the script to notify the users…
Run As: Local System
CHECK: Allow run without logged in user
Launch a program…
Dir: $(KACE_SYS_DIR)
File: powershell.exe
Params: -sta -executionpolicy bypass -file “$(KACE_DEPENDENCY_DIR)\Reboot_Toast.ps1”
Do Not check: Wait for completion.
Here is the script:

You can edit the re-prompt time frame and length to your liking. Currently it prompts every 2 hours for 6 hours. The highlighted 360 is for the over all length and 7200 is the time (in seconds) between prompts.

Here are some screens:

Icon in Tray:

jdoCTX.png

The Toast Notification:

KkE4fB.png

Prompt on Balloon or Icon Click:

n7e8JQ.png

Let me know if you have any questions or feedback,

Thanks!