Task Scheduler Inoperative

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

Guest

I'm running WinXP (SP2) on a stand-alone Desktop, upgraded to IE7.
Without any apparent action on my part scheduled tasks no longer run
automatically, nor can I run any of them run manually from within the
Scheduled Tasks folder. If I try to run them either by right-clicking or from
the File menu nothing happens.
Whilst I can add a new task from the File menu I cannot do so by using the
Add New Task icon inside the folder... if I try to do so the Wizard window
opens and then just hangs when I press Next.
Does anyone have any thoughts or a solution to this problem please?
 
IanRobbo said:
I'm running WinXP (SP2) on a stand-alone Desktop, upgraded to IE7.
Without any apparent action on my part scheduled tasks no longer run
automatically, nor can I run any of them run manually from within
the Scheduled Tasks folder. If I try to run them either by
right-clicking or from the File menu nothing happens.
Whilst I can add a new task from the File menu I cannot do so by
using the Add New Task icon inside the folder... if I try to do so
the Wizard window opens and then just hangs when I press Next.
Does anyone have any thoughts or a solution to this problem please?

I am not going to say with any CERTAINTY that this will fix your problem -
but it is worth a shot...

- Ensure 'Show hidden files and folders' is on.
- Go to C:\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA\S-1-5-18 and delete the files in there.
- Reboot for good measure.
 
Thanks for your quick response SS. Although I found - and deleted - a weird
looking file in that folder it unfortunately made no difference to my
problem. Everything behaved just as badly as before. Do you have any other
suggestions?
(BTW - I should mention that I have tried Restarting the Task Scheduler
Service from Admin Tools>Services - but again without any effect.)
 
IanRobbo said:
I'm running WinXP (SP2) on a stand-alone Desktop, upgraded to IE7.
Without any apparent action on my part scheduled tasks no longer run
automatically, nor can I run any of them run manually from within
the Scheduled Tasks folder. If I try to run them either by
right-clicking or from the File menu nothing happens.
Whilst I can add a new task from the File menu I cannot do so by
using the Add New Task icon inside the folder... if I try to do so
the Wizard window opens and then just hangs when I press Next.
Does anyone have any thoughts or a solution to this problem please?

Shenan said:
I am not going to say with any CERTAINTY that this will fix your
problem - but it is worth a shot...

- Ensure 'Show hidden files and folders' is on.
- Go to C:\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA\S-1-5-18 and delete the files in there.
- Reboot for good measure.
Thanks for your quick response SS. Although I found - and deleted
- a weird looking file in that folder it unfortunately made no
difference to my problem. Everything behaved just as badly as
before. Do you have any other suggestions?
(BTW - I should mention that I have tried Restarting the Task
Scheduler Service from Admin Tools>Services - but again without any
effect.)

Make sure none of these things in this KB Article are set on your system:
http://support.microsoft.com/kb/305612/

