Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > Task Scheduler losing saved credentials

Reply
Thread Tools Display Modes

Task Scheduler losing saved credentials

 
 
Quilnux
Guest
Posts: n/a

 
      12-19-2007
Hello,

I have a task that runs an executable every 15 minutes. It is set to run
regardless of if i am logged in or not. It asks for credentials and seems to
be fine. I run the task to check it and it completes. Now the problem. It
will run ok for a few hours both when I am logged in and when I am not.
However, after a few hours (anywhere from 2-15 hours) it seems to begin
complaining about the username and password being invalid. After this I tried
starting the task manually without changing the credentials and I get the
same error. I then open the task properties and click ok immediately after.
Re-enter my credentials and test the task again. It succeeds. Again it will
run for a few hours then complain again about the username and password being
invalid. I have to run the same procedure to resave the credentials again.
What am I doing wrong? I should note that I am running Windows Vista Service
Pack 1 RC1 however, it does this without the SP1 RC1 installed (I have tried
uninstalling SP1 RC1 and resaving the credentials but the same issue
persists). I have since reinstalled SP1 RC1.
 
Reply With Quote
 
 
 
 
RonAuger
Guest
Posts: n/a

 
      12-21-2007

I have the exact same issue and haven't found a fix or admission of
guilt on MS's part. All I've found is mention of "Run with highest
privilege" which doesn't help.


--
RonAuger
 
Reply With Quote
 
Quilnux
Guest
Posts: n/a

 
      12-22-2007
It seems very flakey since I have 4 other tasks which do not do this at all.
At the moment it has been working for 3 days straight without a problem. I
didn't change anything just kept resetting the credentials. Not sure. It's
just a nusence. I prefer this over the XP task scheduler by far. Even with
this glitch the additions outweigh the glitch.

"RonAuger" wrote:

>
> I have the exact same issue and haven't found a fix or admission of
> guilt on MS's part. All I've found is mention of "Run with highest
> privilege" which doesn't help.
>
>
> --
> RonAuger
>

 
Reply With Quote
 
Quilnux
Guest
Posts: n/a

 
      12-22-2007
Just to give more feedback to some results. I have determined on my system
that it can remember the credentials up until I restart the system. Based on
the system Event Logs and the task logs the issue begins when the system
comes back up from a restart, either one I initiated or an automatic one from
an installation or Microsoft Update. It seems that it will not occur until
this restart happens. Not sure if that helps anyone at Microsoft or not but
there you go.

"Quilnux" wrote:

> It seems very flakey since I have 4 other tasks which do not do this at all.
> At the moment it has been working for 3 days straight without a problem. I
> didn't change anything just kept resetting the credentials. Not sure. It's
> just a nusence. I prefer this over the XP task scheduler by far. Even with
> this glitch the additions outweigh the glitch.
>
> "RonAuger" wrote:
>
> >
> > I have the exact same issue and haven't found a fix or admission of
> > guilt on MS's part. All I've found is mention of "Run with highest
> > privilege" which doesn't help.
> >
> >
> > --
> > RonAuger
> >

 
Reply With Quote
 
Ronnie Vernon MVP
Guest
Posts: n/a

 
      12-23-2007
Quilnux

You might want to inclde the Event errors and Task Logs that pertain to this
problem. This might give someone an indication about what is happening.

If the problem occurs after a restart, when does it start working again???

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"Quilnux" <> wrote in message
news:C5005B16-93DA-45B7-8E66-...
> Just to give more feedback to some results. I have determined on my system
> that it can remember the credentials up until I restart the system. Based
> on
> the system Event Logs and the task logs the issue begins when the system
> comes back up from a restart, either one I initiated or an automatic one
> from
> an installation or Microsoft Update. It seems that it will not occur until
> this restart happens. Not sure if that helps anyone at Microsoft or not
> but
> there you go.
>
> "Quilnux" wrote:
>
>> It seems very flakey since I have 4 other tasks which do not do this at
>> all.
>> At the moment it has been working for 3 days straight without a problem.
>> I
>> didn't change anything just kept resetting the credentials. Not sure.
>> It's
>> just a nusence. I prefer this over the XP task scheduler by far. Even
>> with
>> this glitch the additions outweigh the glitch.
>>
>> "RonAuger" wrote:
>>
>> >
>> > I have the exact same issue and haven't found a fix or admission of
>> > guilt on MS's part. All I've found is mention of "Run with highest
>> > privilege" which doesn't help.
>> >
>> >
>> > --
>> > RonAuger
>> >


 
Reply With Quote
 
Quilnux
Guest
Posts: n/a

 
      12-24-2007
No problem. I have two logs to provide. The first is the log from the Task
itself.

Error 12/22/2007 03:00:00 101 Task Start Failed Launch
Failure 00000000-0000-0000-0000-000000000000 "Task Scheduler failed to start
""\Quilnet Solutions Schedules\SQL Server Express Replication (PULL)"" task
for user ""philsdesktop\Phillip"". Additional Data: Error Value: 2147943726."


Information 12/22/2007 02:59:59 107 Task triggered on
scheduler Info 36f04699-ddc2-4aaf-a2ab-e2e269977794 "Task Scheduler launched
""{36F04699-DDC2-4AAF-A2AB-E2E269977794}"" instance of task ""\Quilnet
Solutions Schedules\SQL Server Express Replication (PULL)"" due to a time
trigger condition."


-------

The second log is from the TaskScheduler Operational Log from the Event
Viewer.

