
It is a simple C code to disable all your computer USB ports and you can also re-enable the USB port using another code.It is easy to understand who know basics of C programming.
Source Code for disable USB Ports:
#include<stdio.h>
void main()
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR ...