Hi there! My name is David. It’s a pleasure to help you today.
Thank you for sharing what you’ve tried to solve the issue.
Do the 2 USB ports that don’t work in Windows, works in your laptop’s BIOS/UEFI?
I can suggest the following test:
Connect a peripheral (mouse/keyboard) to one of the USB ports that isn’t working. Then check if the device works in the BIOS/UEFI.
To enter the BIOS/UEFI on a Lenovo laptop, you generally need to press the Fn+F2 keys repeatedly when turning on the laptop.
If the USB ports also don’t work in BIOS/UEFI, it’s possible that there is a hardware failure in them. In that case, the most recommended option is to contact Lenovo support or your trusted technician.
Let me know if the shared information has been helpful. Regards.