php editor Banana will introduce to you how to open the permissions of the U disk in this article. In the process of using a USB flash drive, you sometimes encounter situations where you cannot read or write to the USB flash drive. This is often caused by incorrect permission settings. Solving this problem is relatively simple and just requires following certain steps. Next, we will explain in detail how to open the permissions of the USB flash drive so that you can smoothly read and write files in the USB flash drive. Let’s take a look!
I searched online to see if there are any solutions to similar problems. It turned out that many netizens also encountered this situation. They all thought that the USB flash drive was damaged, so they discarded the USB flash drive directly. Later, I saw a post from an expert on the Internet. He said that this situation did not necessarily mean that the USB flash drive was damaged, but that there was probably something wrong with the computer settings. You only need to adjust the computer settings to recognize the USB flash drive. I tried it and found that it actually works. Today I will share this method with you.
1. How to enable computer recognition of U disk permissions:
Open the start menu, enter "gpedit.msc" and click OK. The local Group Policy Editor window will open.
In the options box on the left, follow the path and expand to find [Computer Configuration-Administrative Templates-System-Removable Storage Access], double-click to open "Removable Storage Access".
Find "All Removable Storage Classes: Deny All Permissions" in the option box on the right, then right-click Edit and change "Enabled" in the window to "Not Configured". After saving and restarting the computer, your USB flash drive will be successfully recognized.
2. U disk recognition and repair method:
If your U disk still cannot be recognized normally according to the above method, you may need to initialize the U disk recognition and repair. The repair steps are relatively simple. Please click the Start menu in the lower left corner of your computer and type "cmd" in the search box. Next, on the command prompt icon that appears, right-click and select Run as administrator.
Enter the following command in the command prompt window: chkdsk D:/R (please replace the D drive with your USB drive letter), and then press Enter to start the repair. It only takes a few seconds. After the repair is completed, you will find that the USB flash drive can be recognized and the previously stored data has not been lost. Now you can use the USB flash drive normally.
The above is the detailed content of Open USB disk permissions. For more information, please follow other related articles on the PHP Chinese website!