IDE crashes my computer

  1. Disconnect the board.
  2. In device manager
    • View hidden devices.
    • Uninstall the device with the CH340 driver.
  3. Connect the board.
    • Windows will install the latest driver (3.9.2024.9).
  4. In device manager
    • Tab Driver.
      • The Roll Back Driver should be disabled.
    • Click Update Driver.
    • Select Browse my computer for drivers.
    • Select Let me pick from a list of available drivers on my computer.
  5. You should see two drivers, 3.7.2022.1 and 3.9.2024.9.
    • If the first one is missing, you will need to pre-install the older driver.
  6. Install the older driver.
  7. Close the Update Drivers window.
  8. In device manager in the Driver tab you should now see the older driver.
  9. Repeat steps 4..7 but now select the latest driver.
  10. Close the Update Drivers window.
  11. Now click Roll Back Driver.
    • Click My apps don't work with this driver
    • Click Yes
  12. The driver should now be 3.7.2022.1.

Note:
I did the exercise as described above this morning.

Pre-installing the older CH340 driver (if needed).

  1. Disconnect the board.
  2. Run CH341SER.exe and click Install
  3. On success you should see

See also Sudden Issue: BSODs on 4 Different Laptops Using Arduino Mega (CH341) in Classroom Today (First Time in 3 Months) - #13 by sterretje with some more screenshots.