I frequently have to connect and disconnect hard disks to my PC by USB to transfer files. Sometimes Windows detects the attached USB device, installs it, but doesn't mount it.

I thought one solution could be to delete hidden devices stored in Device Manager, but that doesn't solve the problem.

How can I solve the problem and what is the cause?