After that - I am pretty much dry on ideas. :-(
 
Hi,

Check the Task Scheduler log file. It may provide important clues. Open Task Scheduler, and click "Advanced" menu, and select "View Log".

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Thanks for your quick response SS. Although I found - and deleted - a weird
looking file in that folder it unfortunately made no difference to my
problem. Everything behaved just as badly as before. Do you have any other
suggestions?
(BTW - I should mention that I have tried Restarting the Task Scheduler
Service from Admin Tools>Services - but again without any effect.)
 
Ian,

Is the log path set correctly in the registry? Click Start, Run and type Regedit.exe
Navigate to the following branch:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent

Double-click "LogPath" value and set its data to:

%SystemRoot%\SchedLgU.Txt

Note that the "LogPath" value must be of type REG_EXPAND_SZ.

Close Regedit.exe

Restart Windows.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


I'm very grateful for all the interest in my problem. Thanks for your
suggestion Ramesh.
Strange thing though... although every other option under the Advanced menu
item worked, when I clicked on View Log nothing happened. Nothing at all!
Do you have any idea why this might be?
 
Thanks Ramesh... yes, both registry entries were correct. No change needed.

But during the regedit process I noticed something that escaped me
yesterday. The registry entry for Task Scheduler5.0 appears under HKEY_USERS
- not HKEY_LOCAL_MACHINE as suggested in the Microsoft KB article (305612)
that Shenan Stanley asked me to review. Is this significant? And if so what
do you think I should do to correct the error?

--
Ian A Robinson


Ramesh said:
Ian,

Is the log path set correctly in the registry? Click Start, Run and type Regedit.exe
Navigate to the following branch:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent

Double-click "LogPath" value and set its data to:

%SystemRoot%\SchedLgU.Txt

Note that the "LogPath" value must be of type REG_EXPAND_SZ.

Close Regedit.exe

Restart Windows.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


I'm very grateful for all the interest in my problem. Thanks for your
suggestion Ramesh.
Strange thing though... although every other option under the Advanced menu
item worked, when I clicked on View Log nothing happened. Nothing at all!
Do you have any idea why this might be?
--
Ian A Robinson


Ramesh said:
Hi,

Check the Task Scheduler log file. It may provide important clues. Open Task Scheduler, and click "Advanced" menu, and select "View Log".

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com
 
You can launch the Task Scheduler log file by typing this in Start, Run:

%SystemRoot%\SchedLgU.Txt

I'd try fixing the .txt file association.
http://www.dougknox.com/xp/file_assoc.htm


Exactly under which branch / SID, Ian?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Thanks Ramesh... yes, both registry entries were correct. No change needed.

But during the regedit process I noticed something that escaped me
yesterday. The registry entry for Task Scheduler5.0 appears under HKEY_USERS
- not HKEY_LOCAL_MACHINE as suggested in the Microsoft KB article (305612)
that Shenan Stanley asked me to review. Is this significant? And if so what
do you think I should do to correct the error?
 
OK Ramesh... two things to report:

1st - when I tried to run %SystemRoot%\SchedLgU.Txt from the Run window I
received an Access Denied error message! However, by using an external text
editor I was able to open the file and make a copy. There's a lot of stuff
in it (most of which doesn't make a lot of sense to me I'm afraid) but I
could email it to you if you would like to see it. Otherwise maybe you could
suggest what I should be looking for?

2nd - the exact and complete path to Task Scheduler5.0 in my registry is:
HKEY_USERS\S-1-5-21-1060284298-725345543-1003\Software\Policies\Microsoft\Windows\System

I hope this all helps. As I've already said Ramesh, I really do appreciate
all the time you're devoting to my problem. Thanks a million.

--
Ian A Robinson


Ramesh said:
You can launch the Task Scheduler log file by typing this in Start, Run:

%SystemRoot%\SchedLgU.Txt

I'd try fixing the .txt file association.
http://www.dougknox.com/xp/file_assoc.htm


Exactly under which branch / SID, Ian?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Thanks Ramesh... yes, both registry entries were correct. No change needed.

But during the regedit process I noticed something that escaped me
yesterday. The registry entry for Task Scheduler5.0 appears under HKEY_USERS
- not HKEY_LOCAL_MACHINE as suggested in the Microsoft KB article (305612)
that Shenan Stanley asked me to review. Is this significant? And if so what
do you think I should do to correct the error?

--
Ian A Robinson


Ramesh said:
Ian,

Is the log path set correctly in the registry? Click Start, Run and type Regedit.exe
Navigate to the following branch:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent

Double-click "LogPath" value and set its data to:

%SystemRoot%\SchedLgU.Txt
 
Ian,

It looks as if the %systemroot% variable does not resolve properly. What happens when you type "%systemroot%" (without quotes) in Start, Run?

Look for the error code and also the return codes for the task executed during the current day.


Example:
- - - - - -
"User_Feed_Synchronization-{67CA7D49-937F-48DA-A992-B2515466FCE8}.job" (msfeedssync.exe)
Finished 12/27/2006 9:57:32 PM
Result: The task completed with an exit code of (1).
- - - - - -

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


OK Ramesh... two things to report:

1st - when I tried to run %SystemRoot%\SchedLgU.Txt from the Run window I
received an Access Denied error message! However, by using an external text
editor I was able to open the file and make a copy. There's a lot of stuff
in it (most of which doesn't make a lot of sense to me I'm afraid) but I
could email it to you if you would like to see it. Otherwise maybe you could
suggest what I should be looking for?

2nd - the exact and complete path to Task Scheduler5.0 in my registry is:
HKEY_USERS\S-1-5-21-1060284298-725345543-1003\Software\Policies\Microsoft\Windows\System

I hope this all helps. As I've already said Ramesh, I really do appreciate
all the time you're devoting to my problem. Thanks a million.

--
Ian A Robinson


Ramesh said:
You can launch the Task Scheduler log file by typing this in Start, Run:

%SystemRoot%\SchedLgU.Txt

I'd try fixing the .txt file association.
http://www.dougknox.com/xp/file_assoc.htm


Exactly under which branch / SID, Ian?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Thanks Ramesh... yes, both registry entries were correct. No change needed.

But during the regedit process I noticed something that escaped me
yesterday. The registry entry for Task Scheduler5.0 appears under HKEY_USERS
- not HKEY_LOCAL_MACHINE as suggested in the Microsoft KB article (305612)
that Shenan Stanley asked me to review. Is this significant? And if so what
do you think I should do to correct the error?

--
Ian A Robinson


Ramesh said:
Ian,

Is the log path set correctly in the registry? Click Start, Run and type Regedit.exe
Navigate to the following branch:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent

Double-click "LogPath" value and set its data to:

%SystemRoot%\SchedLgU.Txt
 
Hullo Ramesh
In answer to your questions:

When I run %systemroot% it brings up the C:\WINDOWS folder (showing all
objects in that folder).

Here is a copy of the most recent entry in the log file:

ÿþ" U s e r _ F e e d _ S y n c h r o n i z a t i o n - { 3 5 D 6 F B 0 7 -
2 6 F 2 - 4 2 4 2 - 8 E 3 9 - A 5 4 8 2 E 8 8 1 E 3 7 } . j o b " ( m s f e
e d s s y n c . e x e ) 5 / 0 1 / 2 0 0 7 6 : 4 9 : 0 0 P M * * E R
R O R * *

