Schtasks - could not start

Y

yeleek

Hi,

Got a number of schtasks running to create logman counters, start,
stop etc all working fine.

This one however fails and i'm not sure why

C:\>schtasks /create /ru system /sc Daily /st 10:18:00 /tn copylogman /
tr "copy
c:\logs\%computername%* c:\"

All it says is could not start when doing a schtasks /query.

System has access to c:\logs and the files. Tried running it as my
domain creds too and that fails.

Any ideas?

Thanks
 
P

Pegasus \(MVP\)

Hi,

Got a number of schtasks running to create logman counters, start,
stop etc all working fine.

This one however fails and i'm not sure why

C:\>schtasks /create /ru system /sc Daily /st 10:18:00 /tn copylogman /
tr "copy
c:\logs\%computername%* c:\"

All it says is could not start when doing a schtasks /query.

System has access to c:\logs and the files. Tried running it as my
domain creds too and that fails.

Any ideas?

Thanks

I would check if the Task Scheduler service is running. I would
also try to schedule a task via the Task Scheduler GUI.
 
C

CreateWindow

Hi,

You need credentials that will allow you copy over the network.
Administrator is good. If you are in a closed secure network. SYSTEM does
not have network rights.

Just a thought..

Good luck,
CreateWindow
http://mymessagetaker.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top