Solved

use sc.exe  to configure a service with multiple dependencies

Posted on 1998-06-04
1
902 Views
Last Modified: 2013-12-28
I want to use  SC.EXE to configure a service ( ex. certsvc ) to have multiple dependencies.  according to the instructions  I should be able to do it using a command like this:
sc config certsvc depend= loadsvc depend= protectedstorage

but it doesn't work!!!  
what is the proper syntax ?
please email me at my new job  
mprigal@ire.com
0
Comment
Question by:MosheB
1 Comment
 
LVL 5

Accepted Solution

by:
carmine earned 300 total points
ID: 1781509
The correct syntax is:
sc config certsvc depend= loadsvc protectedstorage

Note the spaces, are you sure of the dependency service names? If they have spaces they must be surrounded by double quotes.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question