I have a C# app running as a scheduled task. It's essentially a countdown timer for running shutdown.exe*

While the window does appear when a user is logged in, it doesn't appear at the login/welcome screen. However, it still does get executed in the background and the PC is turned off.

I'm looking for this to be able to run on Windows XP and Windows 7, with more emphasis on Windows 7. Any ideas?


Thanks



(*) One of the reasons why I made this countdown app was because shutdown.exe doesn't function the same in Windows 7 as it did in XP. A timer is not displayed, and the user can close the alert window in Windows 7.