DISABLE THE USB PORT

⭐HOW TO DISABLE THE USB PORT 

  1. Start Windows Explorer, and then locate the %SystemRoot%\Inf folder.

  2. Right-click the Usbstor.pnf file, and then click Properties.

  3. Click the Security tab.

  4. In the Group or user names list, add the user or group that you want to set Deny permissions for.

  5. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control.

    Note Also add the System account to the Deny list.

  6. In the Group or user names list, select the SYSTEM account.

  7. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.

  8. Right-click the Usbstor.inf file, and then click Properties.

  9. Click the Security tab.

  10. In the Group or user names list, add the user or group that you want to set Deny permissions for.

  11. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control.

  12. In the Group or user names list, select the SYSTEM account.

  13. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK

Disable Usb Drives in Registry Editor:

Open Windows registry editor:

 ✨In the search bar or in the menu to execute
 (run with the Win + R keys)

 ✨Enter the regedit command and press the Enter key.


✨Go to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ USBSTOR. 

✨In the USBSTOR section, 
open the Start ⇨ parameter in the “Value” field, set 4 and click “OK”.

Disable Usb Drives in Group Policies

✨First, you need to open local group policy editor.

✨In the search bar or in the menu to execute (execute is called with the Win + R keys), enter:

        gpedit.mscand press the Enter key.


Then you need to open Removable Disks:

Computer Configuration” ⇨ “Administrative Templates” ⇨ “System” ⇨ “Removable Storage Access” ⇨ in the right pane, open “Removable Disks: Deny Execute Access”.
After that choose “Enabled” and click “OK”. 

Also put is included in “Removable disks: Deny Read Access” and in “Removable disks: Deny Write Access”.
/
They are also found in “Computer configuration” ⇨ “Administrative templates” ⇨ “System” ⇨ “Removable Storage Access”.


Right-click on the “Start” button on the taskbar and select “Device Manager”.




Expand USB Controllers:
 Right-click on all entries, one after another. 

✨click “Disable Device”.
 Click “Yes” when you see a confirmation dialog.






Comments

Popular Posts