On Sun, 2019-08-04 at 11:55 +0300, Gal Zaidman wrote:
Hi,
I don't think it is related to the wgt installer but to the vitio-win drivers
Unfortunately there is no easy way to make a virtio device non-ejectable at the system level.
However you can try couple of simple solutions, like removing "Safely Remove Hardware and Eject Media"
from the Task Bar or making a simple batch file that will be running on the system startup and zeroing
CM_DEVCAP_REMOVABLE bit (bit 4) in device's Capabilities registry parameter.
Best,
Vadim.