Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Limit USB Plugged into Computer (Only Accept

Learn how to limit USB plugged into computer (only accept with clear steps, practical tips, and troubleshooting advice for a smoother, more reliable.

Table of Contents

This practical guide walks through how to limit USB plugged into computer (only accept, explains the main requirements, and highlights common issues that may appear along the way.

Viruses often spread through many different ways, be it because you click on a link with malicious code, or because you visit a malicious website, or by a hacker attack, or it can also be caused by a virus. you plug a USB containing the virus into the computer.

Among them, USB is one of the most common sources of virus infection. Therefore, in this article, I will show you how to set up your computer to only accept certain USBs licensed by you, to ensure the safety of your computer.

Note: To apply, you must use Windows Pro version or higher, Home version will be limited to some settings!

Custom #1: Prevent all USB connections to the computer

If you don't use any USB-related peripherals, you can prevent all USBs from being connected to your computer for absolute safety.

Step 1: Press the Windows + R key combination to open the Run dialog box => then enter gpedit.msc => and press Enter to start the Local Group Policy Editor.

Custom #1: Prevent all USB connections to the computer — How to Limit USB Plugged into Computer (Only Accept

Step 2: Then, you access the following path:

Computer Configuration => Administrative Templates => System => Device Installation => Device Installation Restrictions.

Custom #1: Prevent all USB connections to the computer — How to Limit USB Plugged into Computer (Only Accept

Step 3: Then double-click on Prevent Installation of Removable Devices.

Custom #1: Prevent all USB connections to the computer — How to Limit USB Plugged into Computer (Only Accept

Step 4: You switch from Not Configured to Enabled state. Then click Apply => and OK to finish.

Custom #1: Prevent all USB connections to the computer — How to Limit USB Plugged into Computer (Only Accept

Custom #2: Only allow the computer to receive USB when using the Admin user

If you are a computer owner and you own an Admin account, there is a very OK way for you here. You can easily prevent non-Admin accounts (Guest) from having USB connection to the computer.

Step 1: You also access the Local Group Policy Editor as in Step 1 of part #1 above.

You find and double click on Allow Administrators to Override Device Installation Restriction as shown below.

Custom #2: Only allow the computer to receive USB when using the Admin user — How to Limit USB Plugged into Computer (Only Ac

Step 2: Switch from Not Configured to Enabled. Then click Apply => OK to finish.

Custom #2: Only allow the computer to receive USB when using the Admin user — How to Limit USB Plugged into Computer (Only Ac

Custom #3: Limit USB plugged into the computer (only accept authorized USB)

In case you only want the USB you licensed to be able to connect to your computer, set it up as follows:

First, plug the USB you want to license into the computer first, or in other words, put the USB on that 'white list' guys. Then you do the following:

Step 1: You go to Device Manager by pressing Windows + X key combination => then select Device Manager (if you are using Windows 10 or a later version)

Or you can open Device Manager by right-clicking on This PC => select Manage => then select Device Manager. This way you can apply to any version of Windows!.

For example, below I am licensing the computer mouse (you do this first).

Custom #3: Limit USB plugged into the computer (only accept authorized USB) — How to Limit USB Plugged into Computer (Only Ac

Step 2: Next you find your USB, double click on it.

Custom #3: Limit USB plugged into the computer (only accept authorized USB) — How to Limit USB Plugged into Computer (Only Ac

Step 3: Then go to the Details tab, in the Properties section, select Hardware Ids.

Custom #3: Limit USB plugged into the computer (only accept authorized USB) — How to Limit USB Plugged into Computer (Only Ac

Step 4: Right-click on any of the IDs => then click Copy.

Similarly, to authorize a USB to be able to connect to the computer, you do the following:

Custom #3: Limit USB plugged into the computer (only accept authorized USB) — How to Limit USB Plugged into Computer (Only Ac

Then copy any ID in the Value window.

Custom #3: Limit USB plugged into the computer (only accept authorized USB) — How to Limit USB Plugged into Computer (Only Ac

Step 5: Go back to Local Group Policy Editor as instructed above => then find and double-click the option:

Allow installation of devices that match any of these device IDs.

Custom #3: Limit USB plugged into the computer (only accept authorized USB) — How to Limit USB Plugged into Computer (Only Ac

Step 6: Now select Enabled => then click the Show. box below.

Custom #3: Limit USB plugged into the computer (only accept authorized USB) — How to Limit USB Plugged into Computer (Only Ac

Step 7: In the Value box, Paste the ID you copied in Step 4 here.

If you still have other devices you want to add, just find the ID and continue to paste it in the boxes below. => after you are done, click OK to finish the setup process.

Custom #3: Limit USB plugged into the computer (only accept authorized USB) — How to Limit USB Plugged into Computer (Only Ac

Step 8: Continue to click Apply => select OK to complete. For this setting to take effect, please restart your computer.

Custom #3: Limit USB plugged into the computer (only accept authorized USB) — How to Limit USB Plugged into Computer (Only Ac

OK, so I've finished showing you how to set the limit of USB plugged into your computer, with this setup, your computer will only accept the USBs that you have authorized.

Hope this article will be useful to you, good luck 

Key Takeaways

Use the information above as a practical reference for how to limit USB plugged into computer (only accept. Review each step carefully, confirm any requirements, and choose the option that best fits your situation.

FAQ

What does this guide explain about Limit USB Plugged into Computer (Only Accept?

It explains the main concepts, practical considerations, and useful steps related to limit USB plugged into computer (only accept without requiring advanced knowledge.

Who can benefit from learning about Limit USB Plugged into Computer (Only Accept?

This information is useful for readers who want a clear overview, practical guidance, and reliable steps related to limit USB plugged into computer (only accept.

What should I check before applying this information?

Review the requirements, confirm that your device, software, or situation matches the instructions, and back up important data before making major changes.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.