Scheduled Task Credentials

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a few scheduled tasks on a machine that run as a local user. The
problem is that after these tasks are created, the hostname of the machine is
subject to change. I am installing these tasks using jt.exe which always
hard-codes the current computername into the credentials for the user. Once
the hostname changes, the tasks are still using the old hostname and are
therefore invalid.

Surely tasks can be configured to run as a local user regardless of the
current or future hostname of the machine. Is this not possible?

Thanks,
Will
 
Will Alexander said:
I have a few scheduled tasks on a machine that run as a local user. The
problem is that after these tasks are created, the hostname of the machine is
subject to change. I am installing these tasks using jt.exe which always
hard-codes the current computername into the credentials for the user. Once
the hostname changes, the tasks are still using the old hostname and are
therefore invalid.

Surely tasks can be configured to run as a local user regardless of the
current or future hostname of the machine. Is this not possible?

Thanks,
Will

You need to recreate the tasks on each machine. AFAIR, you can
specify the user & domain name with jt.exe.
 

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

Back
Top