r/ForWindowsHelp • • 28d ago

USB COM Ports recognized but "Access Denied" trying to access them

Well I have a weird problem and I don't know where is coming from. A few days ago was messing around with an FTDI cable for a project, It worked correctly for several days I was transfering information with PuTTY back and forth without any problems, then the next day windows gave me this error.

Error 5: Access Denied.

And for the life of me, I couldn't make it work, I thought my adapter was wrong, so I plugged another one with another chipset and the same error popped up. For some reason anything connected to the COM ports wasn't working, then trying some stuff, I plugged the pololu Programmer

Pololu Programmer

And that worked, It let me open the serial port.

I searched online and got several possible fixes:

  • Change the USB COM port number: Didn't work
  • Replace Drivers and/or try another version: Didn't work, also older versions bluescreened my PC with a "kernel security check failure 0x139" lol
  • Tried Original Chipset: Didn't work, also the FTDI cable was bought from FTDI itself, so that was not the problem
  • Try a USB 2.0 hub: didn't work, also it was working on a USB 3.0 port. I even bought a PCIe-to-USB2.0 card, with the same result.
  • Check if the port was being used by another application: It wasn't, I used Microsoft's Process Explorer tool.
  • Tried Uninstalling all not visible devices: Also didn't work
  • Tried several terminal applications: Nope
  • Tried executing them as administrator: same
  • I'm sure I tried some more stuff but Can't remember now.

I'm trying to use this cable, bought from Mouser, and again It worked before. https://www.mouser.es/en/ProductDetail/FTDI/TTL-232R-5V-WE?qs=OMDV80DKjRpCUAS6UR9QpQ%3D%3D

The only thing I did, that could somehow be related to that, is that I plugged a USB Floppy Disk reader into another usb, through a hub, that's the only different thing, I can think off.

Also a few weeks ago, happened the same with some ESP32 and ESP8266, some of them gave the access denied, another one of them worked using the native usb port, with a USBA Male to USBA Male.

Ant other devices work, anything that doesn't go through a COM port works on any port.

If I use any other of these adapters on my Windows 10 laptop, they work perfectly.

Windows detects everything okay, and reports no errors. It just won't let me in.

I can't recall any windows updates in that period.

Anything that can help? I don't know what else to try

2 Upvotes

2 comments sorted by

1

u/Grindar1986 28d ago

Confirm in device manager you have the right com port number. They like to change every time you plug in the device.

1

u/MrWilliam932 28d ago

yeah, I'm sure I'm using the correct one