Task Scheduler Job will not start

G

Guest

I have a job scheduled to run in Task Scheduler that errors out with the
status "Could not start." In the application event log I find the following
message:

============================

Windows cannot unload your registry file. If you have a roaming profile,
your settings are not replicated. Contact your administrator.

DETAIL - , Build number ((2195)).

============================

Additional info:
- The user is a local machine account that is in the Administrators group.
- The profile is identified as Local (not Roaming) when viewed through
Control Panel/System Properties/User Profiles.
- The account has rights to log in locally and log in as a batch job. I
have logged in locally to verify that the password I typed in is correct.
- OS version is Windows 2000, 5.00.2195, SP4.
- IE version is 6.0.2800.1106, SP1, multiple hotfixes.
- I have installed, rebooted, and run the UPHClean service; this did not
resolve the problem.
- All of the MS KB articles that deal with this message refer to the line
"DETAIL - Access is denied., Build number ((2195))". In my case the phrase
"Access is denied." is not logged in the event log.

Thanks in advance for any suggestions.
 
P

Pegasus \(MVP\)

CarolinaKB said:
I have a job scheduled to run in Task Scheduler that errors out with the
status "Could not start." In the application event log I find the following
message:

============================

Windows cannot unload your registry file. If you have a roaming profile,
your settings are not replicated. Contact your administrator.

DETAIL - , Build number ((2195)).

============================

Additional info:
- The user is a local machine account that is in the Administrators group.
- The profile is identified as Local (not Roaming) when viewed through
Control Panel/System Properties/User Profiles.
- The account has rights to log in locally and log in as a batch job. I
have logged in locally to verify that the password I typed in is correct.
- OS version is Windows 2000, 5.00.2195, SP4.
- IE version is 6.0.2800.1106, SP1, multiple hotfixes.
- I have installed, rebooted, and run the UPHClean service; this did not
resolve the problem.
- All of the MS KB articles that deal with this message refer to the line
"DETAIL - Access is denied., Build number ((2195))". In my case the phrase
"Access is denied." is not logged in the event log.

Thanks in advance for any suggestions.

The Event Log message you quote is unrelated to your
Task Scheduler problem.

I suggest you start by running the scheduled task under
your own account. Make it a simple task that you can
easily monitor, e.g. a batch file of the following form:

@echo off
echo %date% %time% Start of task > c:\test.log
echo User=%UserName%, Path=%path% >> c:\test.log

When this works satisfactorily, use a different account
and see what happens.
 
G

Guest

I don't understand your comment that, "The Event Log message you quote is
unrelated to your Task Scheduler problem." The event log entry is logged as
a result of executing the batch job interactively or when it's scheduled time
arrives; it happens at no other time. I have tried under a couple of
different users, and each time this message is logged.
 
G

Guest

Yeah, I even stopped and restarted (even though I had already rebooted) just
to be sure. Other jobs run okay. There is an issue with the user profile
registry hive being locked when this job runs, so I'm trying to run that to
ground now. I'll take a look at your link later when I get a chance.
 
G

Guest

Turns out the problem was an incorrect Run command line qualifier. After
reading the app. doc. and changing "\S" to "/s", the job ran successfully.
 

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

Top