PC Review


Reply
Thread Tools Rate Thread

Dependencies for services no longer displaying

 
 
Rich H
Guest
Posts: n/a
 
      22nd Dec 2009
Windows XP, SP3, all updates current.

When I open the Services tool (%SystemRoot%\system32\services.msc /s) and
open the properties dialog for any of the services, then click the
Dependencies tab, both the lists always show <No Dependencies>.

Yet, if I open a Command Prompt and enter (for example):

sc enumdepend rpcss

It shows 4 dependencies.

Any idea what is wrong, and how I can repair it?
 
Reply With Quote
 
 
 
 
Tim Meddick
Guest
Posts: n/a
 
      22nd Dec 2009

I don't think that it's a case of "repairing" it...

I believe (I may be wrong about this, however) that the way in which sc.exe
enumerates dependencies differs from the way "Services.msc" lists dependencies.

The only evidence I have for this is that when I type at the command prompt :

sc.exe enumdepend rpcss

....I also get 4 dependencies listed, but when I look under the dependencies tab of
Services.msc, it lists no fewer than 49!

Also, the [enumdepend] parameter seems to only display what would otherwise be in the
"lower box" (The following system components depend on this service) rather than the
upper one that displays the services essential for starting the service in question.

Unless ALL the dependencies boxes in Services.msc are "empty" I rather think it could
just be a discrepancy in the way each application goes about retrieving it's
information.

==

Cheers, Tim Meddick, Peckham, London. :-)




"Rich H" <(E-Mail Removed)> wrote in message
news:91D7B514-88F8-4702-9390-(E-Mail Removed)...
> Windows XP, SP3, all updates current.
>
> When I open the Services tool (%SystemRoot%\system32\services.msc /s) and
> open the properties dialog for any of the services, then click the
> Dependencies tab, both the lists always show <No Dependencies>.
>
> Yet, if I open a Command Prompt and enter (for example):
>
> sc enumdepend rpcss
>
> It shows 4 dependencies.
>
> Any idea what is wrong, and how I can repair it?


 
Reply With Quote
 
Rich H
Guest
Posts: n/a
 
      23rd Dec 2009
Thanks for the reply, Tim.

Unfortunately, it seems that both of the dependency boxes (top and bottom)
for ALL of services listed in Services.msc are empty. I'll confess that I
haven't checked each and every one, but I went through about 1/3 of them in
order, and checked a bunch of them at random, and they are all empty.

"Tim Meddick" wrote:

> I don't think that it's a case of "repairing" it...
>
> I believe (I may be wrong about this, however) that the way in which sc.exe
> enumerates dependencies differs from the way "Services.msc" lists dependencies.
>
> The only evidence I have for this is that when I type at the command prompt :
>
> sc.exe enumdepend rpcss
>
> ....I also get 4 dependencies listed, but when I look under the dependencies tab of
> Services.msc, it lists no fewer than 49!
>
> Also, the [enumdepend] parameter seems to only display what would otherwise be in the
> "lower box" (The following system components depend on this service) rather than the
> upper one that displays the services essential for starting the service in question.
>
> Unless ALL the dependencies boxes in Services.msc are "empty" I rather think it could
> just be a discrepancy in the way each application goes about retrieving it's
> information.
>
> ==
>
> Cheers, Tim Meddick, Peckham, London. :-)
>
>
>
>
> "Rich H" <(E-Mail Removed)> wrote in message
> news:91D7B514-88F8-4702-9390-(E-Mail Removed)...
> > Windows XP, SP3, all updates current.
> >
> > When I open the Services tool (%SystemRoot%\system32\services.msc /s) and
> > open the properties dialog for any of the services, then click the
> > Dependencies tab, both the lists always show <No Dependencies>.
> >
> > Yet, if I open a Command Prompt and enter (for example):
> >
> > sc enumdepend rpcss
> >
> > It shows 4 dependencies.
> >
> > Any idea what is wrong, and how I can repair it?

>
> .
>

 
Reply With Quote
 
Tim Meddick
Guest
Posts: n/a
 
      23rd Dec 2009