T h e a t t e m p t t o r e t r i e v e a c c o u n t i n f o r
m a t i o n f o r t h e s p e c i f i e d t a s k f a i l e d ; t
h e r e f o r e , t h e t a s k d i d n o t r u n . E i t h e r
a n e r r o r o c c u r r e d , o r n o a c c o u n t i n f o r m
a t i o n e x i s t e d f o r t h e t a s k .

T h e s p e c i f i c e r r o r i s :

0 x 8 0 0 4 1 3 0 f : N o a c c o u n t i n f o r m a t i o n c o
u l d b e f o u n d i n t h e T a s k S c h e d u l e r s e c u
r i t y d a t a b a s e f o r t h e t a s k i n d i c a t e d .

There are 11 pages of similar entries in the file - plus heaps of entries
(for each of my Scheduled Tasks) similar to this:

" T a s k S c h e d u l e r S e r v i c e "

S t a r t e d a t 2 7 / 1 2 / 2 0 0 6 2 : 4 0 : 3 3 P M

" P P v 5 S c a n _ D a i l y a s I a n R o b i n s o n a t 4 0
0 P M . j o b " ( p p v 5 c o n s u m e r c l . e x e )

S t a r t e d 2 7 / 1 2 / 2 0 0 6 4 : 0 0 : 0 0 P M

" P P v 5 S c a n _ D a i l y a s I a n R o b i n s o n a t 4 0
0 P M . j o b " ( p p v 5 c o n s u m e r c l . e x e )

F i n i s h e d 2 7 / 1 2 / 2 0 0 6 4 : 0 0 : 1 4 P M

R e s u l t : T h e t a s k c o m p l e t e d w i t h a n e x
i t c o d e o f ( 0 ) .

Do these answers help?

Best regards

--
Ian A Robinson


Ramesh said:
Ian,

It looks as if the %systemroot% variable does not resolve properly. What happens when you type "%systemroot%" (without quotes) in Start, Run?

Look for the error code and also the return codes for the task executed during the current day.


