PC Review


Reply
Thread Tools Rate Thread

Windows Task Scheduler looses account credentials data

 
 
Eugene Borisov
Guest
Posts: n/a
 
      3rd Dec 2008
Hello,

I have spent many hours trying to find the solution for this problem. I have
found several discussions on IT forums with very similar or exact same
problem. For instance:

http://www.realgeek.com/forums/task-...xp-420027.html

Here is my problem described by someone else:

I have encountered a problem with Windows Task Scheduler at many
client sites over the years, where tasks may run flawlessly for days
or weeks, then magically - they stop running (listing "Could Not
Start" for the task's status). To correct the problem, I simply have
to re-enter the task's password - the SAME password that has always
been there. The task will then run for several more days/weeks! This
has been a problem in Windows NT 4.0(sp6a) SERVERs AND XP Prof
workstations. And no surprise, since XP probably uses some of the
same underlying code as NT! I have talked with other consultants -
and we've all concluded that Microsoft's task scheduler is "unreliable
at best". I would love to find out the real cause of the problem and
solve this once and for all... More info: generally a single domain
exists, YES user account associated with task ALWAYS has/had a
password...

SchedLog.txt reports: The attempt to retrieve account information for
the specified task failed; therefore, the task did not run. Either an
error occurred, or no account information existed for the task. The
specific error is: 0x8004130f: No account information could be found
in the Task Scheduler security database for the task indicated.

How does Windows lose the "account information"? I can log in as the
same user assigned to the task - without a problem!

In my own case the Task Manager log says:

12/2/2008 1:25:17 PM ** ERROR **

The attempt to log on to the account associated with the task
failed, therefore, the task did not run. The specific error is:

0x80070569: Logon failure: the user has not been granted the
requested logon type at this computer. Verify that the task's
Run-as name and password are valid and try again.



There are several "solutions" on the forums like verifying group policy,
disabling 3rd party services, day light saving time changing effect and some
others. Neither works for my situation.

As I understand the problem has existed for years and generations of
Windows. I am curious if MS ever provided real solution for this. Once more:
the scheduled task on XP runs for weeks\months normally under the domain
admin account. The password is never changed on this account. Suddenly the
task stops running with description from above. I reapply the password and
it works again.

Thank you

Eugene








 
Reply With Quote
 
 
 
 
Kelly
Guest
Posts: n/a
 
      3rd Dec 2008
Hi,

Here are some suggestions:

Go to Start/Run/Msconfig. Click Selective Startup and uncheck Load System
Services, click ok. Reboot.

Upon reboot, click OK to the first Window that indicates that you have
selected "Selective Startup". When the System Configuration Utility
reappears, Check the Normal
Startup Box.

Then go to Start/Search and type in: schedlgu.txt. When it appears, right
click on the file and delete it. Reboot.

You will now have a new Task Scheduler Log File. It can be checked by going
to Start/Search and typing in: schedlgu.txt. Appearing will be your new Task
Scheduler Log.

Running Scheduled Tasks without a password:

For Pro: Start/Control Panel/Administrative Tools/Local Security
Policy/Local Policies/Security options. In the right hand pane (third down).

Accounts: Limit local account use of blank passwords to console logon only.
This is enabled by default, disable it.

For Home: Run Scheduled Task without a Password (Line 68)
http://www.kellys-korner-xp.com/xp_tweaks.htm

Troubleshooting the Task Scheduler
http://www.kellys-korner-xp.com/xp_t.htm#ts

Task Scheduler MS-KB Articles: http://tinyurl.com/3gnjc

How to Enable Automatic Logon in Windows
http://support.microsoft.com/default...b;en-us;315231

HOW TO: Schedule Tasks in Windows XP
http://support.microsoft.com/default...;en-us;Q308569

HOW TO: Modify Scheduled Tasks in Windows XP
http://support.microsoft.com/default...;en-us;Q308671

--

All the Best,
Kelly (MS-MVP/DTS&XP)

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm


"Eugene Borisov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> I have spent many hours trying to find the solution for this problem. I
> have found several discussions on IT forums with very similar or exact
> same problem. For instance:
>
> http://www.realgeek.com/forums/task-...xp-420027.html
>
> Here is my problem described by someone else:
>
> I have encountered a problem with Windows Task Scheduler at many
> client sites over the years, where tasks may run flawlessly for days
> or weeks, then magically - they stop running (listing "Could Not
> Start" for the task's status). To correct the problem, I simply have
> to re-enter the task's password - the SAME password that has always
> been there. The task will then run for several more days/weeks! This
> has been a problem in Windows NT 4.0(sp6a) SERVERs AND XP Prof
> workstations. And no surprise, since XP probably uses some of the
> same underlying code as NT! I have talked with other consultants -
> and we've all concluded that Microsoft's task scheduler is "unreliable
> at best". I would love to find out the real cause of the problem and
> solve this once and for all... More info: generally a single domain
> exists, YES user account associated with task ALWAYS has/had a
> password...
>
> SchedLog.txt reports: The attempt to retrieve account information for
> the specified task failed; therefore, the task did not run. Either an
> error occurred, or no account information existed for the task. The
> specific error is: 0x8004130f: No account information could be found
> in the Task Scheduler security database for the task indicated.
>
> How does Windows lose the "account information"? I can log in as the
> same user assigned to the task - without a problem!
>
> In my own case the Task Manager log says:
>
> 12/2/2008 1:25:17 PM ** ERROR **
>
> The attempt to log on to the account associated with the task
> failed, therefore, the task did not run. The specific error is:
>
> 0x80070569: Logon failure: the user has not been granted the
> requested logon type at this computer. Verify that the task's
> Run-as name and password are valid and try again.
>
>
>
> There are several "solutions" on the forums like verifying group policy,
> disabling 3rd party services, day light saving time changing effect and
> some others. Neither works for my situation.
>
> As I understand the problem has existed for years and generations of
> Windows. I am curious if MS ever provided real solution for this. Once
> more: the scheduled task on XP runs for weeks\months normally under the
> domain admin account. The password is never changed on this account.
> Suddenly the task stops running with description from above. I reapply the
> password and it works again.
>
> Thank you
>
> Eugene
>
>
>
>
>
>
>
>


 
Reply With Quote
 
 
 
 
Eugene Borisov
Guest
Posts: n/a
 
      3rd Dec 2008
Hello, Kelly



Thank you for prompt reply. I am not sure I understand how deleting the log
file might solve this problem, nevertheless I went ahead and followed your
instructions. The problem is certainly still here. Running the task without
the password is not an option - this task accesses network resources and
such requires domain account. Thank you for trying though.



Eugene

"Kelly" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Here are some suggestions:
>
> Go to Start/Run/Msconfig. Click Selective Startup and uncheck Load System
> Services, click ok. Reboot.
>
> Upon reboot, click OK to the first Window that indicates that you have
> selected "Selective Startup". When the System Configuration Utility
> reappears, Check the Normal
> Startup Box.
>
> Then go to Start/Search and type in: schedlgu.txt. When it appears, right
> click on the file and delete it. Reboot.
>
> You will now have a new Task Scheduler Log File. It can be checked by
> going to Start/Search and typing in: schedlgu.txt. Appearing will be your
> new Task Scheduler Log.
>
> Running Scheduled Tasks without a password:
>
> For Pro: Start/Control Panel/Administrative Tools/Local Security
> Policy/Local Policies/Security options. In the right hand pane (third
> down).
>
> Accounts: Limit local account use of blank passwords to console logon
> only. This is enabled by default, disable it.
>
> For Home: Run Scheduled Task without a Password (Line 68)
> http://www.kellys-korner-xp.com/xp_tweaks.htm
>
> Troubleshooting the Task Scheduler
> http://www.kellys-korner-xp.com/xp_t.htm#ts
>
> Task Scheduler MS-KB Articles: http://tinyurl.com/3gnjc
>
> How to Enable Automatic Logon in Windows
> http://support.microsoft.com/default...b;en-us;315231
>
> HOW TO: Schedule Tasks in Windows XP
> http://support.microsoft.com/default...;en-us;Q308569
>
> HOW TO: Modify Scheduled Tasks in Windows XP
> http://support.microsoft.com/default...;en-us;Q308671
>
> --
>
> All the Best,
> Kelly (MS-MVP/DTS&XP)
>
> Taskbar Repair Tool Plus!
> http://www.kellys-korner-xp.com/taskbarplus!.htm
>
>
> "Eugene Borisov" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hello,
>>
>> I have spent many hours trying to find the solution for this problem. I
>> have found several discussions on IT forums with very similar or exact
>> same problem. For instance:
>>
>> http://www.realgeek.com/forums/task-...xp-420027.html
>>
>> Here is my problem described by someone else:
>>
>> I have encountered a problem with Windows Task Scheduler at many
>> client sites over the years, where tasks may run flawlessly for days
>> or weeks, then magically - they stop running (listing "Could Not
>> Start" for the task's status). To correct the problem, I simply have
>> to re-enter the task's password - the SAME password that has always
>> been there. The task will then run for several more days/weeks! This
>> has been a problem in Windows NT 4.0(sp6a) SERVERs AND XP Prof
>> workstations. And no surprise, since XP probably uses some of the
>> same underlying code as NT! I have talked with other consultants -
>> and we've all concluded that Microsoft's task scheduler is "unreliable
>> at best". I would love to find out the real cause of the problem and
>> solve this once and for all... More info: generally a single domain
>> exists, YES user account associated with task ALWAYS has/had a
>> password...
>>
>> SchedLog.txt reports: The attempt to retrieve account information for
>> the specified task failed; therefore, the task did not run. Either an
>> error occurred, or no account information existed for the task. The
>> specific error is: 0x8004130f: No account information could be found
>> in the Task Scheduler security database for the task indicated.
>>
>> How does Windows lose the "account information"? I can log in as the
>> same user assigned to the task - without a problem!
>>
>> In my own case the Task Manager log says:
>>
>> 12/2/2008 1:25:17 PM ** ERROR **
>>
>> The attempt to log on to the account associated with the task
>> failed, therefore, the task did not run. The specific error is:
>>
>> 0x80070569: Logon failure: the user has not been granted the
>> requested logon type at this computer. Verify that the task's
>> Run-as name and password are valid and try again.
>>
>>
>>
>> There are several "solutions" on the forums like verifying group policy,
>> disabling 3rd party services, day light saving time changing effect and
>> some others. Neither works for my situation.
>>
>> As I understand the problem has existed for years and generations of
>> Windows. I am curious if MS ever provided real solution for this. Once
>> more: the scheduled task on XP runs for weeks\months normally under the
>> domain admin account. The password is never changed on this account.
>> Suddenly the task stops running with description from above. I reapply
>> the password and it works again.
>>
>> Thank you
>>
>> Eugene
>>
>>
>>
>>
>>
>>
>>
>>

>



 
Reply With Quote
 
Tim Quan [MSFT]
Guest
Posts: n/a
 
      4th Dec 2008
Hello Eugene,

Thank you for posting.

From your description, I understand that scheduled tasks forget passwords
and do not run properly. This issue occurs on both Windows NT 4.0 and
Windows XP Professional. If there is any misunderstanding, please let me
know.

This seems to be a known issue. I suggest installing Windows XP Service
Pack 3.

Windows XP Service Pack 3 can be downloaded from the following site:
http://www.microsoft.com/downloads/d...5a8-5e76-401f-
be08-1e1555d4f3d4&DisplayLang=en

For more information, please refer to the following article:

Task Scheduler jobs stop running in Windows XP
http://support.microsoft.com/default...b/812960/en-us

Task Scheduler Does Not Run Scheduled Tasks on Backup Domain Controller
(BDC)
http://support.microsoft.com/default...b/222628/en-us

Please understand that we mainly discuss Windows XP issues here. If the
issue persists on Windows NT 4.0, I suggest discussing it in our Windows NT
newsgroup.

http://www.microsoft.com/communities...aspx?dg=micros
oft.public.windowsnt.misc&cat=en_US_08ed5e1b-445d-4c44-8361-3c668729540b&lan
g=en&cr=US

Please take your time trying the above suggestions and let me know the
results at your earliest convenience.

Sincerely,
Tim Quan
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

With newsgroups, MSDN subscribers enjoy unlimited, free support as opposed
to the limited number of phone-based technical support incidents. Complex
issues or server-down situations are not recommended for the newsgroups.
Issues of this nature are best handled working with a Microsoft Support
Engineer using one of your phone-based incidents.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


 
Reply With Quote
 
Eugene Borisov
Guest
Posts: n/a
 
      4th Dec 2008
Hello, Tim

All our systems run Windows XP with SP3 installed, so the solutions hides
somewhere else.

Thank you for your reply
Eugene

""Tim Quan [MSFT]"" <v-(E-Mail Removed)> wrote in message
news:St%(E-Mail Removed)...
> Hello Eugene,
>
> Thank you for posting.
>
> From your description, I understand that scheduled tasks forget passwords
> and do not run properly. This issue occurs on both Windows NT 4.0 and
> Windows XP Professional. If there is any misunderstanding, please let me
> know.
>
> This seems to be a known issue. I suggest installing Windows XP Service
> Pack 3.
>
> Windows XP Service Pack 3 can be downloaded from the following site:
> http://www.microsoft.com/downloads/d...5a8-5e76-401f-
> be08-1e1555d4f3d4&DisplayLang=en
>
> For more information, please refer to the following article:
>
> Task Scheduler jobs stop running in Windows XP
> http://support.microsoft.com/default...b/812960/en-us
>
> Task Scheduler Does Not Run Scheduled Tasks on Backup Domain Controller
> (BDC)
> http://support.microsoft.com/default...b/222628/en-us
>
> Please understand that we mainly discuss Windows XP issues here. If the
> issue persists on Windows NT 4.0, I suggest discussing it in our Windows
> NT
> newsgroup.
>
> http://www.microsoft.com/communities...aspx?dg=micros
> oft.public.windowsnt.misc&cat=en_US_08ed5e1b-445d-4c44-8361-3c668729540b&lan
> g=en&cr=US
>
> Please take your time trying the above suggestions and let me know the
> results at your earliest convenience.
>
> Sincerely,
> Tim Quan
> Microsoft Online Community Support
>
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscripti...ult.aspx#notif
> ications.
>
> With newsgroups, MSDN subscribers enjoy unlimited, free support as opposed
> to the limited number of phone-based technical support incidents. Complex
> issues or server-down situations are not recommended for the newsgroups.
> Issues of this nature are best handled working with a Microsoft Support
> Engineer using one of your phone-based incidents.
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>



 
Reply With Quote
 
Colon Terminus
Guest
Posts: n/a
 
      4th Dec 2008
"Eugene Borisov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> I have spent many hours trying to find the solution for this problem. I
> have found several discussions on IT forums with very similar or exact
> same problem. For instance:
>
> http://www.realgeek.com/forums/task-...xp-420027.html
>
> Here is my problem described by someone else:
>
> I have encountered a problem with Windows Task Scheduler at many
> client sites over the years, where tasks may run flawlessly for days
> or weeks, then magically - they stop running (listing "Could Not
> Start" for the task's status). To correct the problem, I simply have
> to re-enter the task's password - the SAME password that has always
> been there. The task will then run for several more days/weeks! This
> has been a problem in Windows NT 4.0(sp6a) SERVERs AND XP Prof
> workstations. And no surprise, since XP probably uses some of the
> same underlying code as NT! I have talked with other consultants -
> and we've all concluded that Microsoft's task scheduler is "unreliable
> at best". I would love to find out the real cause of the problem and
> solve this once and for all... More info: generally a single domain
> exists, YES user account associated with task ALWAYS has/had a
> password...
>
> SchedLog.txt reports: The attempt to retrieve account information for
> the specified task failed; therefore, the task did not run. Either an
> error occurred, or no account information existed for the task. The
> specific error is: 0x8004130f: No account information could be found
> in the Task Scheduler security database for the task indicated.
>
> How does Windows lose the "account information"? I can log in as the
> same user assigned to the task - without a problem!
>
> In my own case the Task Manager log says:
>
> 12/2/2008 1:25:17 PM ** ERROR **
>
> The attempt to log on to the account associated with the task
> failed, therefore, the task did not run. The specific error is:
>
> 0x80070569: Logon failure: the user has not been granted the
> requested logon type at this computer. Verify that the task's
> Run-as name and password are valid and try again.
>
>
>
> There are several "solutions" on the forums like verifying group policy,
> disabling 3rd party services, day light saving time changing effect and
> some others. Neither works for my situation.
>
> As I understand the problem has existed for years and generations of
> Windows. I am curious if MS ever provided real solution for this. Once
> more: the scheduled task on XP runs for weeks\months normally under the
> domain admin account. The password is never changed on this account.
> Suddenly the task stops running with description from above. I reapply the
> password and it works again.
>
> Thank you
>
> Eugene
>





Probably no help in your situation but I have found that this situation
occurs when the Operating System is installed on a FAT32 partition. I've
solved this many times by simply converting the O/S partition from FAT32 to
NTFS; doing so simply made the problem go away.



--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      4th Dec 2008

"Colon Terminus" <(E-Mail Removed)> wrote in message
news:49381a20$0$25421$(E-Mail Removed)...
>
>
> Probably no help in your situation but I have found that this situation
> occurs when the Operating System is installed on a FAT32 partition. I've
> solved this many times by simply converting the O/S partition from FAT32
> to NTFS; doing so simply made the problem go away.
>


I agree but my recollection is that the FAT-issue only causes a problem
twice each year: Whenever the machine changes from Standard Time to Daylight
Saving Time and back again. Strange but true.


 
Reply With Quote
 
Eugene Borisov
Guest
Posts: n/a
 
      4th Dec 2008
Gentlemen,



You are both right - I saw this solution somewhere on the Internet.
Unfortunately this is not case here - all systems are NTFS. I start thinking
MS will take this mystery to the grave

Nevertheless, I really appreciate everyone trying to help.



Respectfully,

Banging head against wall

Eugene

"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Colon Terminus" <(E-Mail Removed)> wrote in message
> news:49381a20$0$25421$(E-Mail Removed)...
>>
>>
>> Probably no help in your situation but I have found that this situation
>> occurs when the Operating System is installed on a FAT32 partition. I've
>> solved this many times by simply converting the O/S partition from FAT32
>> to NTFS; doing so simply made the problem go away.
>>

>
> I agree but my recollection is that the FAT-issue only causes a problem
> twice each year: Whenever the machine changes from Standard Time to
> Daylight Saving Time and back again. Strange but true.
>



 
Reply With Quote
 
Tim Quan [MSFT]
Guest
Posts: n/a
 
      9th Dec 2008
Hello Eugene,

According to my research, this issue may be caused by group policies.

Is it convenient for you to setup a new computer without joining the domain
to test the result? Or you can move your computer into an OU and block the
domain policy inheritance.

In addition, I would like to know what task you would like to schedule.

Tim Quan - MSFT

 
Reply With Quote
 
Eugene Borisov
Guest
Posts: n/a
 
      10th Dec 2008
Hello, Tim

Yes, I can test it on such machine, no problem, will create new OU and block
policies. The result migh take A WHILE, though. I am scheduling simple
batch file sitting on network share, this is why I use domain account. This
is a simple defragmentation task- not more.

Thank you
Eugene

""Tim Quan [MSFT]"" <v-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello Eugene,
>
> According to my research, this issue may be caused by group policies.
>
> Is it convenient for you to setup a new computer without joining the
> domain
> to test the result? Or you can move your computer into an OU and block the
> domain policy inheritance.
>
> In addition, I would like to know what task you would like to schedule.
>
> Tim Quan - MSFT
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 losing saved credentials Quilnux Windows Vista Administration 11 5th May 2012 05:43 PM
Task Scheduler when idle looses user permissions JethroUK© Windows Vista General Discussion 0 25th Oct 2008 05:20 PM
Can a service account be embedded in Workbook so that by default the macros are run with service account credentials and not the user credentials??? Divya Sanam Microsoft Excel Misc 0 20th Jul 2006 05:15 PM
Task Scheduler credentials Ben Hinshaw Microsoft Windows 2000 1 10th Dec 2003 03:45 AM
Task scheduler credentials Ben Hinshaw Microsoft Windows 2000 2 9th Dec 2003 03:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:59 AM.