This error indicates "Access is denied".
You may see this error when when attempting to use an already open COM port, it's been used by other program.
You could try close other software that may be using the port in the Task manager, and try again.
Please kindly refer to this detailed instruction: How to use Windows 10 Task Manager to kill processes that drain resources

Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information

Best regards.

If the Answer is helpful, please click " Accept Answer " and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.