Arduino mega 2560: avrdude: ser_open(): can't set com-state for "\\.\COM6" avrd

Good day,
Please i need serious help.
I have been having problem uploading sketches to my arduino mega 2560. I have been using this board and its usb as i bought for some times and it has been working very fine but about 3weeks ago i got an issure with my os win10, so formatted my system and re-install all neccessary things.

I installed the arduino ide version 1.8. which was the version i was using before, I connect the board to myy laptop and check the port, its on COM 4,

The arduino IDE was smart enough to show only the Port(COM4) and select

the board as "Arduino/Genuino Mega or Mega 2560",
the processor as "ATmega2560(mega 2560)",
the port "COM4",
and lastly the Programmer as "AVRISP mkII"

I opened one of the samples sketch that came with the IDE "Blink" and upload it to the board and then showed the following errors

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "C:\Users\Cod\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf"

Using Port : COM4
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: ser_open(): can't set com-state for "\.\COM4"
An error occurred while uploading the sketch
avrdude: ser_drain(): read error: The handle is invalid.

avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.

I started google searching, i found different suggestions, I have uninstalled the Arduino IDE and re-install it several times and at thesame time deleting and uninstalling the device drivers. But all to no avail.

I went to the Tools menu on the arduino IDE, click on "getBoard Info" it showed the following

BN: Unknown board
VID: 1A86
PID: 7523
SN: Upload any sketch to obtain it

I have been searching around, cracking my brains, doing all sort things for the past 2weeks now.
please can someone help me.

Little bit googling:

or

Looks like another application is blocking your COM port.