If your USB keeps disconnecting and reconnecting after you connect your USB device on its own randomly, then the problem might have something to do with a hardware or driver issue. The first thing you have to do in such a case is to make sure that the device is working on another computer. This will help you isolate the problem and if it turns out that it works, then the problem lies in your computer and not your USB device.
To fix this connection problem between your USB device and Windows 10 computer, you can use the options given below as a reference.
Since it could be a driver issue, you can try to update or reinstall the Universal Serial Bus Controller drivers using the Device Manager. Refer to the following steps:
Note: If it is a regular USB drive, then it will be listed as a USB Mass Storage Device but if you have a USB 3.0 device, then look for a USB 3.0 Extensible Host Controller.
Note: If updating the USB Controller drivers didn’t work, you can try to reinstall them instead.
You might want to change the USB port since modern computers have a variety of USB ports. So if your USB drive supports USB 3.0 or 3.1, make sure that you plug it inside a USB 3.0 or 3.1 ports. If you’re not sure which port, just keep in mind that the USB 3 port is usually blue or you can also use your computer’s documentation or manual as a reference to locate it.
You could also try to turn off the Power Saving option to resolve the problem. All you have to do is switch to Power Management after you select the Properties of the USB device and from there, uncheck the “Allow the computer to turn off the device to save power” option. On the other hand, if you are using a laptop and did not use the USB device for a long time, then it could be powered off. This will ensure that the system does not turn off the USB device.
If you were unable to install the Universal Serial Bus controller drivers you’ve downloaded, you can try installing them again but this time using Compatibility mode. Follow the steps below to do so:
Note: If you have other programs that won’t work on the existing version of Windows, then make sure to run the program in a Compatibility mode.

Restart graphic driver
So there are several problems that can cause this error like issues with accessing the Microsoft servers, corrupt system files, settings being misconfigured, malware infections, or conflicting applications. We will cover all solutions for each scenario taking approaches from most simple solutions to more complex ones. Follow the guide and let's fix this annoyance.
“Your PC ran into a problem and needs to restart. We’re just collecting some error info, and then we’ll restart for you. (0% complete) If you’d like to know more, you can search online later for this error: 0xc000021a”This error pops up when a user-mode subsystem like the WinLogon or the Client Server Run-Time Subsystem or CSRSS has been compromised fatally and security can no longer be guaranteed in the system. Thus, the operating system switches to kernel mode, and Windows won’t be able to run without the WinLogon or the Client Server Run-Time Subsystem. This is why it’s one of the few cases where the failure of a user-mode service can shut down the system. To resolve the issue, here are some fixes that might help.
‘451 Requested action aborted: local error in processing’This error message indicates that the program cannot send more messages and the server has hit the limit. This is because some mail servers have limits. The sever stops the task of sending and receiving emails when this limit is achieved.
Error Causes“There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help – (0x80240438).”To resolve Error Code 0x80240438, here are some potential fixes you need to check out:
“This setting allows you to remove access to Windows Update. If you enable this setting, all Windows Update features are removed. This includes blocking access to the Windows Update Web site at http://windowsupdate.microsoft.com, from the Windows Update hyperlink on the Start menu, and also on the Tools menu in Internet Explorer. Windows automatic updating is also disabled; you will neither be notified about nor will you receive critical updates from Windows Update. This setting also prevents Device Manager from automatically installing driver updates from the Windows Update Web site.”If you enable this policy setting, you can configure one of the following notification options: