Help with Issues creating a custom service

Soldato
Joined
14 Nov 2012
Posts
17,971
Location
Chesterfield
I'm trying to create a custom service using the following command:

SC CREATE MDTServer binpath"c:\xxx\xxx\xxx\xxx.exe" DisplayName= MDTServer start= auto

If I remove the display name & start parameter, it works. As soon as I add either or both, it fails.

I can't find away around this and I've been using this as a guide:

http://stackoverflow.com/questions/...with-sc-exe-how-to-pass-in-context-parameters

Why isn't this working? :confused:
 
Last edited:
Back
Top Bottom