Can JT.exe be used to change existing .job props?

C

Chris Villanueva

In particular, I would like to make changes using the /SC switch.

Would truly appreciate a sample.

------------

Thank You,

Chris Villanueva
--
 
R

Ritchie

Chris Villanueva said:
In particular, I would like to make changes using the /SC switch.

This loads the scheduled job call cmd.job into JT's memory. Then changes
the username and password. The job is automatically saved when JT exits:-

jt /lj c:\winnt\tasks\cmd.job /sc domain\user pass
 
Joined
May 28, 2009
Messages
1
Reaction score
0
Hello,

When I try to perform this action:

jt.exe /lj "c:\winnt\tasks\FulltimeTask.job" /sc domain\login pass

I've got following error:
[TRACE] Loading Job c:\winnt\tasks\FulltimeTask.job
[PERF ] Load took 0 ms
[TRACE] Setting account information
[FAIL ] IPersistFile::Save hr=0x80070005

Tried both under user and admin account.
 

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