Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Task scheduler batch file

Status
Not open for further replies.

maheshkava

Programmer
Sep 24, 2002
7
US
all,
I have to create a batch file to be distributed to our end user,on the execution of which a task schedule would be created on the user machine which would run a batch file.we cannot ask the end user to manually create a task schedule themself.
I tried using the 'AT' command from the command prompt:
AT 11:20 c:\downloaddata.bat
which create a schedule task but i get the foll error when the task runs:
The attempt to log on to the AT security account failed; therefore, the AT job did not run.
The specific error is:
0x8007052e: Logon failure: unknown user name or bad password.
FYI-The username with which i have logged in is a member of the local administrative group
any help will be appreciated
Thankx
mahesh
 
I'm not 100% sure, but since a Scheduled Task does generally require some method of authentication in W2K, you might want to try the /interactive switch, that way the task will run using the credentials of the person currently trying to run it.

I hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top