Arduino Mega; Can't Upload

The information given by ptnapivoski is normally only needed with the windows com port bug above COM 30.

When removing those unwanted COM ports you will normally also be offered an option to remove drivers.
I would suggest you do not take that option unless you have known driver issues.

Otherwise it is good advice and can be very useful if you use lots of Arduino type items.