Example:
- - - - - -
"User_Feed_Synchronization-{67CA7D49-937F-48DA-A992-B2515466FCE8}.job" (msfeedssync.exe)
Finished 12/27/2006 9:57:32 PM
Result: The task completed with an exit code of (1).
- - - - - -

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


OK Ramesh... two things to report:

1st - when I tried to run %SystemRoot%\SchedLgU.Txt from the Run window I
received an Access Denied error message! However, by using an external text
editor I was able to open the file and make a copy. There's a lot of stuff
in it (most of which doesn't make a lot of sense to me I'm afraid) but I
could email it to you if you would like to see it. Otherwise maybe you could
suggest what I should be looking for?

2nd - the exact and complete path to Task Scheduler5.0 in my registry is:
HKEY_USERS\S-1-5-21-1060284298-725345543-1003\Software\Policies\Microsoft\Windows\System

I hope this all helps. As I've already said Ramesh, I really do appreciate
all the time you're devoting to my problem. Thanks a million.

--
Ian A Robinson


Ramesh said:
You can launch the Task Scheduler log file by typing this in Start, Run:

%SystemRoot%\SchedLgU.Txt
yes, both registry entries were correct. No change needed.

I'd try fixing the .txt file association.
http://www.dougknox.com/xp/file_assoc.htm

appears under HKEY_USERS

Exactly under which branch / SID, Ian?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Thanks Ramesh... yes, both registry entries were correct. No change needed.

But during the regedit process I noticed something that escaped me
yesterday. The registry entry for Task Scheduler5.0 appears under HKEY_USERS
- not HKEY_LOCAL_MACHINE as suggested in the Microsoft KB article (305612)
that Shenan Stanley asked me to review. Is this significant? And if so what
do you think I should do to correct the error?

--
Ian A Robinson


Ramesh said:
Ian,

Is the log path set correctly in the registry? Click Start, Run and type Regedit.exe
Navigate to the following branch:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent

Double-click "LogPath" value and set its data to:

%SystemRoot%\SchedLgU.Txt
 
Ian,

- - -
0x8004130F
SCHED_E_ACCOUNT_INFORMATION_NOT_SET
No account information could be found in the Task Scheduler security database for the task indicated.
- - -

Create a new user account to test. See this note from John Bukowski [MSFT]
http://groups.google.com/group/microsoft.public.windowsxp.general/msg/90be33d3c3a54321?hl=en&

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Hullo Ramesh
In answer to your questions:

When I run %systemroot% it brings up the C:\WINDOWS folder (showing all
objects in that folder).

Here is a copy of the most recent entry in the log file:

ÿþ" U s e r _ F e e d _ S y n c h r o n i z a t i o n - { 3 5 D 6 F B 0 7 -
2 6 F 2 - 4 2 4 2 - 8 E 3 9 - A 5 4 8 2 E 8 8 1 E 3 7 } . j o b " ( m s f e
e d s s y n c . e x e ) 5 / 0 1 / 2 0 0 7 6 : 4 9 : 0 0 P M * * E R
R O R * *

T h e a t t e m p t t o r e t r i e v e a c c o u n t i n f o r
m a t i o n f o r t h e s p e c i f i e d t a s k f a i l e d ; t
h e r e f o r e , t h e t a s k d i d n o t r u n . E i t h e r
a n e r r o r o c c u r r e d , o r n o a c c o u n t i n f o r m
a t i o n e x i s t e d f o r t h e t a s k .

T h e s p e c i f i c e r r o r i s :

0 x 8 0 0 4 1 3 0 f : N o a c c o u n t i n f o r m a t i o n c o
u l d b e f o u n d i n t h e T a s k S c h e d u l e r s e c u
r i t y d a t a b a s e f o r t h e t a s k i n d i c a t e d ..

There are 11 pages of similar entries in the file - plus heaps of entries
(for each of my Scheduled Tasks) similar to this:

" T a s k S c h e d u l e r S e r v i c e "

S t a r t e d a t 2 7 / 1 2 / 2 0 0 6 2 : 4 0 : 3 3 P M

