Task Scheduler - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
Thread Tools Display Modes
Old 11-29-2005, 08:30 AM   #1 (permalink)
Junior Techie
Join Date: Dec 2004
Posts: 77
Default Task Scheduler

Is it possible to run the Task Scheduler as a non-admin? I have been tasked to prepare a machine to automatically run a "collect and send" from within the Xata program installed on that machine. What is Xata you ask? Xata collects all kinds of information from our drivers on the road, pickup times, drop-off times, what trips the driver will be making for the day, how fast he is going, how hard he brakes, when he ****s........I think you get the picture, you can find more info at www.xata.com if you so please. Anyway back to the issue at hand, this is a rather simple command and it pulls the data from a "data station" that gets it's info from the drivers through a key system.

Like I said before, any user can sign on to this machine and run the "collect and send" the issue starts when I try to setup the task scheduler to run the program. The only time I can get this to work is if I sign on as an admim, create the task as an admin and run the task as an admin. What I do not understand is that inside the Task Scheduler it will ask you for a username and password of a user that you want the program to run under, yet if I logoff and log on as a non-admin and try to run the job under the Task Scheduler, it will say it is running but I know from the lack of data it has not.

The machine in question is loaded with XP Pro SP2. I hope this all makes sense to you, in a nutshell I just want to run the Task Scheduler as a non admin.

scj6771 is offline  
Old 11-29-2005, 11:19 AM   #2 (permalink)
It's all just 1s and 0s
office politics's Avatar
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics

if you create the task from the command line with the at command, the task will run under the machines SYSTEM Account which should give you the access you need.

C:\Documents and Settings\hp>at /?
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername Specifies a remote computer. Commands are scheduled on the
local computer if this parameter is omitted.

id Is an identification number assigned to a scheduled

/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.

/yes Used with cancel all jobs command when no further
confirmation is desired.

time Specifies the time when command is to run.

/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.

/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.

/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted, the
current day of the month is assumed.

"command" Is the Windows NT command, or batch program to be run.
office politics is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 11:32 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.