How to disable or enable USB Ports

How often you have witnessed blocked Pen drive or USB drive access in
your work place or college or school? I believe many times; in fact
every time you try to use the USB drive, you are not allowed, simply
because the administrator has disabled USB drive detection on your PC....