VMware {code} Community
claus_gerlach
Contributor
Contributor

VDDK mount / write access

Hello,  I'm trying to build an windos application to mount vmdk-files by using your VDDK 6.7 like your "vmware-mount"-tool. Basically I'm using your "vixDiskLibSample"-code. Read access to NTFS-Volumes of vmdk-files works fine. But write access to these volumes leads to corrupt file system (Windows Eventprotocol: EventID 137 Source:NTFS), if I start application as default windows user. Starting application as admin works fine. The application runs on a Windows 8.1 Client.   Can you explain this behaviour? Is it necessary to run application always with admin rights?  Thanks in advance  Claus Gerlach
0 Kudos
1 Reply
claus_gerlach
Contributor
Contributor

I want to give you some additional information. 
I got following warnings and errors on exiting vixDiskLibSample program:

Warning: ERROR: Vmount library: Error 5 while Unplug full rights
Warning: ERROR: Vmount library: Error 5 while Unplug read-only rights
Warning: ERROR: Vmount library: Error 5 while failed to open volume for read access
Warning: ERROR: Vmount library: Error 5 while unplugging volume device
Log: VixMntapi: Operation failed with system error: Zugriff verweigert
Log:  (5), translated to 13
Warning: ERROR: Vmount library: Error 5 while Unplug full rights
Log: VixDiskLibReaderWriter::Close: Closing disk.Warning: ERROR: Vmount library: Error 5 while Unplug read-only rights
Warning: ERROR: Vmount library: Error 5 while failed to open volume for read access
Warning: ERROR: Vmount library: Error 1 while No rights lock failed
Warning: ERROR: Vmount library: Error 1 while No rights dismount failed
Warning: ERROR: Vmount library: Error 1 while unplugging volume device
Warning: ERROR: Vmount library: Error 1 while unplugging volume device

0 Kudos