Monday, August 8, 2011

Windows service config commands

Had to do some changes to windows services recently to ensure that specific services would be started before others. The command I used was:


sc config "servce-name" depend= "other service name"

results: [SC] ChangeServiceConfig SUCCESS

This updated the registry settings for these two services.

No comments: