Skip to main content
Skip table of contents

How to create "dump" virtual disk for VMS Master

Currently when you use Mirasys VMS Master and not use that as recorder server. This cause that when you open System Manager you got error that Storage disk is not installed. If you have extra disk (at least 70GB) on system you can assign this to VMS Master. There is other way to make virtual disk which only use 2MB and show as 70GB disk to VMS Master.

This method is useful when you example not have extra disk or you are installing VMS Master to virtual machine.

You can’t use this virtual disk to store recordings if you not have enough physical disk space.

Creating virtual disk

  1. Open Windows Disk Management

  2. Click Action → Create VHD

  3. Give location for this virtual disk and name.

    1. Example location C:\temp

    2. Disk name VMSMasterDummyDisk

  4. Change virtual disk size to 70GB.

  5. Change virtual disk format to VHDX

  6. Check that virtual disk type is Dynamically expanding.

    1. This option make only 2MB big virtual disk and not use full 70GB.

  1. Click OK to create virtual disk.

  2. Now you see new disk in Disk Management.

  3. Right click Disk number and select Initialize Disk.

  4. Select GPT type and click OK.

  5. Now right click this disk empty area and select New Simple Volume.

  6. Format this whole disk for next free letter, or you can change letter if you want.

    1. Use NTFS file type and rename this volume label same as created virtual disk name.

    2. Example VMSMasterDummyDisk

  7. When this is done you can see that disk is added This PC / Computer.

  8. When this is done you need configure Windows to Auto-Mount this virtual disk to system when Windows is rebooted.

Configuring Auto-Mount VHDX file

  1. Open Windows Task Scheduler

  2. Select Task Scheduler Library

  3. Click Create Task

  4. Name this task example Auto-Mount VMSMasterDummyDisk.

  5. Give description example location of this virtual disk C:\temp\VMSMasterDummyDisk.vhdx.

  6. Change type to Run whether user is logged on or not.

  7. Enable Run with highest privileges.

  8. You can change Configure for to that Windows which you are using example Windows 10.

  9. Change Tab to Triggers and click New.

  10. Change this trigger Begin the task At startup and click OK.

  11. Change tab to Actions and click New.

  12. Check that Action is Start a program.

  13. Type to Program/Script field PowerShell

  14. Add arguments command to mount this dummy disk.

    1. "Mount-DiskImage -ImagePath 'Full path of VHD or VHDX file'"

    2. "Mount-DiskImage -ImagePath 'E:\temp\VMSMasterDummyDisk.vhdx'"

  15. Click OK

  16. Change tab to Conditions and untick Start the task only if the computer is on AC power and click OK.

  17. After this you get new window where is asked this username password. Type this username password and click ok.

  18. Now there is created task which auto-mount this virtual disk on Windows when that is rebooted etc.

  19. Now you can test this task.

  20. Go to This PC / Computer and right click this disk and select Eject. This selection remove this disk from system.

  21. Now go to Task Scheduler and click under Selected Item Run.

  22. This run PowerShell command and Auto-Mount disk to Windows.

    1. If this is working correctly you should see this disk again under This PC / Computer.

      1. If not then recheck made task and arguments.

    2. Other way to test this is restart Windows and check that disk is showing correctly under This PC / Computer.

  23. Now you can add this dummy disk to VMS Master Server using System Manager - Storage page.

Disable / Enable Auto-Mount Task

There is option Disable or Enable this task under Selected Item if that is needed.

Deleting Task

If there is need to delete this task you can do that via Task Scheduler.

  1. Select this wanted task.

  2. Click under Selected Item Delete.

  3. Confirm deletion on new windows clicking Yes.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.