脚本动态安装/卸载HDD分区 [英] Scripting dynamic mount/dismount of an HDD partition

查看:58
本文介绍了脚本动态安装/卸载HDD分区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建一种技术来规避可能的Cyber​​Lock病毒感染。具体来说,我想在定时计划中动态安装备份硬盘,然后运行适用的备份程序并在备份完成后卸载备份硬盘。

I am trying to build a technique to circumvent possible infection of the CyberLock virus. Specifically, I'd like to dynamically mount a backup HDD on a timed schedule, then run the applicable backup program and dismount the backup HDD upon backup completion.

我知道如何安装/使用鼠标和放大器通过磁盘管理器窗口卸载键盘。我不知道的是如何编写这些动作的脚本;或者甚至可以编写脚本。

I know how to do the mount/dismount via Disk Manager window using mouse & keyboard. What I don't know is how to script these actions; or even if it is possible to script them.

有什么想法吗?

推荐答案


我知道如何使用鼠标和放大器通过磁盘管理器窗口进行挂载/卸载键盘。我不知道的是如何编写这些动作的脚本;或者甚至可以编写脚本。

I know how to do the mount/dismount via Disk Manager window using mouse & keyboard. What I don't know is how to script these actions; or even if it is possible to script them.

有什么想法吗?


mountvol.exe为您提供与磁盘管理器GUI相同的选项。您必须在提升的权限下执行命令。

mountvol.exe gives you much the same options as the Disk Manager GUI. You must execute the command under elevated privileges.


这篇关于脚本动态安装/卸载HDD分区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