IDE 1.8.9, windows 10 update upload issue.

So I've been working on a project for a while that uses ver 1.8.9 IDE and a Arduino Nano. It was working fine until the a windows 10 update a couple weeks ago. Now, I can't upload from either the win 10 computer or a win 7 computer the board and got the following error...


Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino Nano, ATmega328P"

Sketch uses 930 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x1e
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x66
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x86
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x86
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf8
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x66
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x9e
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x06
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x06
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x9e

(couldn't get the code tag to work)

I've tried several boards, several cables, two different machines and to test I am simply trying to upload the blink sketch. Always the same result. One of the computers was Win 10 and the other a Win 7. Both computers had updates applied between the time this worked and then didn't work. I am reasonably sure it is not the Nano, the USB cable, or the the sketch (which compiles fine)

I am pulling my hair out trying to figure this out but I am out of ideas. Can anyone give me some guidance?

Charlie

Select Tools > Processor > ATmega328P (Old Bootloader) and try uploading again.

Seemed to swap one error for another. After selecting the ATmega328P (Old Bootloader) i get this error.

Build options changed, rebuilding all
Sketch uses 3736 bytes (12%) of program storage space. Maximum is 30720 bytes.
Global variables use 331 bytes (16%) of dynamic memory, leaving 1717 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\\.\COM5": The system cannot find the file specified.


Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

I've been through the trouble shootiig guide a couple times and any of the issues listed there.

Wow! I didn't see it till now but the com port shifted back to com5 and I am on com19. I really thought I had checked that....

Worked now

thanks