• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

Adding scheduled tasks to PC's over network

I am sure this is a pretty simple soulution however I don't have the time to dig it out. I am looking at running scheduled tasks on a few laptops on my domain. I have a PPS that needs to be splashed across the screens moments before my clients leave for dinner. I have it working on my PC with no problems but  would like to take the easy route and assign this task to run on each PC without leaving my office in order to setup.
My domain is Windows 2003 and the client PC's are mostly Win2k sp4 and a few XP.

Your help is appreciated!

G
0
Fraser_Admin
Asked:
Fraser_Admin
  • 2
  • 2
  • 2
  • +4
1 Solution
 
Big5250Commented:
You could copy down the script that you are using to kick off the PPS with and then throw a scheduled event into the login script.  You could build some intelligence into the script so that it would know whether the file had been copied and that the schedule had been created.

hth
0
 
bwalker1Commented:
You could just access the sceduled tasks on the remote computer through the hidden C$ share like this:

\\computername\c$\Documents and Settings\All Users\Start Menu\Programs\Accessories\System Tools

If you needed to you could write a script to do the exact same thing.

0
 
LongbowCommented:
You can use the Soon or At commands from Windows.
Maybe you need the resource kit if these commands are not found.
Type AT /? in a dos box.
These are just a few options.

http://www.robvanderwoude.com/ntat.html
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Fraser_AdminAuthor Commented:
Big5250 - the script I am using is "call" in an autoexec.bat file. SO I am calling the file.pps to run as for the login script... could you be more specific?

bwalker1  -This is pretty good but doesn't really help me completely. I cannot see the scheduler by viewing the entire path  on all clients only some. Also once i try to set the schedule it runs on my pc not theirs.

any more tips?
G
0
 
Big5250Commented:
Put the batch file for PPS in your netlogon share or in your AD scripts policy.  Then create an "at" job that is run from the login script, before you make the at job. create something like this in the login script

if exist %systemroot%\pps.txt goto next
at "issue your commands here"
echo >%systemroot%\pps.txt

:next

That way it won't try to recreate the job every time the script is run.

hth
0
 
sweatbeastCommented:
at \\remotepcname 10:00 (command) should work if you want to do this from your machine
0
 
NRCodyCommented:
If you are a domain admin you can just access \\machine\scheduled tasks
Create the task on one machine then you can just copy the task file around to other machines.
0
 
NRCodyCommented:
You can also script this with the schtask command.  From the command prompt schtask /create /? will list all the switches.
0
 
bwalker1Commented:
Note that you have to be in the %systemroot% directory to use the schtasks command.
0
 
Fraser_AdminAuthor Commented:
NRCody - Your first comment is what I tried first. But it didn't seem to work. Shouldn't the task begin using the  domain administrator account ? I tried and with no such luck. It appears the only way I can get the task to run is by using the clients domain username and password. But by doing that I may as well visit each PC. It's weird.

G
0
 
JimsZCommented:
Another way to try is to set it up as a group policy object for each to run a script. That way you could have only users you wanted to run the script.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
  • 2
  • 2
  • +4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now