Computing.Net > Forums > Windows Server 2003 > create scheduled task remote server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

create scheduled task remote server

Reply to Message Icon

Name: ersiko
Date: November 27, 2006 at 08:04:49 Pacific
OS: Win 2003
CPU/Ram: Xeon/2GB
Product: IBM
Comment:

I'm trying to create a scheduled task on a remote server. I'm using schtasks.exe.

The remote server has no domain.

I type the line:
c:\> schtasks /create /s server /tn taskname /sc minute /tr taskbat /u user

I am asked for the password, and then I get the following:

WARNING: The Scheduled task "taskname" has been created, but may not run because
the account information could not be set.

I'm sure the user and password are correct.

I've found some info on microsoft's website:
http://technet2.microsoft.com/Windo...

They say:
This warning indicates that the remote domain could not authenticate the account specified by the /u parameter. In this case, the remote domain could not authenticate the user account because the local computer is not a member of a domain that the remote computer domain trusts. When this occurs, the task job appears in the list of scheduled tasks, but the task is actually empty and it will not run.

My task doesn't run, but I can't understand why, as user and pass are correct (I use them to log in...).

Can you give me any hint? Somewhere to look at?

Thanks in advance



Sponsored Link
Ads by Google

Response Number 1
Name: Curt R
Date: November 27, 2006 at 10:02:21 Pacific
Reply:

The remote server has no domain.

This could be a big issue. Are you trying to create a task on a standalone server that is within a domain, but not a member of the domain? Or is this a standalone server that is in no way connected to a domain? I'm sorry but your post is a little confusing and I'm afraid I don't understand.

The account/password you're using is the Administrator account on the local system....correct?


0

Response Number 2
Name: ersiko
Date: November 28, 2006 at 03:11:26 Pacific
Reply:

I have the same problem on different scenarios:

When trying to create a scheduled task on a server with his own domain (not my PDC). I use an account with admin privs on this server.

When trying to create a scheduled task on a server within a domain (not PDC, only member). I use an account with adminprivs on the domain (it's not my domain).

Hope this clarifies...


0

Response Number 3
Name: Curt R
Date: November 28, 2006 at 06:07:27 Pacific
Reply:

How are you connecting to the servers in question? You should be able to connect with RDP and create the tasks without any trouble.


0

Response Number 4
Name: ersiko
Date: November 28, 2006 at 06:52:38 Pacific
Reply:

Yes, I can, but that's not the point. I need to create 50 scheduled tasks on 50 different servers. And maybe I need to change them next week. I don't want to connect with RDP, I just want to create tasks remotely, from a script. And it seems schtasks is the tool.

Thanks anyway


0

Response Number 5
Name: bilbus
Date: November 28, 2006 at 18:24:28 Pacific
Reply:

run psexec.exe then add the task.

from system internals


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Problems to join 2003 dom... RIS question



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: create scheduled task remote server

Remote User to Schedule task on ser www.computing.net/answers/windows-2003/remote-user-to-schedule-task-on-ser/6775.html

scheduled task not running www.computing.net/answers/windows-2003/scheduled-task-not-running-/8965.html

Schedule shutdown the server www.computing.net/answers/windows-2003/schedule-shutdown-the-server/5216.html