|
Re: Hibernate while not logged in
I have given Local Service all privileges (a.o. act as part of the OS) and made it member of Administrators, but that didn't help.
Then I came across the W2K3 Resource Kit tool called srvany.exe.
I made Hibernator.exe /s (renamed) act as a service running under the Local Service account (blank pw), with manual startup.
I made a batchfile StartHibernator.bat with net start Hibernator in it, and made it the logon screen saver by editing the registry.
I also made a batchfile StopHibernator.bat with net stop Hibernator in it, and made that the command to be executed by Hibernator after resume.
I am considering to make StopHibernator.bat also a part of the login script, so Hibernator will stop if you log on 5 seconds before hibernation.
This solution seems to work nicely, although the configurable screensaver from within Hibernator does not show up. Surprisingly, it even works if the Hibernator service is run under the Local Service account instead of Local System, but maybe that's because it still is member of administrators and has all privileges. I have to test this.
One negative point though:
Once the Hibernator service is started, it just monitors CPU, disk and network, and does not monitor keyboard and mouse anymore. The Hibernator.exe process just keeps running if I move the mouse. Not sure how big this issue is for me.
Hibernator.scr however does monitor keyboard and mouse.
It's quite a workaround, but what do you think of this solution?
Alfred
|