A Tip From Kinetic Computer Services ...
Need to automatically attach virtual disk on Windows Server
Description of the Problem
You have a virtual disk on your Windows Server system that you need to automatically be attached every time the system is booted. For example, you may be using a virtual disk as a backup destination for Windows Server Backup.
First, create a simple Notepad script to attach the virtual disk:
select vdisk file="your vdisk"
select vdisk file="f:\server backup.vhdx"
Give the script a .TXT extension and save it in a convenient folder, for example, "c:\users\administrator\attach.txt".
Now, create a scheduled task to launch the script automatically whenever the system is booted.
The virtual disk will now be attached whenever the system is rebooted.
Posted on February 25, 2020
© Copyright Kinetic Computer Services
This tip is a free service of Kinetic Computer Services - professional network consultants serving the Houston area since 1998.
Reproduction of this document without the author's consent is prohibited.