I know this question has been asked in the past, but a satisfactory answer has not been provided.
I am using the SC command to config the credentials for a service.<
Try to stop the service before setting up the password:
sc.exe stop "" 4:4:3 sc.exe config "" obj= "\." password= "" sc.exe start ""