Hi,
I am evaluating the latest version of ImDisk (Imdisk.sys version 2.0.9.64). I use windows system() api to execute Imdisk commands from my service which runs as SYSTEM user.
I create a new RAM disk during my service start and delete the disk while stopping the service. Service sends the following commands:
1) RAM disk create:
imdisk -a -s 100m -p "/fs:ntfs /q /y /v:mvram" -m X:
2) RAM disk delete:
imdisk -d -m X:
The service cannot delete the RAM disk. Also, when I search for open handles on X: in process explorer, I get following :
File X:\$Extend\$RmMetadata\$TxfLog\$TxfLogContainer00000000000000000001
File X:\$Extend\$RmMetadata\$TxfLog\$TxfLog.blf
File X:\$Extend\$RmMetadata\$TxfLog\$TxfLogContainer00000000000000000002
File X:\$Extend\$RmMetadata\$Txf
However, if I execute the command "imdisk -d -m X:" in cmd (Administrator user) it successfully removes the RAM disk.
Is this a known issue in ImDisk while running as a SYSTEM user?
Thanks,
Kunal