# 批量安装

使用组织注册令牌批量安装和审批 Beeuni Capture。

Canonical page: https://beeuni.ai/docs/zh/capture/rollout

先开启组织的 Capture，设置录制范围、保留时间、排除项和告知成员的通知，再创建注册令牌。根据需要限制邮箱域、设备数量、有效期，并开启逐台审批。令牌只显示一次，请像密码一样保管。

## 以管理员身份安装

Windows:

```powershell
msiexec /i BeeuniCapture-x64.msi /qn BEEUNI_URL=https://api.beeuni.ai ENROLLMENT_TOKEN=beeuni_enr_...
```

```powershell
sc query BeeuniCapture
Get-Process beeuni-capture | Select-Object Id, SessionId
```

macOS:

```bash
sudo mkdir -p "/Library/Application Support/Beeuni/Capture"
echo '{"url":"https://api.beeuni.ai","enrollment_token":"beeuni_enr_..."}' | sudo tee "/Library/Application Support/Beeuni/Capture/config.json" >/dev/null
sudo chmod 600 "/Library/Application Support/Beeuni/Capture/config.json"
sudo installer -pkg BeeuniCapture-universal.pkg -target /
```

Linux:

```bash
sudo install -d -m 755 /etc/beeuni
echo '{"url":"https://api.beeuni.ai","enrollment_token":"beeuni_enr_..."}' | sudo tee /etc/beeuni/capture.json >/dev/null
sudo chmod 600 /etc/beeuni/capture.json
sudo apt install ./beeuni-capture_amd64.deb
```

Linux 支持 X11 录制。Wayland 会话可以注册，但目前不能录制。macOS 仍需要屏幕录制权限。

## 检查和撤销

在 **Capture → 设备** 查看设备状态。在 **等待批准** 中批准或拒绝设备；如果需要，将设备关联到成员。未关联的设备为组织录制，不会自动归到电脑登录邮箱对应的成员。

在设备端暂停录制，或由管理员暂停整个组织。撤销设备会立即使设备令牌失效。撤销注册令牌只阻止新设备注册，不会停止已注册的设备。卸载应用不会立即清除电脑上的历史记录。

完整安装和移除命令见英文版批量安装文档。

[Capture](/docs/zh/capture) · [IT rollout (English)](/docs/capture/rollout)