" P P v 5 S c a n _ D a i l y a s I a n R o b i n s o n a t 4 0
0 P M . j o b " ( p p v 5 c o n s u m e r c l . e x e )

S t a r t e d 2 7 / 1 2 / 2 0 0 6 4 : 0 0 : 0 0 P M

" P P v 5 S c a n _ D a i l y a s I a n R o b i n s o n a t 4 0
0 P M . j o b " ( p p v 5 c o n s u m e r c l . e x e )

F i n i s h e d 2 7 / 1 2 / 2 0 0 6 4 : 0 0 : 1 4 P M

R e s u l t : T h e t a s k c o m p l e t e d w i t h a n e x
i t c o d e o f ( 0 ) .

Do these answers help?

Best regards

--
Ian A Robinson


Ramesh said:
Ian,

It looks as if the %systemroot% variable does not resolve properly. What happens when you type "%systemroot%" (without quotes) in Start, Run?

Look for the error code and also the return codes for the task executed during the current day.


Example:
- - - - - -
"User_Feed_Synchronization-{67CA7D49-937F-48DA-A992-B2515466FCE8}.job" (msfeedssync.exe)
Finished 12/27/2006 9:57:32 PM
Result: The task completed with an exit code of (1).
- - - - - -

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


OK Ramesh... two things to report:

1st - when I tried to run %SystemRoot%\SchedLgU.Txt from the Run window I
received an Access Denied error message! However, by using an external text
editor I was able to open the file and make a copy. There's a lot of stuff
in it (most of which doesn't make a lot of sense to me I'm afraid) but I
could email it to you if you would like to see it. Otherwise maybe you could
suggest what I should be looking for?

2nd - the exact and complete path to Task Scheduler5.0 in my registry is:
HKEY_USERS\S-1-5-21-1060284298-725345543-1003\Software\Policies\Microsoft\Windows\System

I hope this all helps. As I've already said Ramesh, I really do appreciate
all the time you're devoting to my problem. Thanks a million.

--
Ian A Robinson


Ramesh said:
You can launch the Task Scheduler log file by typing this in Start, Run:

%SystemRoot%\SchedLgU.Txt
yes, both registry entries were correct. No change needed.

I'd try fixing the .txt file association.
http://www.dougknox.com/xp/file_assoc.htm

appears under HKEY_USERS

Exactly under which branch / SID, Ian?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Thanks Ramesh... yes, both registry entries were correct. No change needed.

But during the regedit process I noticed something that escaped me
yesterday. The registry entry for Task Scheduler5.0 appears under HKEY_USERS
- not HKEY_LOCAL_MACHINE as suggested in the Microsoft KB article (305612)
that Shenan Stanley asked me to review. Is this significant? And if so what
do you think I should do to correct the error?

--
Ian A Robinson


Ramesh said:
Ian,

Is the log path set correctly in the registry? Click Start, Run and type Regedit.exe
Navigate to the following branch:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent

Double-click "LogPath" value and set its data to:

%SystemRoot%\SchedLgU.Txt
 
Hi Again
Thanks for the suggestion. Unfortunately however it hasn't provided the
answer. I had exactly the same problems with Task Scheduler under the new
account as I experienced previously. Sorry!
Just a thought: Because Task Scheduler is part of IE could upgrading to IE7
have had anything to do with my situation? I can't be sure - but it seems
from the log that the difficulties with TS may well have started about the
same time as I made the change.
Other than that I'm again at a loss I'm afraid.
Best wishes,
--
Ian A Robinson


Ramesh said:
Ian,

- - -
0x8004130F
SCHED_E_ACCOUNT_INFORMATION_NOT_SET
No account information could be found in the Task Scheduler security database for the task indicated.
- - -

Create a new user account to test. See this note from John Bukowski [MSFT]
http://groups.google.com/group/microsoft.public.windowsxp.general/msg/90be33d3c3a54321?hl=en&

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Hullo Ramesh
In answer to your questions:

When I run %systemroot% it brings up the C:\WINDOWS folder (showing all
objects in that folder).

Here is a copy of the most recent entry in the log file:

