Can you try this out?
Thanks. I followed your suggestion but the problem is still there. Can I find a previous version of Electrum?
Previous releases are here: https://download.electrum.org/
In windows search the start menu for deice manager. Which can be found by right clicking computer and hitting manage.
Edit: do tryninja's suggestion first.
Thanks for the idea. My machine has Windows 7 and as far as i know drivers are ok.
I changed the USB port as well.
Try this if a previous version doesn't work:
1. Unplug the ledger
2. Find the driver and click uninstall (but uncheck the box to delete it).
Restart your computer and plug back in the ledger - it can usually refresh the system to reinstall the appropriate driver.
Don't plug back in the ledget until the computer is fully loaded.