title: Shutdown Windows without Shutdown banner
body: <p>Very simply, I have created a simple shutdown timer with C# Forms that runs a shutdown command through the command prompt with an associated timer. I have noticed that Windows displays a notification indicating the computer is about to be shutdown just prior to the event (I think it appears no sooner than 15 min or so).</p>
  
  <p><strong>My question is this</strong>: Is there a way to stop that popup notification from appearing without interacting with the registry or making intrusive changes in Windows 7/8/10? </p>
  
  <p>I haven't been able to find a good resource on interacting with native Windows (OS) elements like popups and notifications handed out by the OS for these kinds of events. Anyway to catch that event and modify it (like to not display the notification) would be great. But a more permanent solution such as disabling it  through the registry or something is also fine. But I'm more interested in a programmatic solution.</p>
  
  <p><img src="https://i.imgur.com/LZ2qTTL.png" alt="Windows 10 Shutdown Notification"></p>
  
  <p><em>Note: If there is no intrusive way of handling this, then I am really open to anything. I'm also trying to re-learn Forms so the exercise is worth it.</em></p>
  
  <p>Edit: The code is on <a href="https://github.com/taylorflatt/windows-shutdown-timer" rel="nofollow noreferrer">GitHub</a> and pretty much completed but I would like to add this functionality to it.</p>