schedule jobs under different user in XP



We have an XP PC.



User who logs in is JSMITH. User has three scheduled jobs set up on the PC.
(The jobs must run from a PC. Application software limitation.)



When JSMITH password expires, jobs fail. User has to always remember to
reset all scheduled jobs every time they reset their password.



So we created a new profile called SCHEDJOB whose password never expires and
has restricted access so it can only be used for scheduled jobs.



We log onto JSMITH"s PC as SCHEDJOB and update the scheduled jobs to the
SCHEDJOB user profile. We also learned that we need to add all drive mapping
under SCHEDJOB as exists under JSMITH. We then run each of the scheduled
jobs while logged on as SCHEDJOB. They all work fine.



We then log off and back on to the PC as JSMITH. We try to run any of the
jobs and get an error



'Can't find working directory'.



The command line in the scheduled job is



R:\rrww.exe.......



The R: drive is mapped under both the JSMITH and SCHEDJOB users. (We know
it is because the jobs run successfully under the SCHEDJOB user profile.)

We also tried changing the format of

R:

to be

\\<servername>\directory\.....

The job still runs under SCHEDJOB user profile. But now it runs in 1 second
under JSMITH (usually takes approx. 20 seconds) and the scheduled jobs log
doesn't give any details as to why it is not operating properly.



Can anyone assist with why the jobs won't run under the JSMITH user profile ?




--------------------------------------------------------------------------------
KenC


.



Relevant Pages

  • Re: scheduled jobs under a different user profile
    ... User has three scheduled jobs set up ... When JSMITH password expires, jobs fail. ... remember to reset all scheduled jobs every time they reset their ... We log onto JSMITH"s PC as SCHEDJOB and update the scheduled jobs ...
    (microsoft.public.windowsxp.newusers)
  • Re: schedule jobs under different user in XP
    ... User has three scheduled jobs set up on the PC. ... When JSMITH password expires, jobs fail. ... it is because the jobs run successfully under the SCHEDJOB user profile.) ...
    (microsoft.public.windows.mediacenter)
  • Re: DB Maintenance Plan seems corrupted
    ... parsing the strings in the scheduled jobs to determine how to display the ... reasons why I recommend creating your own jobs and dumping the wizard. ... > The maintenance plan looks corrupted although the ...
    (microsoft.public.sqlserver.server)
  • NTI Backup jobs work when created locally, not through RDP
    ... scheduled jobs run as scheduled. ... jobs remotely then logging out of the ... When you stay logged into the session ...
    (microsoft.public.windows.server.general)