Yep, logoff is not a trigger for a scheduled task.
Some auto-starting thing could simply lie in wait until told to shut down by logoff and then do it's thing, but if it took too long doing that thing, then the system would put up warnings about a task not stopping etc. And I would bet that cscript or wscript probably just roll over and die instantly when told to stop by logoff. Carl From: James Rankin [mailto:[email protected]] Sent: Wednesday, May 11, 2011 10:51 AM To: NT System Admin Issues Subject: Re: Where are local group policy user logon/logoff scripts configured/stored? Couldn't you do some funkiness with a scheduled task? You can set logon scripts in the user properties, but logoff....I can't think of a way around that. Do you get startup and shutdown scripts on Home Premium (I know they aren't the same, but....) On 10 May 2011 02:46, Carl Houseman <[email protected]> wrote: Want to set a logoff script on 7-HomePremium. It's the ONLY feature I need from 7-Pro and not enough of a need to buy a 7-Pro upgrade. I know about \windows\system32\grouppolicy\User\Scripts\Logon. But just dropping a script file in that folder is not enough to make it execute. Thanks, Carl ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin -- "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question." IMPORTANT: The information in this email is CONFIDENTIAL. If its contents are disclosed in any way my lawyers will swoop down from black helicopters like Seal Team Six and drag you away with a black bag over your head. They will then take you to a secret prison and make you fight to the death with other people who dared to share this email. You will be given a large bowie knife and a supply of methamphetamines while I watch the said deathmatch and wager vast sums of money on who will be the winner. If the fight becomes boring or there is a stalemate, I will release rabid dogs and my two-stone cat into the arena to liven things up a bit. If these animals become in any way docile, I will squirt them with water pistols until they become a bit more temperamental. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
