djpnewton / vmulti

Virtual Multiple HID Driver (multitouch, mouse, digitizer, keyboard, joystick)
MIT License
401 stars 171 forks source link

How to delete vmulti device? #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Build and install vmulti.inf with devcon.exe. Then try to do "devcon remove 
hid\vmulti" and the device seems impossible to remove ("Remove failed"). There 
is also no "disable" or "uninstall" option in Device Manager. How do I force 
vmulti to be removed?

Thanks for any help

Original issue reported on code.google.com by pyro...@gmail.com on 26 Aug 2011 at 8:56

GoogleCodeExporter commented 9 years ago
Update: I removed it by booting into safe mode. Would still like to know if 
there's an easier way.

Original comment by pyro...@gmail.com on 26 Aug 2011 at 9:04

GoogleCodeExporter commented 9 years ago
> try to do "devcon remove hid\vmulti" and the device seems impossible to 
remove ("Remove failed"). 

This has always worked for me

>There is also no "disable" or "uninstall" option in Device Manager.

There is in my case, sorry I am not sure what went wrong in your situation

Original comment by djpnew...@gmail.com on 30 Aug 2011 at 6:12

GoogleCodeExporter commented 9 years ago
No worries. After some experimentation I think that it's due to one of the 
device nodes the default vmulti install creates. My best guess is that one of 
them somehow becomes in use and un-removeable so Windows refuses to uninstall 
hid\vmulti.

In any case rebooting and/or using safe mode seems to fix the problem.

Thanks for your response.

Original comment by pyro...@gmail.com on 6 Sep 2011 at 9:35

GoogleCodeExporter commented 9 years ago
Anyway, this issue can be closed (I don't see where I can close it)

Original comment by pyro...@gmail.com on 6 Sep 2011 at 9:36

GoogleCodeExporter commented 9 years ago
cheers, 

it could be the tablet pc service not letting go of a handle, next time try 
killing it (wisptis.exe) and then uninstall 

Original comment by djpnew...@gmail.com on 6 Sep 2011 at 9:18

GoogleCodeExporter commented 9 years ago
Actually I'm in the same situation.

I cannot remove the device in the hardware device manager and devcon remove 
fails as well. The only way to proceed is to reboot in safe mode and even then 
I can only rename the driver files (still no remove available, devcon still 
fails) and delete the devices on _another_ reboot.

That makes iterations slow, of course. Do you have any idea where I could look 
for the culprit here? I tried stopping the tablet input service/killing 
wisptis.exe (it's respawned right away) but there's no difference. I can remove 
all device nodes ("HID compliant game controller" for example) _except_ for 
"VMulti HID". Context menu only offers "Update driver software", "Scan for 
hardware changes" and "Properties" on that node.

I have this issue on two totally unrelated Windows 7 (32bit) VirtualBox images. 
What is different on your system?

Original comment by benjamin.podszun@gmail.com on 12 Dec 2011 at 10:10

GoogleCodeExporter commented 9 years ago
I have had good luck running the command: devcon.exe remove *vmulti*

This removes all of the subdevices and root devices associated with vmulti. 
Usually it will fail for one or more devices on the first run, but on the 
second run gets everything left.

Original comment by luin.u...@gmail.com on 23 Oct 2012 at 7:53

GoogleCodeExporter commented 9 years ago
When I stop and try "Comment 7 by luin.u...@gmail.com, Oct 23, 2012" it removed.
{{{
HID\VMULTI&COL05\1&2D595CA7&0&0004                          : Removed
HID\VMULTI&COL06\1&2D595CA7&0&0005                          : Removed
HID\VMULTI&COL07\1&2D595CA7&0&0006                          : Removed
HID\VMULTI&COL08\1&2D595CA7&0&0007                          : Removed
HID\VMULTI&COL09\1&2D595CA7&0&0008                          : Removed
ROOT\HIDCLASS\0000                                          : Removed
HID\VMULTI&COL01\1&2D595CA7&0&0000                          : Removed
HID\VMULTI&COL02\1&2D595CA7&0&0001                          : Removed
HID\VMULTI&COL03\1&2D595CA7&0&0002                          : Removed
HID\VMULTI&COL04\1&2D595CA7&0&0003                          : Removed
10 device(s) removed.
}}}

Original comment by buaa....@gmail.com on 18 Dec 2012 at 9:02

GoogleCodeExporter commented 9 years ago
Thanks for djpnewton, I can easily finish my job using vmulti.
I once met this problem before, it due to I append keyboard HID descriptor.HID 
key board device can not be disabled, it is "under custody" by windows. So you 
can't uninstall your driver, the "disable" or "uninstall" option was gray.If 
you want to remove the driver, you should first uninstall HID keyboard device, 
then the "disable" or "uninstall" option can be used again.
I hope it will be helpful.

Original comment by joybook...@gmail.com on 26 Nov 2013 at 1:37

ihor-drachuk commented 3 years ago

In short:

devcon.exe -r remove *vmulti* (run twice)
pnputil /delete-driver oem9.inf /force

oem9 replace by yours. To determine which one you should pass, see