How to escape special characters in SC Config command

R

Román Díez Gea

Hi Everyone,I'm trying to log on in one service with a specific user and password so I run this command in command line:SC config ServiceName type= "own" obj= "user" Password= "password"Supposedly everything is ok because the message I get is:[SC] ChangeServiceConfig SUCCESSBut When I try to run the service again once I change the configuration in command line I get this:SC start ServiceName[SC] StartService FAILED 1069: The service did not start due to a logon failure.I think the problem is the password which contains special characters like %\"@: so I don't know how can I escape in order th

Continue reading...
 
Back
Top Bottom