The Universal Serial Bus or USB for short designed to deliver both power and data through its interface. For us, it can be used for data transfer such as flash drive or powering USB gadgets like fan or lamp. Some computer peripheral has also required data transfer and power simultaneously, for example, wired keyboard, mouse, speaker, and smartphone. Perhaps you already using a laptop or computer to charge a battery-powered device, like phone, camera, or smartwatch. However, those devices not only sucks the power but also establish a connection to allowing files to move between devices.
I occasionally use my laptop as an emergency power bank for my dying phone. But I also want to prevent data able to transfer between them that potentially interrupted by unwanted programs or viruses. Hence, I want to make laptop’s USB port to providing power only.
Previously I thought it will require third-party software and hard configuration. Instead, I found that Windows was basically giving you an opportunity to change the USB port policies without additional software.
So, how to do that? Check out how to make USB port act as power only. These methods can be used in Windows Vista, Windows 7, Windows 8, and Windows 10.
#1 Make USB Port Power Only on Windows
Go to Start Menu, search gpedit.msc and open that program.
On the left bar, locate Computer Configuration → System → Removable Storage Access.
Now, find Removable Disks: Deny read access and Removable Disks: Deny write access because we going to reconfigure those files.
Right-click on the Removable Disks: Deny read access and select Edit.
Now, select Enabled and click OK. Do the same thing on the Removable Disks: Deny write access.
This policy will deny read and write access to the removable disks, like flash drive, external storage, card reader, action camera, and phone. Hence, it only delivers power solely, no data able to be transferred between the devices.
When you connect a storage device, the Windows Explorer may show a notice “The directory name is invalid”, it is a sign that your computer not allowing access for data transfer. The setting will remains permanent until you decide to revert it back (set to Not Configured on the previous step).
The settings also applied to the entire USB ports on the computer, even if you use a USB hub. If you wanted to only deactivate data transfer capability on a specific USB port, check out the following guide.
#2 Set Specific USB to Only Supply Power
Run the Start Menu, type Device Manager and open that program.
Then, expand the Universal Serial Bus controllers by clicking the right-pointing quotation mark.
In order to set power only for specific USB port, right-click on it and select Disable device.
Once you disable it, the port will act as power supply only. If you have multiple USB ports featured on your PC, unfortunately, Windows doesn’t give you any clue to identify port name based on the location. Therefore, you may need to guessing which the port should be disabled. Meanwhile, to make the modified port works as it was, you can reset the setting by enabling it back.
Furthermore, the most smartphone comes with USB profile options either activating both media transfer and power or just charge only. If you prefer to conduct a setting to your phone instead of a computer, check out the tutorial below.
#3 Make Phone to Charge Only When Connected to USB Port
Connect your Android phone with computer device using the USB cable.
Swipe down the notification overview on the Android and select the USB options.
Since we gonna use it as power supply, tap the Charge this device selection.
In addition, on the computer display, you may see Windows ask you to take an action for plugged in device, please choose to not take any action or you can ignore it anyway. This setting will close the bridge between computer and Android phone thus no data able to move. Please note that some phone didn’t come out with USB options feature.
Alright, that’s the best methods I can provide to help you. If you found this guide was quite helpful, give your feedback on the comment!