Share via

Message Terminal Program : Cannot open COM7. Access denied.

Anonymous
2021-02-15T09:52:07+00:00

To check the data at a COM port after some problems with the communication with a COM port I use a Terminal Program.

I have set the right COM port number as well as the Baudrate.

Then the terminal Program gives the message:

"Cannot open COM7. Access denied."

May be that some files in my Windows10 pc are corrupted after a power fail I had a couple of days ago.

Is it possible to repair something ?

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2021-02-25T08:12:03+00:00

    Hi David-M

    Sorry for the late reply. Sometimes things don't go as planned.

    Meanwhile I found a usefull option in the Device Manager: View -> Show Hidden Devices.

    Now I could clean up a lot of unused devices. That's helped me for now.

    But I will give your solution a try soon.

    Thank you for your assistance.

    1 person found this answer helpful.
    0 comments No comments
  2. David-M 110.5K Reputation points Independent Advisor
    2021-02-15T13:31:48+00:00

    Hi, I'm David, an Independent Advisor, here to help you.

    If you are suspicious of corrupted or missing system files, you can use the system file checker.

    Open Start and type cmd, right-click on "Command Prompt" and select "Run as administrator".

    Run the following commands at the Command Prompt one at a time:

    dism.exe /online /cleanup-image /scanhealth

    dism.exe /online /cleanup-image /restorehealth

    dism.exe /online /cleanup-image /startcomponentcleanup

    sfc /scannow

    Restart the PC.

    System File Checker: https://support.microsoft.com/en-us/topic/use-t...

    I'll leave a post that has some tips for this type of situation if the problem persists.

    https://stackoverflow.com/questions/1153547/acc...

    ________________________________________________________

    Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    ________________________________________________________

    I hope this helps. Feel free to ask back any questions.

    0 comments No comments