Hello, anyone who reads this post and has this problem. i recommend doing this as it helped me and now my device is working perfectly fine.
-Make sure your device is plugged into a USB port (even if it is not being recognized).
-Open command prompt (Start Menu>Accessories>Command Prompt), right click and run as administrator.
-Type this: sfc /scannow
-Let it run (this may take a few minutes).
-Afterwards, take it out, and plug it into a different USB port (if you do not have one, unplugging and replugging it in should have the same effect i would assume…)
After i did this i could plug it in and it would open with autoplay, no problems at all.
If this doesn’t work for you i am sorry, at least i gave 1 solution that might help