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?
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?

Last edited: