sony xperia – Prompt “Use USB to … (charge this device, …)” keeps coming up

Of course,for connecting phone to Pc you need phone’s drivers. I see that you made a Windows Virtual Machine and there are 2 ways to solve it:

1st Way: Installing Drivers Manually
For installing driver manually go to Device manager->Details->Hardware ID copy all ID and search on Google. After that you will see your phone’s driver name. Search that driver name and install it.

2nd Way(Easiest way):Use driver updater software for Windows.

If you are not professional at Windows OS,then there special programs for you such as Advanced Driver Updater,IOBit Driver Booster(in app you will see “update drivers” option.) and etc. If these ways not works then go to this site and find your device. Then at the right you will see driver. Click on that link and download that driver and install.

I hope this steps will help you.