Apr 10, 2023 • Filed to: USB Recovery • Proven solutions
Sometimes it becomes indispensable to learn how to disable USB port to keep it protected from harmful material and people, as you may need to share your laptop or PC with someone and that can be dangerous. The data files in the system can be corrupted if any harmful device is injected into it. To avoid such vulnerabilities, we have discussed various methods to enable/disable the USB ports on your system. We have also discussed recovering the lost data from external devices like USB drives, SD cards, etc. using Wondershare Recoverit. The lost data can be recovered easily by following simple steps.
USB or any other portable device can lead to data theft or the introduction of harmful viruses when it is used in an unsupervised way in the network. Organizations, sometimes overlook the threats that may be posed by the USB drives, where a single USB device can collapse the entire network.
USB devices, unlike other online services like email, etc., are a blind spot for businesses. Disgruntled employees can exploit this spot by injecting any harmful device onto the system that carries viruses and can also steal important and confidential information.
Unidentified USB devices can create havoc in the network. As the database of an organization contains confidential information about employees and other features of the organization. To save all this information and confidential data, organizations should take precautionary measures to disable such unauthentic USB drives.
These aforementioned issues can be resolved by controlling the USB devices in the organization. Organizations can protect their data by disabling such unauthentic devices. Use USB enabler/disabler
You can also seek help from third-party software tools/applications to enable/disable the USB ports or drives on your system, like the Wondershare Recoverit Data Recovery tool.
Data files saved on the USB flash drive can be lost due to several reasons listed below:
A salient feature in Windows is to enable/disable the USB ports. This feature can be used in Windows 10 too to enable/disable the USB ports.
Sometimes we may need to share our system with any other person which can be vulnerable to viruses. He/she might inject any infected or malicious drive that can infect and damage our system and can harm the data files contained in the system or more severely can steal our data too. To secure our system against such situations and attacks, disable the USB ports proves to be a very good solution to secure our system from viruses and any other vulnerabilities. In some cases, you may also need to enable USB port and solve USB Selective Suspend issue.
We can enable back these USB ports using different methods like registry editor, device manager, and any other third-party applications.
In the following sections, we will see how to enable/disable USB ports in Windows 10.
USB ports can be enabled/disabled using the registry editor by following the steps mentioned below:
In the first step, you have to go to the Start menu and then open Run dialog box or Press "Window + R" combination to directly open the RUN window.
Then type "regedit.exe" and then click on enter to open the Registry Editor as shown in the figure below.
Registry Editor Window will be launched, now Navigate to the following path:
HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > USBSTOR
Now you have to click on the start option to open the "Edit DWORD (32-bit) Value" Window.
After pressing Start, you have to change the "value data" field to ‘4’ to disable the USB Drives or Ports and then click on OK, as depicted in the figure below. Once done USB drives and ports on your system will be disabled.
To enable back the USB Ports or Drives, change this data value to 3 and then click on OK, as depicted in the figure below. Once done USB drives and ports on your system will be enabled back.
You can restart your system to check the applied effects.
You can also enable/disable your USB ports using the Device Manager.
Right-click on the USB 3.0 (or any other mentioned device in your PC), and then click on Disable device to make the USB ports and drives disabled on your system., as depicted in the figure shown below.
Right-click on the USB 3.0 (or any other mentioned device in your PC), and then click on Enable device to make the USB ports and drives enabled on your system., as depicted in the figure shown below.
A system can be protected from malicious users on a high scale like in school, office, etc., by uninstalling USB Mass Storage Drivers. You can just uninstall these drivers and when anyone would try to plug in the USB drive then Windows will prompt him/her to install the USB drivers. Later on, you can install the drivers back to make the things work (USB devices detected) again.
Some vendors provide an option in BIOS/UEFI to enable or disable the USB ports on the system. In other cases, you may also have accidentally disabled usb ports. Boot into the BIOS.UEFL to check if such an option or feature is available on your system. You can check the user manual of your PC to see if the feature to enable or disable the USB ports is available in the BIOS.
Use one or more of the following methods to block users from connecting to USB storage devices, as appropriate for your case.
If there is no USB storage device already installed on your computer
If a USB storage device isn't already installed on the computer, assign Deny permissions to the following files to the user or group and the local SYSTEM account :
Users can not install a USB storage device to the computer when you do this. To assign Deny permissions for the files Usbstor.pnf and Usbstor.inf to an individual or group, follow these steps:
Note In the Deny list, also add the System account.
It is impossible to disconnect all the USB ports from the motherboard; all you can do is to disconnect those exist on the top and front of the computer by plugging out the cable from the USB header. Disconnecting these ports prevents people from miscuing them. You can disallow USB by changing group policies, third-party applications/tools are also available for disabling USB ports on Windows 10, i.e., SysTools USB blocker and USB block, etc.
These are all six solutions we prepared for you. In addition, you can learn how to fix USB ports not working in a more specific way.
Wondershare Recoverit is a tool to retrieve the lost data from the device by following easy steps. It offers effective solutions to recover files from a crashed computer, USB device or Windows, etc. Here we will discuss the steps to recover data easily from the USB drives using Wondershare Recoverit.
In the first step, you have to connect the USB drive to the PC, from which you want data to be recovered. Make sure this device should be detected/recognized.
1. Select the external device
First, you have to select the device from where you want to recover the files and then click on the "Start" button to proceed.
2. Scan the device
The all-around scan will be launched on the external storage media for a few minutes.
Wondershare Recoverit supports to preview different types of files like photos, images, video, and music, etc. You can preview the files to confirm them once the scanning is done.
It is recommended to save the recovered data to the location other than the location from where you have recovered it.
1. How to enable USB port if disabled by the administrator?
These USB ports can be unlocked by:
2. How do I unlock a USB drive?
Following are the solutions to unlock the USB drive:
3. Why did my USB ports stop working?
4. Can Wondershare Recoverit fix USB data loss?
Sue Wayne
staff Editor