Red Hat Bugzilla – Bug 857119
USB clerk service won't share any device on Windows Server 2008 R2 and Windows XP
Last modified: 2013-04-10 11:48:20 EDT
Description of problem:
USB clerk service won't share any device on Windows Server 2008 R2
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install usbclerk on Windows 2008 R2
2. connect to a console with (native) USB Auto Share enabled
* USB selection menu is disabled
* this error is popped up upon device plug in:
Could not open usb device: Operation not supported or unimplemented on this platform [-12]
* USB can be redirected
* usbclerk service should refuse to launch (similarly to vdservice when virtio-serial port is missing)
client is 2008 R2 32/64 bit?
please repro & attach %windir%\temp\usbclerk.log
2008 R2 32/64 is not in the rhevm 3.1 supported clients. Moving to the rhevm-future
*** Bug 870009 has been marked as a duplicate of this bug. ***
Created attachment 633274 [details]
Copying back log from the duplicate bug as requested by Arnon
(In reply to comment #4)
> Created attachment 633274 [details]
> Copying back log from the duplicate bug as requested by Arnon
"driver install failed -- Unable to run process with required administrative privileges (-15)"
Is it running as SYSTEM? Can you try to manually change the usbclerk service privilages?
Running as SYSTEM, permissions in "Advanced Security Settings for usbclerk" are listed as Full Control. Not sure how I can elevate them even further.
I've reproduced on Windows XP client so I am raising the severity.
USBClerk service is running under SYSTEM, not sure what to do with privileges in Windows XP.
(In reply to comment #8)
> I've reproduced on Windows XP client so I am raising the severity.
> USBClerk service is running under SYSTEM, not sure what to do with
> privileges in Windows XP.
Is it the same error (-15) ? is it a new bug? how to repro? happens with all devices or only specific ones? please repro on XP client and attach usbclerk.log.
Created attachment 634962 [details]
Logs from XP
> Is it the same error (-15) ? is it a new bug? how to repro? happens with all
> devices or only specific ones? please repro on XP client and attach
Adding requested log. Exactly the same error.
Happens with at the very least USB mass storage devices.
The reason for this error is missing MS VC++ 2008 SP1 redist.
Two optional solutions:
1. Release note requiring to install it on client Windows for usbclerk to work.
2. Re-brew libwdi-win and its deps (installer, embedder) after patching it to use specific static libs instead of "standard windows libs", and then re-brew usbclerk-win.
Created attachment 636542 [details]
use specific static libs
patch for option 2, which sounds better.
I think options 1 of comment 12 is a good solution too, maybe better than 2.
Generally, and specifically for runtime libraries, using dynamic libraries is a good thing.
It's true that for some users, that do not have those libraries already installed on the client machine, may get a bit frustrated with usbredir not working immediately. They would have to spend some time to figure out why, download and install from the links above. As Arnon proposed we can add a release note about that.
Installing the above mentioned libraries also fixes this issue on server 2008
Finally choose option 2 of comment 12. Removed doc text.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.