I have a windows service that is supposed to reboot the machine if the system is locked or if the system is logged out.
The service runs fine when the system is locked, but does not want to reboot the machine if the system is logged out of.
The service is running under local system permissions.
I'm lost at why the service is not working correctly when the user chooses to logoff the machine, instead of locking it....
any ideas?
thanks