Try a different USB cable (data sync cable, not charge-only). Disable in Windows Power Options. Test on another PC to isolate hardware vs. software issues.
If the standard Samsung driver fails and you need ADB access, you can install Google’s USB Driver manually. SAMSUNG Galaxy M11 Drivers Download