Is there a way in Windows XP to run a task every time a computer resumes from suspend/hibernate? On workstation unlock would also work.
feedback
|
migrated from serverfault.com Dec 3 '11 at 16:56
This question came from our site for system administrators and desktop support professionals.
|
There is a partial solution working under WinXP. It requires you to create suspend/hibernation script and always hibernate the comp this way instead of pushing laptop button / through Windows menu.
That way, Of course, you have to provide full path to psshutdown.exe, or add the folder where you unpack it to NOTE: You can disable power button / sleep button in
However I don't know if you can disable standby from Windows menu. A dirty hack to disable hibernation from
so you enable hibernation from command line, hibernate, and immediately disable it after you come back from hibernation. | |||||||||||
feedback
|
|
It looks like Lock and Load may be what I’m looking for.
| ||||
|
feedback
|
|
I don't think there is an exact trigger for that, but perhaps there is a workaround. Assuming your user account is password protected, just use the trigger "On workstation unlock", so the command is run whenever the user logs back in from hibernate/sleep. Although, the down side is that if the user(s) regularly lock whenever they leave the PC on, it will also be run upon unlocking after that. | |||||||||||
feedback
|
|
Hibernate Trigger should do the trick. From their documentation:
| |||||||||
feedback
|

