use sc.exe to configure a service with multiple dependencies

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
MosheBAsked:
Who is Participating?
 
carmineConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.