Questions tagged [virtual-disk]
42 questions
1
vote
0 answers
Virtual Disk Mounting Win7 Virtual disk sdk
I write a program in C++ using Windows 7 SDK, virtual disk functions.
When we mount an virtual disk, how can we get which letter Windows assigned to this new disk?

ctasdemir
- 383
- 4
- 13
1
vote
1 answer
Does windows container support to open/attach vhd file at runtime?
Want to open/attach virtual disk from vhd share inside a docker windows container based on mcr.microsoft.com/windows/server:ltsc2022, it throws "A virtual disk support provider for the specified file was not found". Does windows container support to…

Yihua Cao
- 11
- 1
1
vote
0 answers
How to initialize and format a Virtual Disk using Delphi (or C#)?
Based on and using the Jedi Demo VHD, I've created a virtual disk, and can mount and dismount it. When mounted, it appears in the Disk Manager as disk 1 "unknown".
Going on to initialize and format it in my code, I am trying with the following…

lscshj
- 63
- 6
1
vote
2 answers
QueryChangesVirtualDisk is returning ERROR_INVALID_HANDLE(6) even though OpenVirtualDisk is succesfull
I am trying out VirtualDisk APIs,
So far I am able to Open a VHDX file, get some of the properties by using GetVirtualDiskInformation.
But I am not able to get RCT information and ChangedAreas.
The first call to GetVirtualDiskInformation is…

Shree Hari
- 23
- 5
1
vote
1 answer
C++ WINAPI Create Multiple Partitions on Mounted VHD
I managed to create a VHD and attached it. Afterwards, I created a disk(IOCTL CREATE_DISK) and set its layout using IOCTL_DISK_SET_DRIVE_LAYOUT_EX. Now, when I examine disk through Disk Management. I have a 14MB with a 7 MB partition,…

Sıddık Açıl
- 957
- 8
- 18
1
vote
1 answer
Using OpenVirtualDisk() returns error code 2 "File not Found" Windows 10
Good evening all. I am hoping that the community maybe able to help in my little C# programming issue. I will say here that I am very new to programming in C# and that it is a very steep learning curve from Borland Pascal!
I am currently trying to…

R.McInnes-Piper
- 25
- 6
1
vote
0 answers
Is there a way to connect a JVM to a virtual disk or disk image file (.iso)
I wanted to know if I could connect JVM to a virtual disk or disk image file (like .iso) by modifying the JVM source code.
Now let 'APP.jar' be an unknown java program that I downloaded from the internet. So this 'APP.jar' resides in my PC's file…

JPK
- 95
- 1
- 8
1
vote
1 answer
vmdk (Normal, Inaccessible): having to repair invalid header too often
My situation
I am using Virtual Box to create a virtual machine with Arch Linux installed. I use the virtual machine for my own projects: I have all my projects data in this virtual machine so I easily can change from OS or physical computer and…

Jesús Martín Berlanga
- 233
- 2
- 18
1
vote
1 answer
Vmware web development kit
I am using Virtual Disk Management Kit v5.0 link.
The command i am using is
C:\Program Files\VMware\VMware Virtual Disk Development Kit\bin>vmware-mount I:
C:\Users\Rushil\Documents\Virtual Machines\Ubuntu\Ubuntu-s001.vmdk
Unfortunately the above…

user3294786
- 177
- 2
- 10
1
vote
1 answer
how to differentiate between GPT dynamic and GPT basic disk in a virtual machine programatically
Recently I had to find out a way to differentiate what partition type the virtual machine used,Reading the raw data from the virtual disk I was able to find it by checking with offset 1C2 (EE in case of GPT), in case of MBR disk if the disk is…

Thiyagarajan
- 1,271
- 1
- 14
- 19
0
votes
2 answers
How to resolve link error "undefined reference to `VIRTUAL_STORAGE_TYPE_VENDOR_MICROSOFT`"?
Consider the following program example.c:
#include
#include
int main() {
VIRTUAL_STORAGE_TYPE storageType = {VIRTUAL_STORAGE_TYPE_DEVICE_ISO, VIRTUAL_STORAGE_TYPE_VENDOR_MICROSOFT};
HANDLE virtualDiskHandle;
…

Simon Kissane
- 4,373
- 3
- 34
- 59
0
votes
0 answers
I need Virtual machine to download and upload 40 TB
I need to test the scalability of a web app.The data set is on google drive so I have to download it (which is up to 40 TB) and then I have to upload it to this web app. What is the best way and best tool to do this.
Thank you so much
I have tried…

rasha
- 1
0
votes
0 answers
How to use PyFileSystem to redirect output of other program
I am using python in Windows.
You know there is no tmpfs filesystem like Linux in Windows. So, I want to use pyfilesystem instead. The original codes are like below:
>>> import SomeLibs1
>>> import SomeLibs2
>>> SomeLibs1.Convert('input.txt',…

Alan Guo
- 13
- 4
0
votes
2 answers
Creating a Virtual Disk Mount Point
I have used the ImDisk library with the .NET wrapper to create a Virtual Disk in my C# application. However, after I create the device, I apparently need to create a Mount Point as well for the device to actually show as a Drive Letter. I don't…
user470760
0
votes
1 answer
VirtDisk.h QueryChangesVirtualDisk() function return RangeCount as 0
https://learn.microsoft.com/ko-kr/windows/win32/api/virtdisk/nf-virtdisk-querychangesvirtualdisk?redirectedfrom=MSDN
DWORD QueryChangesVirtualDisk(
HANDLE VirtualDiskHandle,
PCWSTR …

TK_WooDong
- 3
- 1