U-Claw 远程协助

Agent 模式 - 轻量快速,一行命令上线

第 1 步:打开终端

Windows
macOS
Linux

方法 1(推荐):

按键盘 Win + X,选择 "终端(管理员)""PowerShell(管理员)"

方法 2:

Win 键,搜索 "PowerShell",右键选 "以管理员身份运行"

PS C:\Users\YourName> _

看到这样的界面就对了 ↑

Command + 空格,搜索 "终端""Terminal",回车打开

yourname@MacBook ~ % _

Ctrl + Alt + T 打开终端

user@hostname:~$ _

第 2 步:粘贴运行

复制下面的命令,粘贴到终端里,按回车:

irm https://u-claw.org/agent.ps1 | iex

提示:在 PowerShell 里右键即可粘贴

Windows 7 用户请点这里 ▼

Win7 默认不支持 TLS 1.2,且 PowerShell 2.0 不认识 irm。下面的命令走纯 HTTP 镜像,不需要装任何补丁

方法 1(推荐):cmd 批处理

Win+R 输入 cmdCtrl+Shift+回车 以管理员打开,粘贴:

bitsadmin /transfer uclaw7 /priority foreground http://47.107.130.152/agent-win7.bat "%TEMP%\agent-win7.bat" && "%TEMP%\agent-win7.bat"

方法 2:PowerShell(如果方法 1 失败)

以管理员身份打开 PowerShell,粘贴:

(New-Object Net.WebClient).DownloadString('http://47.107.130.152/agent-win7.ps1')|iex

这两条命令都走 HTTP 不走 HTTPS,绕开 Win7 的 TLS 问题。运行成功后会显示 Device ID(pc-XXXX),把它发给运维即可。

curl -fsSL https://u-claw.org/agent.sh | bash

提示:Command+V 粘贴,然后回车

curl -fsSL https://u-claw.org/agent.sh | bash

提示:Ctrl+Shift+V 粘贴,然后回车

第 3 步:发送设备 ID

运行成功后会看到:

  ==========================================
    Connected! Send this ID to support:
  ==========================================

  +------------------------------------------+
  |  Device ID:  desktop-a3f2                 |
  |  Hostname:   DESKTOP-ZHANGSAN            |
  +------------------------------------------+

  * Close this window to disconnect
  * Auto-disconnect after 2 hours

Device ID(如 desktop-a3f2)发给技术支持即可。

一键卸载

如需彻底清理 Agent(停止进程 + 删除文件),复制对应命令运行:

irm https://u-claw.org/agent.ps1 | iex -Args '--uninstall'

或者直接关闭 PowerShell 窗口,Agent 也会自动停止并清理

curl -fsSL https://u-claw.org/agent.sh | bash -s -- --uninstall

会停止 Agent 进程并删除 /tmp/uclaw 目录

curl -fsSL https://u-claw.org/agent.sh | bash -s -- --uninstall

会停止 Agent 进程并删除 /tmp/uclaw 目录

安全说明

单向连接 Agent 只接收并执行技术支持发送的诊断命令

随时断开 关闭终端窗口即可立即断开连接

自动过期 连接 2 小时后自动断开,不会常驻

无残留 断开后自动清理下载的文件

Q: 运行报错"无法加载文件"怎么办?

在 PowerShell 里先运行:Set-ExecutionPolicy Bypass -Scope Process,然后再粘贴命令。

Q: 下载失败?

检查网络连接,或者联系技术支持获取离线安装包。

Q: 连不上服务器?

可能是公司防火墙限制,请联系技术支持。

U-Claw Remote Support © 2026