U disk has been deactivated how to continue to use?

  
                                    

With DevCon combined with batch processing, you can achieve the above complex operations with a single click. About DevCon, Microsoft says this:

The DevCon utility is a command-line utility that can replace the device manager. With DevCon, you can enable, disable, restart, update, delete, and query individual devices or a group of devices. DevCon also provides information that is relevant to the driver developer but not visible in Device Manager. You can use DevCon with Microsoft Windows 2000, Windows XP, and Windows Server 2003.

Note: The devcon.exe that comes back is a zip archive that must be unpacked (WinRAR available). After decompression, there are two folders. The devcon.exe in I386 is used by 32-bit machines, while the Ia64 is used by 64-bit machines.

Create a new text file, enter the following code, save the extension to bat, and put it in the same directory as devcon.exe

@echo off

Devcon disable @“usbROOT_HUB204&1A2797B1&2”

devcon enable @“USBROOT_HUB204&1A2797B1&2”

Note: The above code is to disable the USB device and then enable it. The long list of things you need to modify yourself is to right-click on the "USB Root Hub" and select "Attributes", then select "Details" and replace the above code with "Device Sample ID". In the middle. The last thing to note is that “@” and double quotes, this is the key to success!

Another: <;Device Sample ID" You can use the wildcard “*”, which stands for any character. For example, if you write a devcon disable @“USB*”, all USB devices (such as USB keyboard, mouse, etc.) will be disabled.

Don't look at the above content seems to be very complicated, in fact, it is a step of the matter, just click on the batch to restart the U disk, you can directly unplug the U disk. If you want to operate the USB flash drive conveniently in the future, try the above steps!

Copyright © Windows knowledge All Rights Reserved