Avrdude: ser_open(): can't set com-state for "\\.\COM7"

Have you seen/read this recent discussion:

It seems that reinstalling the driver for your particular Serial-USB chip might help resolve the issue.