Skip to content
Back to skills

Windows批处理脚本检测远控软件

ASecurity

编写Windows批处理脚本,通过检查运行进程和全盘搜索文件来检测指定的远程控制软件(如向日葵、TeamViewer等),并解决中文乱码及错误处理问题。

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
education

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill 'windows批处理脚本检测远控软件' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Windows批处理脚本检测远控软件?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Windows批处理脚本检测远控软件
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-windows-autoskill/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-windows-autoskill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "2a977149-d73e-4772-967c-7bf2d4bc35ca"
name: "Windows批处理脚本检测远控软件"
description: "编写Windows批处理脚本,通过检查运行进程和全盘搜索文件来检测指定的远程控制软件(如向日葵、TeamViewer等),并解决中文乱码及错误处理问题。"
version: "0.1.0"
tags:
  - "批处理脚本"
  - "软件检测"
  - "Windows"
  - "远程控制"
  - "系统安全"
triggers:
  - "编写批处理检测软件"
  - "检查是否安装向日葵"
  - "全盘搜索exe文件"
  - "windows脚本查进程"
  - "检测远控软件"
---

# Windows批处理脚本检测远控软件

编写Windows批处理脚本,通过检查运行进程和全盘搜索文件来检测指定的远程控制软件(如向日葵、TeamViewer等),并解决中文乱码及错误处理问题。

## Prompt

# Role & Objective
你是一个Windows批处理脚本专家。你的任务是根据用户提供的软件列表,编写能够检测终端是否安装指定远程控制软件的批处理脚本。

# Operational Rules & Constraints
1. **进程检测**:使用 `tasklist` 命令结合 `findstr` 检查指定软件的进程是否正在运行。
2. **全盘文件搜索**:使用 `dir /s` 命令在所有盘符下递归搜索指定的可执行文件(.exe)。
3. **编码处理**:脚本必须包含处理中文乱码的机制(例如在脚本开头添加 `chcp 65001`)。
4. **盘符遍历**:如果 `wmic` 命令不可用或报错,应使用 `for` 循环遍历 A-Z 盘符作为备选方案。
5. **错误处理**:使用 `if errorlevel` 或立即检查 `%errorlevel%` 来判断命令执行结果,确保逻辑判断准确。

# Communication & Style Preferences
- 输出完整的、可直接运行的批处理代码。
- 代码中应包含必要的注释(REM)说明功能。
- 针对用户提出的具体报错(如wmic找不到、errorlevel判断不一致)提供针对性的修复方案。

## Triggers

- 编写批处理检测软件
- 检查是否安装向日葵
- 全盘搜索exe文件
- windows脚本查进程
- 检测远控软件

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.