Jim,
There appears to be some issues with the service. SC is saying the service
is running, however, the schtask is unable to list any tasks. It is hard
to tell what is going on from these external symptoms.
FYI - Post RC1 you will be unable to stop the Task Scheduler service out of
the box. That is why you are getting the Access Denied. However, you can
issue the following command to enable this.
sc sdset schedule
D

A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S

AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
This is basically setting the ACL on who can Stop\Start the service. You
can try this and see if this kickstarts the service.
I am not seeing this issue on the RTM builds. However, I will try and repro
with the tools you mentioned.
Thanks,
Jonathan
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--
"James Welch" <welchja2@msu.edu> wrote in message
news:B1516BE6-62CE-4BD9-B385-8A2BE313529B@microsoft.com...
>I am using build RC2
>
> This just recently started happening. I'm not sure if its the cause but i
> installed a program, TweakVI, a couple of days ago. It didn't really have
> many tweaks that I was interested in so i uninstalled it. Around the days
> when it was installed or recently uninstalled i believe was when I checked
> the Reliability Monitor and it wasn't working. Is it possible that this
> program messed with any security or other settings?
>
> when typing
> "sc query schedule"
> i get this:
>
> SERVICE_NAME: schedule
> TYPE : 20 WIN32_SHARE_PROCESS
> STATE : 4 RUNNING
> (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
> WIN32_EXIT_CODE : 0 (0x0)
> SERVICE_EXIT_CODE : 0 (0x0)
> CHECKPOINT : 0x0
> WAIT_HINT : 0x0
>
>
> I get
> ERROR: The network address is invalid.
> when trying "schtasks /query"
>
>
> Thanks for your help,
> James
>
>
>
>
> ____________
> "Jonathan Liu [MSFT]" <jonliu@online.microsoft.com> wrote in message
> news:O3OdWw3$GHA.5068@TK2MSFTNGP02.phx.gbl...
>> Hi Jim,
>>
>> Can you tell me which build you are using?
>>
>> Also try the following from the command line. What is the State?
>>
>> sc query schedule
>>
>> Also if you run this, it will (should)display display a list of tasks.
>>
>> schtasks /query
>>
>> Let me know:
>>
>> Thanks,
>> Jonathan
>>
>> --
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> Use of included script samples are subject to the terms specified at
>> http://www.microsoft.com/info/cpyright.htm
>> --
>> "James Welch" <welchja2@msu.edu> wrote in message
>> news
E69FA8D-4DB0-4154-AFE6-77DC1EBF4E1D@microsoft.com...
>>> For some reason I cannot open Task Scheduler. When I try to open it says
>>> "Task Scheduler service not running. Verify that the service is
>>> running."
>>> In services.msc it says that it is "started". I would stop and restart
>>> it
>>> but the options are greyed out. Get an error messenge where I try to
>>> stop
>>> it via Task Manager services tab.
>>>
>>> I have tried net start "task scheduler" in cmd.exe but everytime i try
>>> to start task scheduler it says its already running (when there is
>>> oviously a problem with it) and when i try to stop it i get an error
>>> message, access denied. I have UAC turned off and did "run as
>>> administrator".
>>>
>>> Also i try to add the snap-in within the MMC.exe but once i add the task
>>> scheduler snap in it says service not available, verify it is running.
>>>
>>>
>>> Any ideas?
>>>
>>>
>>
>