Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

Checking for Hidden or Ghosted COM Ports

Jim  KJ3P
Jim KJ3P Member ✭✭✭
edited December 2019 in New Ideas
I'm not sure whether Hidden or Ghosted COM ports still crop up occasionally, but I still take a look before I make any COM port changes and/or do a clean install of SmartSDR.  Here's a batch file to facilitate the process.  I named mine "ghost.bat" and it lives on my desktop.

@echo off
REM Sets Device Manager to show all COM devices
REM July 2017, KJ3P
@echo on
cd c:
set devmgr_show_nonpresent_devices=1
set devmgr_show_details=1
@echo ***
@echo ***
@echo *** !! When Device Manager starts,
@echo ***    be sure to click "View" and select
@echo ***    "Show Hidden Devices".
@echo ***    Then, expand "Ports (COM & LPT)"
@echo ***  !!
@echo ***
start devmgmt.msc

  --- jim,  KJ3P

0 votes

Completed · Last Updated


  • Steve W6SDM
    Steve W6SDM Member ✭✭✭
    edited July 2017
    Very nice, Jim.  Even nicer, I didn't find any hidden devices.


  • Clay N9IO
    Clay N9IO Member ✭✭✭
    edited August 2019

    Ditto Jim, I always do the same.

    Hadn't thought of that, batch files can be a powerful time saver.

    I will borrow this from you and create myself a .bat file in notepad.


  • David NT8Y
    David NT8Y Member
    edited December 2019
    I had a similar bat file, however I like yours better, so I replaced mine with yours. Thanks.


  • WA2SQQ
    WA2SQQ Member ✭✭
    edited July 2017
    I decided to uninstall all previous versions before installing v2.0 I choose to uninstall the CAT configurations, which I later realized would have been compatible with 2.0  That decision required me to reinstall all my programs that communicate with my 6500. When SmartCAT would not allow me to create new ports I reached out to Dave, WO2X. The ghost ports were causing the errors. Using Team Viewer, Dave completely reconfigured 2.0, WSJT and LOG4OM in about 15 minutes. I wonder if its possible to create some sort of automated process to remove these if / when you wish to remove all earlier versions?

    Dave is definitely a Flex Wizard! He ought to think about opening up a remote Flex configuration service! My advice for anyone who has not yet updated is to save the CAT configuration setup which should restore normal operation as soon as the upgrade is done.
  • Stan VA7NF
    Stan VA7NF Member ✭✭✭
    edited July 2017
    Yes ghosted ports exist.  Whether previous to, or during, removal of 1.16 and the installation of V2.0 all COM ports from 3 to 155 became ghosted; I'm inclined to believe during rather than previous.  This prevented using CAT from assigning low ports or having N1MM use the high (160+) ports.
    Removing them thenusing SmartCAT in "Normal" mode started things working again.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.