Sysinternals' Portmon: Error 2

后端 未结 9 1471
心在旅途
心在旅途 2020-12-14 14:14

When I try to connect to local ports, Computer -> Connect local, using Portmon v. 3.02, I\'m getting an error message, Error 2, in a small error dialog box

相关标签:
9条回答
  • 2020-12-14 15:16

    In Windows Explorer, right click on portmon.exe --> select Properties --> click the Compatibility tab, and Run in Windows XP compatibility mode. It works fine like that in Windows 7 64-bit.

    0 讨论(0)
  • 2020-12-14 15:16

    Instead of portmon for Windows x64, you can use an emulator of a pair of virtual COM ports and a simple program that will connect the physical port and one of the virtual ones, as well as perform the logging function.

    To create a pair of virtual COM ports you can use:

    • com0com (preferably version "com0com-2.2.2.0-x64-fre-signed", because it contains signed x64 driver)
    • Virtual Serial Ports Emulator (VSPE), every time it starts on x64 it asks to purchase a driver, but it works even if you refuse.

    Simple mapping and logging program can be found e.g. here or you can write it yourself, it is simple.

    The sequence of actions is follows:

    • Сreate a pair of virtual COM ports using emulator (for example, COM28 and COM29)
    • Let the external device be connected to the computer COM1 port. In the program, whose exchange with external device we want to listen to, we set up a port COM28 (instead of СОМ1) for communication.
    • In the mapping program, we set up that we want to bind and log ports COM1 and COM29 (don't forget to set the port baud rate).
    0 讨论(0)
  • 2020-12-14 15:18

    I've used AccessPort http://sudt.com/en/ap/download.htm and it works great. Very similar to Portmon

    0 讨论(0)
提交回复
热议问题