USB deactivation


How can I deactivate the power usb port?
To power the BBB is ok, but I want to disable network function and the windows drive letter.

I tried to modifiy some scripts, before I flash the image on the eMMC.
But no result. Also delete in /etc/network/interfaces the USB interface … but is still active.

Thank you!