ÿþ" U s e r _ F e e d _ S y n c h r o n i z a t i o n - { 3 5 D 6 F B 0 7 -
2 6 F 2 - 4 2 4 2 - 8 E 3 9 - A 5 4 8 2 E 8 8 1 E 3 7 } . j o b " ( m s f e
e d s s y n c . e x e ) 5 / 0 1 / 2 0 0 7 6 : 4 9 : 0 0 P M * * E R
R O R * *

T h e a t t e m p t t o r e t r i e v e a c c o u n t i n f o r
m a t i o n f o r t h e s p e c i f i e d t a s k f a i l e d ; t
h e r e f o r e , t h e t a s k d i d n o t r u n . E i t h e r
a n e r r o r o c c u r r e d , o r n o a c c o u n t i n f o r m
a t i o n e x i s t e d f o r t h e t a s k .

T h e s p e c i f i c e r r o r i s :

0 x 8 0 0 4 1 3 0 f : N o a c c o u n t i n f o r m a t i o n c o
u l d b e f o u n d i n t h e T a s k S c h e d u l e r s e c u
r i t y d a t a b a s e f o r t h e t a s k i n d i c a t e d ..

There are 11 pages of similar entries in the file - plus heaps of entries
(for each of my Scheduled Tasks) similar to this:

" T a s k S c h e d u l e r S e r v i c e "

S t a r t e d a t 2 7 / 1 2 / 2 0 0 6 2 : 4 0 : 3 3 P M

" P P v 5 S c a n _ D a i l y a s I a n R o b i n s o n a t 4 0
0 P M . j o b " ( p p v 5 c o n s u m e r c l . e x e )

S t a r t e d 2 7 / 1 2 / 2 0 0 6 4 : 0 0 : 0 0 P M

" P P v 5 S c a n _ D a i l y a s I a n R o b i n s o n a t 4 0
0 P M . j o b " ( p p v 5 c o n s u m e r c l . e x e )

F i n i s h e d 2 7 / 1 2 / 2 0 0 6 4 : 0 0 : 1 4 P M

R e s u l t : T h e t a s k c o m p l e t e d w i t h a n e x
i t c o d e o f ( 0 ) .

Do these answers help?

Best regards

--
Ian A Robinson


Ramesh said:
Ian,
received an Access Denied error message!

It looks as if the %systemroot% variable does not resolve properly. What happens when you type "%systemroot%" (without quotes) in Start, Run?
Otherwise maybe you could suggest what I should be looking for?

Look for the error code and also the return codes for the task executed during the current day.


Example:
- - - - - -
"User_Feed_Synchronization-{67CA7D49-937F-48DA-A992-B2515466FCE8}.job" (msfeedssync.exe)
Finished 12/27/2006 9:57:32 PM
Result: The task completed with an exit code of (1).
- - - - - -

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


OK Ramesh... two things to report:

1st - when I tried to run %SystemRoot%\SchedLgU.Txt from the Run window I
received an Access Denied error message! However, by using an external text
editor I was able to open the file and make a copy. There's a lot of stuff
in it (most of which doesn't make a lot of sense to me I'm afraid) but I
could email it to you if you would like to see it. Otherwise maybe you could
suggest what I should be looking for?

2nd - the exact and complete path to Task Scheduler5.0 in my registry is:
HKEY_USERS\S-1-5-21-1060284298-725345543-1003\Software\Policies\Microsoft\Windows\System

I hope this all helps. As I've already said Ramesh, I really do appreciate
all the time you're devoting to my problem. Thanks a million.

--
Ian A Robinson


Ramesh said:
You can launch the Task Scheduler log file by typing this in Start, Run:

%SystemRoot%\SchedLgU.Txt

yes, both registry entries were correct. No change needed.

I'd try fixing the .txt file association.
http://www.dougknox.com/xp/file_assoc.htm


appears under HKEY_USERS

Exactly under which branch / SID, Ian?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Thanks Ramesh... yes, both registry entries were correct. No change needed.

But during the regedit process I noticed something that escaped me
yesterday. The registry entry for Task Scheduler5.0 appears under HKEY_USERS
- not HKEY_LOCAL_MACHINE as suggested in the Microsoft KB article (305612)
that Shenan Stanley asked me to review. Is this significant? And if so what
do you think I should do to correct the error?

