Hi all,
I am using sc.exe for installing service on remote computer.
It’s working fine when I was login with admin credentials,
But when I am login with local user credentials and using Admin credentials for sc command then it’s throwing error :
[SC] OpenSCManager FAILED 5 :
Access is denied.
My command is :-
C:\> sc \\remote-PC create servicename binpath= C:\cse.exe start= auto obj= Domain\Admin password= 12345