Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Windows 7: How to automatically trigger the execution of a script on logout

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 26-12-2010
Member
 
Join Date: Dec 2010
Posts: 102
Windows 7: How to automatically trigger the execution of a script on logout
  

I wish I could start running a little script that writes the date and time a file on each machine at off time, but at every logout a user of machine (home premium in Windows 7). How can I do this? And ya in this for the performance at each connection, I understood it enough to put the script in the Startup folder, but there is no record of extinction or something like that?

Reply With Quote
  #2  
Old 26-12-2010
Member
 
Join Date: Jun 2009
Posts: 300
Re: Windows 7: How to automatically trigger the execution of a script on logout

I think this question is about the script, not the script itself having no home, can you check if you have a task scheduler available
- Start Menu-> Accessories-> System Tools-> Task Scheduler
- Click on "Library of planning sequence"
- In the middle window, do it right then -> Create New Task
- Trigger tab -> click New
- In the "Start Task" -> you select "When disconnecting a user session"
- Remember to check that box "Enabled" is acitve
- Back in the interface, think of a name to save your work in "General"
- And the order of your script must be entered in the "Actions"
Reply With Quote
  #3  
Old 26-12-2010
Member
 
Join Date: Dec 2010
Posts: 102
Re: Windows 7: How to automatically trigger the execution of a script on logout

Thank you for the reply, but
  1. My question is on logoff (for logon, is it not easier to put the script in the start folder for each user? In the DC area where it must save the script in the article that you point does not exist!)
  2. I stress that my request is for a home premium version is no possible way gpedit.msc as I do not have any other option. My question still remains unresolved!
Reply With Quote
  #4  
Old 26-12-2010
Member
 
Join Date: Aug 2010
Posts: 48
Re: Windows 7: How to automatically trigger the execution of a script on logout

I am also a facing the same issue which is of "trigger end of the session," because I have to test it, it actually works when I switch users but not at shutdown or just find session.
So the problem remains.
Where it works:
- Switch User
If it does not work
- Closing Session
- Stop / Restart the computer
Should I assume that the actual closing of the session is the problem? Thank you in advance
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Windows 7: How to automatically trigger the execution of a script on logout"
Thread Thread Starter Forum Replies Last Post
Script execution machine available by mail HardWeaR Software Development 3 11-12-2009 01:01 PM
Iphone Error "Main Script Execution Failed" kamina23 Portable Devices 2 26-08-2009 11:44 PM
Hide the terminal during execution of shell script !const Software Development 3 25-04-2009 06:58 PM
How to automatically trigger a sound GILBERT Operating Systems 3 02-02-2009 10:13 AM
Stop the execution of a script leon m Technology & Internet 3 26-01-2009 05:53 PM


All times are GMT +5.5. The time now is 11:03 AM.