参考文章:

https://jingyan.baidu.com/article/9c69d48fc68cee13c9024e9c.html

 

操作:

 

  1. windows端

 

计算机---右击---管理---服务和应用程序---服务----" Remote Procedure Call (RPC) "---右击---属性 (开启服务)

linux控制windows关机

 

 

查看本机IP(建议静态地址)

linux控制windows关机

 

 

配置防火墙(配置 入站规则 ) 选择启用

linux控制windows关机 linux控制windows关机

 

设置用户密码

开始---控制面板---用户账户

linux控制windows关机

linux控制windows关机

 

 

linux端

  1. 安装工具 (samba-common)

sudo apt-get install samba-common -y

 

 

 

 

 

 

测试:

linux端

linux控制windows关机

 

windows端(经测试 约25秒关机)

linux控制windows关机

 

 

取消关机操作:

windows端

linux控制windows关机

 

 

 

 

2019年11月15日21:06:13

相关文章:

  • 2021-04-18
  • 2022-01-08
  • 2021-05-09
  • 2021-11-09
  • 2021-04-23
  • 2021-11-10
  • 2021-09-07
  • 2021-11-12
猜你喜欢
  • 2021-07-10
  • 2021-12-12
  • 2021-10-23
  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案