Does the effect of every "dependency box" being empty persist after rebooting? -
I'm just thinking, perhaps, it was a "one off"!!?

==

Cheers, Tim Meddick, Peckham, London. :-)




"Rich H" <(E-Mail Removed)> wrote in message
news:EC60B23B-166F-4FC0-8E7D-(E-Mail Removed)...
> Thanks for the reply, Tim.
>
> Unfortunately, it seems that both of the dependency boxes (top and bottom)
> for ALL of services listed in Services.msc are empty. I'll confess that I
> haven't checked each and every one, but I went through about 1/3 of them in
> order, and checked a bunch of them at random, and they are all empty.
>
> "Tim Meddick" wrote:
>
> < clipped >
>

 
Reply With Quote
 
Tim Meddick
Guest
Posts: n/a
 
      23rd Dec 2009
I've done a bit of "digging" and come up with the fact that it's a problem that has
been documented before - there is also a link between the Dependencies tab always
showing <No Dependencies> and Windows Server 2003 64-bit.

Plus, if you look in the registry - the dependencies that *should* be shown under the
Dependencies tab appear under the appropriate service's key in a value named
"DependOnService"

e.g. For the service "Logical Disk Manager Administrative Service" [dmadmin] under
the key :

[HKLM\System\CurrentControlSet\Services\dmadmin]

....you will find this value :

"DependOnService"="RpcSs \ PlugPlay \ DmServer" (REG_MULTI_SZ)

....which translates as :

RpcSs = "Remote Procedure Call (RPC)"
PlugPlay = "Plug and Play"
DmServer = "Logical Disk Manager"

....which are the three services that should appear in the dependencies box...

==

Cheers, Tim Meddick, Peckham, London. :-)




"Rich H" <(E-Mail Removed)> wrote in message
news:91D7B514-88F8-4702-9390-(E-Mail Removed)...
> Windows XP, SP3, all updates current.
>
> When I open the Services tool (%SystemRoot%\system32\services.msc /s) and
> open the properties dialog for any of the services, then click the
> Dependencies tab, both the lists always show <No Dependencies>.
>
> Yet, if I open a Command Prompt and enter (for example):
>
> sc enumdepend rpcss
>
> It shows 4 dependencies.
>
> Any idea what is wrong, and how I can repair it?


 
Reply With Quote
 
Tim Meddick
Guest
Posts: n/a
 
      23rd Dec 2009
Just another thought;

....if you really *needed* to know what should be displayed in the Dependencies "box",
you could create a simple batch file that read the contents of the DependOnService
registry value for a given service (key).

e.g. ;

@echo off
if %1]==] goto USAGE
if %1]==/?] goto USAGE
reg QUERY HKLM\System\CurrentControlSet\Services\%1 >nul
if ERRORLEVEL 1 goto NO_KEY
reg QUERY HKLM\System\CurrentControlSet\Services\%1 /v DependOnService
if ERRORLEVEL 1 goto WARN
goto :EOF

:USAGE
echo.
echo SHOWDEP [service]
echo.
echo service - Specify a (short-name) service.
echo.
goto :EOF

:WARN
echo.
echo NOT ALL SERVICES THAT SHOW DEPENDENCIES USE THE VALUE:
echo.
echo [DependOnService]
echo.
echo Error: Value does not exist.
echo.
goto :EOF

:NO_KEY
echo.
echo Error: NO SUCH SERVICE (KEY) EXISTS
echo.



==

Cheers, Tim Meddick, Peckham, London. :-)

 
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
XP Services Dependencies J Lunis Windows XP General 13 26th Feb 2007 02:11 PM
Services have No Dependencies =?Utf-8?B?RWFybA==?= Windows XP Help 1 31st Aug 2006 08:30 PM
Services - startup dependencies etc BertieBigBollox@gmail.com Microsoft Windows 2000 3 15th Aug 2006 10:22 AM
HELP services do not have any dependencies to them noiitisnotme Windows XP General 0 15th Sep 2004 12:54 PM
Dependencies missing from Services Michael Drillinger Microsoft Windows 2000 Setup 1 11th May 2004 03:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:23 PM.