--
Ian A Robinson


:

Ian,

Is the log path set correctly in the registry? Click Start, Run and type Regedit.exe
Navigate to the following branch:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent

Double-click "LogPath" value and set its data to:

%SystemRoot%\SchedLgU.Txt
 
Ian,

Make sure that the user account has a password assigned to it. By default, tasks don't run when configured to run under an user account having blank password.

That's all I have on this subject. You may find some ideas here:
http://groups.google.com/groups?q=0x8004130f+xp&start=10&sa=N&hl=en&

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Hi Again
Thanks for the suggestion. Unfortunately however it hasn't provided the
answer. I had exactly the same problems with Task Scheduler under the new
account as I experienced previously. Sorry!
Just a thought: Because Task Scheduler is part of IE could upgrading to IE7
have had anything to do with my situation? I can't be sure - but it seems
from the log that the difficulties with TS may well have started about the
same time as I made the change.
Other than that I'm again at a loss I'm afraid.
Best wishes,
 
Thanks a lot Ramesh. I realise you've spent more time on me than you perhaps
should have. I really *do* appreciate all your patience and help.

I've had a look at the Google Group posts... and have come to the conclusion
I am one of those unfortunates whose Scheduled Tasks has gone pear-shaped for
no good reason. (And there seem to be plenty of others in the same boat!)

So far I've not been able to correct the problem - so I've decided to give
it away ftb. I have now created new shortcuts for each of the Scheduled
Tasks in my list and set up reminders to tell me when they're due to be run.
I'll just do it all manually from here on in!

Thank you again for all your help.

Best wishes,
 
No problem, Ian. Hope we could crack this issue sometime in future.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Thanks a lot Ramesh. I realise you've spent more time on me than you perhaps
should have. I really *do* appreciate all your patience and help.

I've had a look at the Google Group posts... and have come to the conclusion
I am one of those unfortunates whose Scheduled Tasks has gone pear-shaped for
no good reason. (And there seem to be plenty of others in the same boat!)

So far I've not been able to correct the problem - so I've decided to give
it away ftb. I have now created new shortcuts for each of the Scheduled
Tasks in my list and set up reminders to tell me when they're due to be run.
I'll just do it all manually from here on in!

Thank you again for all your help.

Best wishes,
 
Hullo Again Ramesh,
Something rather interesting has happened in the last hour or so - which I
thought you might like to know about?

I don't like being beaten by a thing like this, so I started poking around
the newsgroups and forums dealing with Task Scheduler problems. A suggestion
buried deep inside one of the threads was that it might be neccessary to
activate the "Run only if logged on" option for each task - apparantly so
that Task Scheduler can match the job with the user!
Worth a try I thought - and bingo it worked!!! I shifted the Scheduled run
time for all of the listed tasks to test whether they operated properly - and
they did.

I still can't create a new task using the new task wizard icon... but I can
do this from the File>New>Scheduled Task menu item.

Obviously there's a serious bug in the Task Scheduler (which MS says they're
aware of and working on??)... but meanwhile most of the features seem to be
recovereable by using this work-around.

Best wishes,
 
Thanks for the update, Ian. I have this saved to my "Notes" folder, and will do more research when I have the time.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Hullo Again Ramesh,
Something rather interesting has happened in the last hour or so - which I
thought you might like to know about?

I don't like being beaten by a thing like this, so I started poking around
the newsgroups and forums dealing with Task Scheduler problems. A suggestion
buried deep inside one of the threads was that it might be neccessary to
activate the "Run only if logged on" option for each task - apparantly so
that Task Scheduler can match the job with the user!
Worth a try I thought - and bingo it worked!!! I shifted the Scheduled run
time for all of the listed tasks to test whether they operated properly - and
they did.

I still can't create a new task using the new task wizard icon... but I can
do this from the File>New>Scheduled Task menu item.

Obviously there's a serious bug in the Task Scheduler (which MS says they're
aware of and working on??)... but meanwhile most of the features seem to be
recovereable by using this work-around.

Best wishes,
 
Back
Top