linux下通过RPC远程关机windows

2023-03-01 | Linux

linux下通过RPC远程关机windows

  • windows防火墙配置

    打开Windows Defender设置允许应用通过防火墙
    勾选Windows Management Instrumentation (WMI)

  • 启动服务

    打开windows 终端执行

    1
    sc start RemoteRegistry
  • 编辑注册表

    win + R 打开注册表,一层层找到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System 下,创建32位的DWORD,命名LocalAccountTokenFilterPolicy并将其值设置为1。

  • 安装smb服务

    1
    apt install samba
  • 执行关机命令

    1
    net rpc shutdown --ipaddress 192.168.x.x --user user%password

阅读更多

emby使用手册

2023-03-01 | emby

Here's something encrypted, password is required to continue reading.

阅读更多

Oracle Cloud 相关操作

2022-08-23

Oracle Cloud 关闭防火墙

阅读更多

Chrome104版本支持开启硬解hevc

2022-08-11

Chrome启动参数开启硬解hevc

mac开启

1
open /Applications/Google\ Chrome.app/ --args --enable-features=PlatformHEVCDecoderSupport

阅读更多

解决mac上运行app损坏问题

2022-07-01

解决mac上运行app损坏问题

1
sudo xattr -r -d com.apple.quarantine /Applications/xxxx.app

阅读更多