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

Sponsored Links



task scheduler in Vista: run script at startup on any computer and any user in network

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 21-05-2008
Member
 
Join Date: May 2008
Posts: 1
task scheduler in Vista: run script at startup on any computer and any user in network
  

Hi everybody!
I have a problem, which demands some creatvity, I think:
I have a big computing task, that a single computer needs about 5 weeks to perform. As this computing task needs to be repeated several times a year, I wrote a script in vbs, which enables splitting up the task for all computers in the network. This should cut down the computing time to 2 days or so.
By running the script "start.vbs", a computer joins the calculation, running "stop.vbs", it stops. Idle computers shall join the task automatically. "Idle" means in this context: computer is up and running, but nobody is logged on.
That's why I want the following events:

1) at computer start up: run "start.vbs"
2) at user login: run "stop.vbs"
3) at user logout: run "start.vbs"
4) at computer shut down: run "stop.vbs"

More details and some background information:
Most PC's in the professional administrated network run Windows Vista, some run XP. The scripts work on both. It's no problem to start the scripts manually (by double-click), while being logged in. Goal is to automize the participation of the computers.

It is absolutely necessary that a connection to the common network-drive is established (requiered for the common computing of the task). Also "start.vbs" and "stop.vbs" need to be accessable on every computer.

Solution: (?)
I gave the Windows task scheduler a try - not sucessfull of course ;-)

Problems / Errors:

a) Works only if the *.vbs - files are on the local C-drive. (I tried UNC-paths, but didn't work).

b) Troubles with the usergroups and computers: Any user can choose any computer in the office. The task-scheduler doesn't allow me to make accordng settings: It works only if the task is related to my own account.

c) I find the events "startup", "login" and "logout", but I can't find a "shutdown" - event.

Do you have any ideas on how to solve these problems, or can you think of an other way on how to run the two scripts network based on the various events?

Please ask if you need more infos!!!
Thank you very much in advance!
Broesel

Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "task scheduler in Vista: run script at startup on any computer and any user in network"
Thread Thread Starter Forum Replies Last Post
’Task Scheduler service has encountered RPC initialization error’ on Windows Vista Chellappan Vista Help 3 03-01-2014 09:21 AM
Task Scheduler - task creation error on Windows 2008 Server x64 $Bradan$ Operating Systems 5 29-09-2011 01:03 PM
Windows Vista Task Scheduler for file monitor Kamran Windows Software 3 03-06-2009 07:08 PM
Solution to Vista Task Scheduler Mecurtis Tips & Tweaks 1 24-04-2008 06:12 PM
Startup Script restart computer wwwguy1 Windows Server Help 1 09-03-2007 08:11 AM


All times are GMT +5.5. The time now is 09:57 AM.