Error 12/22/2007 03:00:00 Microsoft-Windows-TaskScheduler 101 Task Start
Failed "Task Scheduler failed to start ""\Quilnet Solutions Schedules\SQL
Server Express Replication (PULL)"" task for user ""philsdesktop\Phillip"".
Additional Data: Error Value: 2147943726."

Error 12/22/2007 03:00:00 Microsoft-Windows-TaskScheduler 311 Task Engine
failed to start "Task Scheduler failed to start Task Engine """" process due
to an error occurring in ""LUAIsElevatedToken"" . Command=""taskeng.exe"" .
Additional Data: Error Value: 2147943726."

Error 12/22/2007 03:00:00 Microsoft-Windows-TaskScheduler 104 Logon
failure "Task Scheduler failed to log on
""TaskScheduler:Task:{A0BF04B9-0C48-4FC6-B764-80F8A3D7DE8B}"" . Failure
occurred in ""LogonUser"" . User Action: Ensure the credentials for the task
are correctly specified. Additional Data: Error Value: 1326."

Information 12/22/2007 02:59:59 Microsoft-Windows-TaskScheduler 107 Task
triggered on scheduler "Task Scheduler launched
""{36F04699-DDC2-4AAF-A2AB-E2E269977794}"" instance of task ""\Quilnet
Solutions Schedules\SQL Server Express Replication (PULL)"" due to a time
trigger condition."


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

There were no relavant log entries for the Application, System, or security
logs for this failure. The only way I have found to get the task working
again is to re-enter the credentials for the task. Once I do that it seems to
be just fine until the system gets a restart. after the restart it fails
again until credentials are re-entered. If you need anything else just let me
know. I hope this helps.

(EDIT: Just so there is clarity when you are reading the logs above, this
system runs as a workgroup not in a business domain).


"Ronnie Vernon MVP" wrote:

> Quilnux
>
> You might want to inclde the Event errors and Task Logs that pertain to this
> problem. This might give someone an indication about what is happening.
>
> If the problem occurs after a restart, when does it start working again???
>
> --
>
> Ronnie Vernon
> Microsoft MVP
> Windows Shell/User
>
>
> "Quilnux" <> wrote in message
> news:C5005B16-93DA-45B7-8E66-...
> > Just to give more feedback to some results. I have determined on my system
> > that it can remember the credentials up until I restart the system. Based
> > on
> > the system Event Logs and the task logs the issue begins when the system
> > comes back up from a restart, either one I initiated or an automatic one
> > from
> > an installation or Microsoft Update. It seems that it will not occur until
> > this restart happens. Not sure if that helps anyone at Microsoft or not
> > but
> > there you go.
> >
> > "Quilnux" wrote:
> >
> >> It seems very flakey since I have 4 other tasks which do not do this at
> >> all.
> >> At the moment it has been working for 3 days straight without a problem.
> >> I
> >> didn't change anything just kept resetting the credentials. Not sure.
> >> It's
> >> just a nusence. I prefer this over the XP task scheduler by far. Even
> >> with
> >> this glitch the additions outweigh the glitch.
> >>
> >> "RonAuger" wrote:
> >>
> >> >
> >> > I have the exact same issue and haven't found a fix or admission of
> >> > guilt on MS's part. All I've found is mention of "Run with highest
> >> > privilege" which doesn't help.
> >> >
> >> >
> >> > --
> >> > RonAuger
> >> >

>

 
Reply With Quote
 
jgrenz
Guest
Posts: n/a

 
      01-04-2008
If it helps, I am having the exact same problem (hence it can be reproduced
on a different system). I too am running Vista (Home Premium).

Sounds like a bug...
 
Reply With Quote
 
Faisal
Guest
Posts: n/a

 
      01-07-2008

Would the nature of your task permit you to select the option "Run only when
user is logged on"? If yes, that might provide a workaround...

rgds
Faisal

"jgrenz" wrote:

> If it helps, I am having the exact same problem (hence it can be reproduced
> on a different system). I too am running Vista (Home Premium).
>
> Sounds like a bug...

 
Reply With Quote
 
jgrenz
Guest
Posts: n/a

 
      01-07-2008
The task is for an automated download of TV show information overnight (xmltv).

Given that MS hasn't fixed this bug, I will try it your way. Really
annoying to have to change how I run things because the OS doesn't work the
way that it is supposed to.

Thanks for the idea.

Josh

"Faisal" wrote:

>
> Would the nature of your task permit you to select the option "Run only when
> user is logged on"? If yes, that might provide a workaround...
>
> rgds
> Faisal
>
> "jgrenz" wrote:
>
> > If it helps, I am having the exact same problem (hence it can be reproduced
> > on a different system). I too am running Vista (Home Premium).
> >
> > Sounds like a bug...

 
Reply With Quote
 
mattie
Guest
Posts: n/a

 
      01-10-2008
Same issue happening on our Windows 2003 R2 Servers... Just one thought, the
password I am using is 15 characters long... Do you think it could cut out
characters that are like over 14 long?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Task Scheduler repeat task duration bug? sm02463 Windows Vista General Discussion 4 12-06-2008 07:40 PM
Task scheduler returns an error : the task image is corrupt ortamp Jean-David Windows Vista Performance 2 05-03-2008 03:02 PM
Remote Desktop saved credentials Vista Business Skykr Windows Vista Networking 1 10-10-2007 11:16 AM
task scheduler doesn't start delayed task wuschba Windows Vista General Discussion 6 07-26-2007 09:06 AM
Task scheduler problem : task do not close Junkyard Engineer Windows Vista General Discussion 0 06-07-2007 02:51 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59