Joining them in a domain and applying Active Directory group policies.
Here is a similar question: How to block USB drives for the users in Windows 2003.
By just simply changing registery value for USBSTORE :(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR)
Change the start value to maximum that is 4 .
You can do it by Group policy if all machines are in domain or by manually running some script.