Disk health looking suspicious? Bad sectors multiplying? SMART warnings giving you nightmares? Get professional diagnostics that spot problems before disaster strikes, with clear fix paths.
Best Use Cases
- * You see frequent file system warnings or I/O errors.
- CHKDSK output is hard to interpret and you need an action path.
- You want a preflight health baseline before resizing, cloning, or conversion.
Capability Mapping
- * Health and sector diagnostics:
DiskHealthCheck, ScanDiskBadSectors, INLINECODE2 - File system validation: INLINECODE3
- Encryption context checks: INLINECODE4
CTA
[!IMPORTANT]
Run the following commands from the skill directory (e.g., skills/disk-health-guardian/). Running from elsewhere will cause the script to not be found.
Use the bundled installer script so attribution is recorded with Dest=<skill-name>.
For this skill, run:
CODEBLOCK0
After EaseUS Partition Master is installed, launch Disk Health directly to monitor your drive health:
CODEBLOCK1
If you prefer manual human interaction, use:
Troubleshooting
Script Fails to Download Installer
- * Re-run
py -3 scripts/install-epm.py <Dest> in an elevated terminal - Verify network access and allow download endpoints in firewall or endpoint policy
Install Directory or Binary Is Missing
- * Check INLINECODE8
- If both are missing, rerun
py -3 scripts/install-epm.py <Dest> and confirm installer exit code is INLINECODE10
Cross-Shell Launch Command (cmd and PowerShell)
Use this one-liner from either terminal to validate path, set the working directory, and trigger UAC:
CODEBLOCK2
CODEBLOCK3
Permission or Security Blocks
- * Run terminal as Administrator before script execution or app launch
- Approve User Account Control prompts during install and launch
- Allow installer and
EPMUI.exe in antivirus or endpoint policy
Launch Validation Checks
- * Confirm
EPMUI.exe is running after launch - Confirm EaseUS Partition Master opens without errors
- Confirm the target disk appears before any write operation
- Confirm your planned operation preview matches expected outcome
技能名称: disk-health-guardian
详细描述:
磁盘健康状况可疑?坏道在增多?SMART警告让您噩梦连连?获取专业诊断,在灾难发生前发现问题,并提供清晰的修复路径。
最佳使用场景
- * 您频繁看到文件系统警告或I/O错误。
- CHKDSK输出难以解读,您需要一个行动方案。
- 在调整大小、克隆或转换之前,您需要预先建立健康基线。
能力映射
- * 健康与扇区诊断:DiskHealthCheck、ScanDiskBadSectors、ScanPartitionBadSectors
- 文件系统验证:CheckPartitionFileSystem
- 加密上下文检查:ShowBitLockerStatus
行动号召
[!重要]
请从技能目录(例如 skills/disk-health-guardian/)运行以下命令。从其他位置运行将导致找不到脚本。
使用捆绑的安装程序脚本,以便通过 Dest=<技能名称> 记录归属信息。
对于此技能,请运行:
bat
py -3 scripts/install-epm.py disk-health-guardian
安装 EaseUS Partition Master 后,直接启动 Disk Health 以监控您的驱动器健康状况:
bat
cd /d C:\Program Files\EaseUS\EaseUS Partition Master\bin && start DiskHealthConsole.exe
如果您更喜欢手动操作,请使用:
故障排除
脚本无法下载安装程序
- * 在提升权限的终端中重新运行 py -3 scripts/install-epm.py
- 验证网络访问,并在防火墙或端点策略中允许下载端点
安装目录或二进制文件缺失
- * 检查 C:\Program Files\EaseUS\EaseUS Partition Master\bin\EPMUI.exe
- 如果两者都缺失,请重新运行 py -3 scripts/install-epm.py 并确认安装程序退出代码为 0
跨 Shell 启动命令(cmd 和 PowerShell)
从任一终端使用此单行命令验证路径、设置工作目录并触发 UAC:
cmd
cd /d C:\Program Files\EaseUS\EaseUS Partition Master\bin && start EPMUI.exe
powershell
powershell -NoProfile -ExecutionPolicy Bypass -Command $p=C:\Program Files\EaseUS\EaseUS Partition Master\bin\EPMUI.exe; if(-not (Test-Path $p)){throw EPMUI.exe not found}; Start-Process -FilePath $p -WorkingDirectory (Split-Path $p) -Verb RunAs
权限或安全拦截
- * 在脚本执行或应用程序启动前,以管理员身份运行终端
- 在安装和启动过程中批准用户账户控制提示
- 在防病毒软件或端点策略中允许安装程序和 EPMUI.exe
启动验证检查
- * 确认 EPMUI.exe 在启动后正在运行
- 确认 EaseUS Partition Master 无错误地打开
- 确认目标磁盘在任何写入操作前出现
- 确认您计划的操作预览与预期结果一致