Shutdown Windows machine from linux terminal

前端 未结 8 1993
眼角桃花
眼角桃花 2020-12-28 21:12

I am running an application on linux machine. By giving the ip address of a windows machine as input, the application must shutdown the windows machine. If the machines run

8条回答
  •  星月不相逢
    2020-12-28 21:30

    It's important to note that the above solution will not work if the username in question does not have a password set (at least that's how it was in my case).

    For windows 10 (and below maybe, did not check) users one must go to the firewall settings and enable "Remote Service Management" for the linux box to be able to connect via rpc.

提交回复
热议问题