Not sure if there's a software way of doing it
A hardware hack would be to get a usb cable and strip out pins 2&3 leaving 1&4 connected (1&4 for power and 2&3 for data) the device would draw power but not register with the computer as a device.
Haven't look but it might be possible to buy them already made.
What about making them read only?
We block Iphones using a PnP Block rule and our customers are still able to charge their phone.
We set all USB devices to read-only and exclude Ironkey by VID and a couple Apricorn by VID/PID. iPhone and Android still charge without issue.
Do your iPhone's and Smartphones present themselves as Removable Storage Devices? We pick most of the HTC/iPhone's up as PnP (imaging devices or network adapters) so we have to use a block rule for these.
I use a device rule to block all but authorized (excluded) USB devices, not a protection rule.
you are right.
I didn't realize that these devices were picked up as imaging devices and not being blocked by my storage rules.
I have since made a PNP rule to block these and it does not seem to charge.
I'm currently evaluating McAfee HDLP device control. I still can't manage to block access to iphone. Kindly, can you give a suggestion or advice on how manage to block iphone.
Thank you and best regards