Quantcast
Channel: Security forum
Viewing all articles
Browse latest Browse all 12072

sc is not installing service on remote computers, when login with local user

$
0
0

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


Viewing all articles
Browse latest Browse all 12072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>