문제

I am trying to query a service on a remote machine using the windows sc command but keep getting the following error [sc] enumqueryservicesstatus openservice failed 5 Access is denied, any body have an idea what exactly i need to change on the remote machine for this to work? User permission? Every user on my remote machine is an administrator. Perhaps some firewall blocking? Or some service not running?

I am running the following command which queries the RemoteRegistry service:

sc \\<remote machine ip address> query RemoteRegistry

Thanks.

도움이 되었습니까?

해결책

Turned off windows UAC on the remote machine, it fixed it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top