I'm looking for a way to force Windows XP Pro SP3 to display the 'It's now safe to turn off your computer' screen when doing a shutdown.
The reason behind is that I want my UPS to turn off/on the power at some point and the PC should startup automatically again after the power cycle. In the BIOS this can be configured so that the PC powers on automatically if it sees power is being restored, but only if the PC was running before the power went away initially.
It seems it was possible to force this in Windows XP < SP1 by calling ExitWindowsEx
with the EWX_SHUTDOWN
uFlags parameter
See here for details
So why was this removed in SP1 and higher?
Any other ways to force this?