In this process you can change your registry value so that you can block your USB port in windows, the process is very simple.
Step1. From your desktop press Windows button + R that is Win+R
Step2. You will be prompt with Run Window and in that Type Regedit
Step3. Soon you will see the window in which you have to follow till the end, go to HIKEY_LOCAL_MACHINE -> SYSTEM -> CURRENT CONTROL SET -> SERVICE > USBSTOR
Step4. Within USBSTOR, you will see START at the right side of the window Registry Editor.
Step5. Double Click on START and change the Value Data with 4 to disable your USB port and if you want to enable your USB port then change the value back to 3.
Step6. After changing the value just click on OK and close the Registry Editor.
Done. Your USB ports are now disabled!
Interest in technology-related anything. BSc in ICT. Software Engineer.