SINEKT
Posts: 23 +0
Hello !
I work in IT and do pretty much everything, from maintenance to scripting... I am in desperate need of a way to make some Windows computers send emails when powered on or off. In Windows PRO versions there is no problem, as we have shutdown scripts. No problem for startup mail either, as we have the sweet startup folder.
But how do I send an email on shutdown, on a Windows XP Home edition ? I tried a lot of stuff to no avail. I searched for like over a week. Then I found a little registry mod that removes the standard shutdown button and replaces it with a dropdown menu, Vista&7 like. But this is a bit awkward, as we would like not to tamper with the original design of the start menu.
By now, I figured the only way to do this is to find the "something" in the OS that contains the 3 button shutdown pop-up menu (the one that appears in the middle and fades everything to grey) and edit it, adding the mailing command.
I already opened with resource hacker half of the system32 folder, then I just decided that opening every OS file to find the needle in the bitstack was a bit supid Do I have any chance of finding and editing the file/registry key or whatever it is that contains the action binded to the shutdown button ? Or by any other means / 3rd party software ? Or maybe there is some other way I could run a shutdown script on XP Home ? Cause this is what I ultimately need, to run a simple 1-line command at shutdown.
P.S.: I know I can do it by creating a .BAT with shutdown -s -t X plus my line and use that as a shutdown link, but the idea is to do it without users knowing it, so they HAVE to shutdown the computer the usual way, not through a BAT file.
I work in IT and do pretty much everything, from maintenance to scripting... I am in desperate need of a way to make some Windows computers send emails when powered on or off. In Windows PRO versions there is no problem, as we have shutdown scripts. No problem for startup mail either, as we have the sweet startup folder.
But how do I send an email on shutdown, on a Windows XP Home edition ? I tried a lot of stuff to no avail. I searched for like over a week. Then I found a little registry mod that removes the standard shutdown button and replaces it with a dropdown menu, Vista&7 like. But this is a bit awkward, as we would like not to tamper with the original design of the start menu.
By now, I figured the only way to do this is to find the "something" in the OS that contains the 3 button shutdown pop-up menu (the one that appears in the middle and fades everything to grey) and edit it, adding the mailing command.
I already opened with resource hacker half of the system32 folder, then I just decided that opening every OS file to find the needle in the bitstack was a bit supid Do I have any chance of finding and editing the file/registry key or whatever it is that contains the action binded to the shutdown button ? Or by any other means / 3rd party software ? Or maybe there is some other way I could run a shutdown script on XP Home ? Cause this is what I ultimately need, to run a simple 1-line command at shutdown.
P.S.: I know I can do it by creating a .BAT with shutdown -s -t X plus my line and use that as a shutdown link, but the idea is to do it without users knowing it, so they HAVE to shutdown the computer the usual way, not through a BAT file.