Is there any way to configure an USB port on Windows to only act as a charger? I want to charge my MP3 player while I'm listening to music, but playback is not available when the device is connected as a removable disk. I would like to disable the "USB" part of the connection and only use it as a power source. Is this possible?
KB823732 explains how you can disable USB device support by changing the Start value of
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor to 4
That should disable the storage part of the USB connection.
Note: After doing this, you will not be able to use you USB-ports as normal. After charging has completed you should change the value back.
You could also try disabling the specific port you use to connect your device, by going to Device Manager, but I'm not sure this will work for you. (If it works, great, then it's easier than the registry editing)
Another way would be to disconnect the data-pins from an existing cable. Instructions here
Because this limitation is probably on the player hardware site I doubt a software solution would work.
You could create/buy a custom cable which only connects the power wires in the USB connector.
Or create VGA-USB power only connector, this will leave your USB ports available.