How to view serial COM ports but not through Device Manager











up vote
27
down vote

favorite
8












How would I go about viewing a list of COM ports in use without the use of Device Manager?



I don't want to install any software either. Is there a possible way to do this through the command line?










share|improve this question
























  • Please better define "In Use". installed as a device? Has a device attached to it? Is actively transferring data?
    – Ƭᴇcʜιᴇ007
    Nov 4 '14 at 16:33










  • @Ƭᴇcʜιᴇ007 sorry, in use would be having a device attached to it. I have a ttl uart cable plugged into a USB.
    – Marmstrong
    Nov 4 '14 at 16:36










  • I suppose you can do this through a powershell script. Why can't you use device manager? Your unwillingness to use something like Putty is odd.
    – Ramhound
    Nov 4 '14 at 16:48








  • 1




    @Ramhound Using a University PC which has the device manager locked down to stop people like me fiddling. I can see that the device is COM3 on my laptop. I want to use Putty but I don't know which COM port to use.
    – Marmstrong
    Nov 4 '14 at 16:50








  • 2




    @Marmstrong In the command prompt use mode. Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well)
    – JosefZ
    Nov 5 '14 at 0:51















up vote
27
down vote

favorite
8












How would I go about viewing a list of COM ports in use without the use of Device Manager?



I don't want to install any software either. Is there a possible way to do this through the command line?










share|improve this question
























  • Please better define "In Use". installed as a device? Has a device attached to it? Is actively transferring data?
    – Ƭᴇcʜιᴇ007
    Nov 4 '14 at 16:33










  • @Ƭᴇcʜιᴇ007 sorry, in use would be having a device attached to it. I have a ttl uart cable plugged into a USB.
    – Marmstrong
    Nov 4 '14 at 16:36










  • I suppose you can do this through a powershell script. Why can't you use device manager? Your unwillingness to use something like Putty is odd.
    – Ramhound
    Nov 4 '14 at 16:48








  • 1




    @Ramhound Using a University PC which has the device manager locked down to stop people like me fiddling. I can see that the device is COM3 on my laptop. I want to use Putty but I don't know which COM port to use.
    – Marmstrong
    Nov 4 '14 at 16:50








  • 2




    @Marmstrong In the command prompt use mode. Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well)
    – JosefZ
    Nov 5 '14 at 0:51













up vote
27
down vote

favorite
8









up vote
27
down vote

favorite
8






8





How would I go about viewing a list of COM ports in use without the use of Device Manager?



I don't want to install any software either. Is there a possible way to do this through the command line?










share|improve this question















How would I go about viewing a list of COM ports in use without the use of Device Manager?



I don't want to install any software either. Is there a possible way to do this through the command line?







command-line serial-port com-port






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 20 '16 at 23:35









Peter Mortensen

8,301166184




8,301166184










asked Nov 4 '14 at 16:24









Marmstrong

238158




238158












  • Please better define "In Use". installed as a device? Has a device attached to it? Is actively transferring data?
    – Ƭᴇcʜιᴇ007
    Nov 4 '14 at 16:33










  • @Ƭᴇcʜιᴇ007 sorry, in use would be having a device attached to it. I have a ttl uart cable plugged into a USB.
    – Marmstrong
    Nov 4 '14 at 16:36










  • I suppose you can do this through a powershell script. Why can't you use device manager? Your unwillingness to use something like Putty is odd.
    – Ramhound
    Nov 4 '14 at 16:48








  • 1




    @Ramhound Using a University PC which has the device manager locked down to stop people like me fiddling. I can see that the device is COM3 on my laptop. I want to use Putty but I don't know which COM port to use.
    – Marmstrong
    Nov 4 '14 at 16:50








  • 2




    @Marmstrong In the command prompt use mode. Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well)
    – JosefZ
    Nov 5 '14 at 0:51


















  • Please better define "In Use". installed as a device? Has a device attached to it? Is actively transferring data?
    – Ƭᴇcʜιᴇ007
    Nov 4 '14 at 16:33










  • @Ƭᴇcʜιᴇ007 sorry, in use would be having a device attached to it. I have a ttl uart cable plugged into a USB.
    – Marmstrong
    Nov 4 '14 at 16:36










  • I suppose you can do this through a powershell script. Why can't you use device manager? Your unwillingness to use something like Putty is odd.
    – Ramhound
    Nov 4 '14 at 16:48








  • 1




    @Ramhound Using a University PC which has the device manager locked down to stop people like me fiddling. I can see that the device is COM3 on my laptop. I want to use Putty but I don't know which COM port to use.
    – Marmstrong
    Nov 4 '14 at 16:50








  • 2




    @Marmstrong In the command prompt use mode. Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well)
    – JosefZ
    Nov 5 '14 at 0:51
















Please better define "In Use". installed as a device? Has a device attached to it? Is actively transferring data?
– Ƭᴇcʜιᴇ007
Nov 4 '14 at 16:33




Please better define "In Use". installed as a device? Has a device attached to it? Is actively transferring data?
– Ƭᴇcʜιᴇ007
Nov 4 '14 at 16:33












@Ƭᴇcʜιᴇ007 sorry, in use would be having a device attached to it. I have a ttl uart cable plugged into a USB.
– Marmstrong
Nov 4 '14 at 16:36




@Ƭᴇcʜιᴇ007 sorry, in use would be having a device attached to it. I have a ttl uart cable plugged into a USB.
– Marmstrong
Nov 4 '14 at 16:36












I suppose you can do this through a powershell script. Why can't you use device manager? Your unwillingness to use something like Putty is odd.
– Ramhound
Nov 4 '14 at 16:48






I suppose you can do this through a powershell script. Why can't you use device manager? Your unwillingness to use something like Putty is odd.
– Ramhound
Nov 4 '14 at 16:48






1




1




@Ramhound Using a University PC which has the device manager locked down to stop people like me fiddling. I can see that the device is COM3 on my laptop. I want to use Putty but I don't know which COM port to use.
– Marmstrong
Nov 4 '14 at 16:50






@Ramhound Using a University PC which has the device manager locked down to stop people like me fiddling. I can see that the device is COM3 on my laptop. I want to use Putty but I don't know which COM port to use.
– Marmstrong
Nov 4 '14 at 16:50






2




2




@Marmstrong In the command prompt use mode. Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well)
– JosefZ
Nov 5 '14 at 0:51




@Marmstrong In the command prompt use mode. Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well)
– JosefZ
Nov 5 '14 at 0:51










5 Answers
5






active

oldest

votes

















up vote
44
down vote



accepted










In the command prompt use



mode



Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well).



Accepts /? switch for basic help:



mode /?






share|improve this answer




























    up vote
    6
    down vote













    In the command prompt use:



    C:>wmic path Win32_SerialPort


    OR



    In PowerShell:



    PS> Get-WMIObject Win32_SerialPort


    OR



    PS> Get-WMIObject Win32_SerialPort | Select-Object Name,DeviceID,Description


    Hope this helps.






    share|improve this answer























    • The command prompt returned No Instance(s) Available.
      – Marmstrong
      Nov 4 '14 at 16:46










    • If there are no Com port devices detect then the command results "No Instance(s) Available". Check your "Device Manager" and ensure your machine detected the Com ports in "Device Manager"
      – vembutech
      Nov 4 '14 at 16:53












    • OP said "Using a University PC which has the device manager locked down"
      – DavidPostill
      Nov 4 '14 at 16:54












    • @vembutech - Looks like you will need to get IT involved in that case.
      – Ramhound
      Nov 4 '14 at 16:56










    • @vembutech I have checked the device on my own laptop and it appears as COM3 in device manager but the command prompt still shows the same result.
      – Marmstrong
      Nov 4 '14 at 16:56


















    up vote
    5
    down vote













    I know the question has been answered, but this is another method.



    In command prompt, use:
    chgport

    in windows Vista and up. Lists your ports and which device they are.






    share|improve this answer





















    • Windows 7 "'chgport' is not recognized as an internal or external command, operable program or batch file."
      – DavidPostill
      Nov 25 '16 at 13:58






    • 3




      works for me on Win 7
      – woky
      Feb 24 '17 at 8:07










    • chgport /QUERY works for me in Win7 pro. It lists the Devicename for the currently select com port, not a full list. More interesting, chgport /? shows: (formatting fails) CHANGE PORT [portx=porty | /D portx | /QUERY] portx=porty Map port x to port y. /D portx Delete mapping for port x. /QUERY Display current mapping ports. And chgport COM4=COM5 allows type COM4: to work!
      – James Newton
      Aug 31 '17 at 19:11




















    up vote
    1
    down vote













    Using mode most of the time I don't see the devices that are not connected.



    I prefer to use this solution with Python:



    python -c "import serial.tools.list_ports as ls;print list(ls.comports())"


    So I can see anything plugged in even if the connection is closed.



    serial.tools.list_ports is from package pyserial.






    share|improve this answer






























      up vote
      0
      down vote













      wmic https://docs.microsoft.com/en-us/windows/desktop/wmisdk/wmic is a
      windows command line utility to get system information.



      If your serial port is virtual created by some driver through USB connection, use this example to get details about these serial ports.




      wmic path CIM_LogicalDevice where "Description like 'USB Serial%'" get /value





      share|improve this answer























      • a bit of further information would be helpfull
        – Albin
        Nov 16 at 17:55











      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














       

      draft saved


      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f835848%2fhow-to-view-serial-com-ports-but-not-through-device-manager%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      44
      down vote



      accepted










      In the command prompt use



      mode



      Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well).



      Accepts /? switch for basic help:



      mode /?






      share|improve this answer

























        up vote
        44
        down vote



        accepted










        In the command prompt use



        mode



        Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well).



        Accepts /? switch for basic help:



        mode /?






        share|improve this answer























          up vote
          44
          down vote



          accepted







          up vote
          44
          down vote



          accepted






          In the command prompt use



          mode



          Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well).



          Accepts /? switch for basic help:



          mode /?






          share|improve this answer












          In the command prompt use



          mode



          Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well).



          Accepts /? switch for basic help:



          mode /?







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 5 '14 at 15:45









          JosefZ

          7,08141543




          7,08141543
























              up vote
              6
              down vote













              In the command prompt use:



              C:>wmic path Win32_SerialPort


              OR



              In PowerShell:



              PS> Get-WMIObject Win32_SerialPort


              OR



              PS> Get-WMIObject Win32_SerialPort | Select-Object Name,DeviceID,Description


              Hope this helps.






              share|improve this answer























              • The command prompt returned No Instance(s) Available.
                – Marmstrong
                Nov 4 '14 at 16:46










              • If there are no Com port devices detect then the command results "No Instance(s) Available". Check your "Device Manager" and ensure your machine detected the Com ports in "Device Manager"
                – vembutech
                Nov 4 '14 at 16:53












              • OP said "Using a University PC which has the device manager locked down"
                – DavidPostill
                Nov 4 '14 at 16:54












              • @vembutech - Looks like you will need to get IT involved in that case.
                – Ramhound
                Nov 4 '14 at 16:56










              • @vembutech I have checked the device on my own laptop and it appears as COM3 in device manager but the command prompt still shows the same result.
                – Marmstrong
                Nov 4 '14 at 16:56















              up vote
              6
              down vote













              In the command prompt use:



              C:>wmic path Win32_SerialPort


              OR



              In PowerShell:



              PS> Get-WMIObject Win32_SerialPort


              OR



              PS> Get-WMIObject Win32_SerialPort | Select-Object Name,DeviceID,Description


              Hope this helps.






              share|improve this answer























              • The command prompt returned No Instance(s) Available.
                – Marmstrong
                Nov 4 '14 at 16:46










              • If there are no Com port devices detect then the command results "No Instance(s) Available". Check your "Device Manager" and ensure your machine detected the Com ports in "Device Manager"
                – vembutech
                Nov 4 '14 at 16:53












              • OP said "Using a University PC which has the device manager locked down"
                – DavidPostill
                Nov 4 '14 at 16:54












              • @vembutech - Looks like you will need to get IT involved in that case.
                – Ramhound
                Nov 4 '14 at 16:56










              • @vembutech I have checked the device on my own laptop and it appears as COM3 in device manager but the command prompt still shows the same result.
                – Marmstrong
                Nov 4 '14 at 16:56













              up vote
              6
              down vote










              up vote
              6
              down vote









              In the command prompt use:



              C:>wmic path Win32_SerialPort


              OR



              In PowerShell:



              PS> Get-WMIObject Win32_SerialPort


              OR



              PS> Get-WMIObject Win32_SerialPort | Select-Object Name,DeviceID,Description


              Hope this helps.






              share|improve this answer














              In the command prompt use:



              C:>wmic path Win32_SerialPort


              OR



              In PowerShell:



              PS> Get-WMIObject Win32_SerialPort


              OR



              PS> Get-WMIObject Win32_SerialPort | Select-Object Name,DeviceID,Description


              Hope this helps.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Nov 4 '14 at 19:36









              Adi Inbar

              21816




              21816










              answered Nov 4 '14 at 16:39









              vembutech

              5,32811317




              5,32811317












              • The command prompt returned No Instance(s) Available.
                – Marmstrong
                Nov 4 '14 at 16:46










              • If there are no Com port devices detect then the command results "No Instance(s) Available". Check your "Device Manager" and ensure your machine detected the Com ports in "Device Manager"
                – vembutech
                Nov 4 '14 at 16:53












              • OP said "Using a University PC which has the device manager locked down"
                – DavidPostill
                Nov 4 '14 at 16:54












              • @vembutech - Looks like you will need to get IT involved in that case.
                – Ramhound
                Nov 4 '14 at 16:56










              • @vembutech I have checked the device on my own laptop and it appears as COM3 in device manager but the command prompt still shows the same result.
                – Marmstrong
                Nov 4 '14 at 16:56


















              • The command prompt returned No Instance(s) Available.
                – Marmstrong
                Nov 4 '14 at 16:46










              • If there are no Com port devices detect then the command results "No Instance(s) Available". Check your "Device Manager" and ensure your machine detected the Com ports in "Device Manager"
                – vembutech
                Nov 4 '14 at 16:53












              • OP said "Using a University PC which has the device manager locked down"
                – DavidPostill
                Nov 4 '14 at 16:54












              • @vembutech - Looks like you will need to get IT involved in that case.
                – Ramhound
                Nov 4 '14 at 16:56










              • @vembutech I have checked the device on my own laptop and it appears as COM3 in device manager but the command prompt still shows the same result.
                – Marmstrong
                Nov 4 '14 at 16:56
















              The command prompt returned No Instance(s) Available.
              – Marmstrong
              Nov 4 '14 at 16:46




              The command prompt returned No Instance(s) Available.
              – Marmstrong
              Nov 4 '14 at 16:46












              If there are no Com port devices detect then the command results "No Instance(s) Available". Check your "Device Manager" and ensure your machine detected the Com ports in "Device Manager"
              – vembutech
              Nov 4 '14 at 16:53






              If there are no Com port devices detect then the command results "No Instance(s) Available". Check your "Device Manager" and ensure your machine detected the Com ports in "Device Manager"
              – vembutech
              Nov 4 '14 at 16:53














              OP said "Using a University PC which has the device manager locked down"
              – DavidPostill
              Nov 4 '14 at 16:54






              OP said "Using a University PC which has the device manager locked down"
              – DavidPostill
              Nov 4 '14 at 16:54














              @vembutech - Looks like you will need to get IT involved in that case.
              – Ramhound
              Nov 4 '14 at 16:56




              @vembutech - Looks like you will need to get IT involved in that case.
              – Ramhound
              Nov 4 '14 at 16:56












              @vembutech I have checked the device on my own laptop and it appears as COM3 in device manager but the command prompt still shows the same result.
              – Marmstrong
              Nov 4 '14 at 16:56




              @vembutech I have checked the device on my own laptop and it appears as COM3 in device manager but the command prompt still shows the same result.
              – Marmstrong
              Nov 4 '14 at 16:56










              up vote
              5
              down vote













              I know the question has been answered, but this is another method.



              In command prompt, use:
              chgport

              in windows Vista and up. Lists your ports and which device they are.






              share|improve this answer





















              • Windows 7 "'chgport' is not recognized as an internal or external command, operable program or batch file."
                – DavidPostill
                Nov 25 '16 at 13:58






              • 3




                works for me on Win 7
                – woky
                Feb 24 '17 at 8:07










              • chgport /QUERY works for me in Win7 pro. It lists the Devicename for the currently select com port, not a full list. More interesting, chgport /? shows: (formatting fails) CHANGE PORT [portx=porty | /D portx | /QUERY] portx=porty Map port x to port y. /D portx Delete mapping for port x. /QUERY Display current mapping ports. And chgport COM4=COM5 allows type COM4: to work!
                – James Newton
                Aug 31 '17 at 19:11

















              up vote
              5
              down vote













              I know the question has been answered, but this is another method.



              In command prompt, use:
              chgport

              in windows Vista and up. Lists your ports and which device they are.






              share|improve this answer





















              • Windows 7 "'chgport' is not recognized as an internal or external command, operable program or batch file."
                – DavidPostill
                Nov 25 '16 at 13:58






              • 3




                works for me on Win 7
                – woky
                Feb 24 '17 at 8:07










              • chgport /QUERY works for me in Win7 pro. It lists the Devicename for the currently select com port, not a full list. More interesting, chgport /? shows: (formatting fails) CHANGE PORT [portx=porty | /D portx | /QUERY] portx=porty Map port x to port y. /D portx Delete mapping for port x. /QUERY Display current mapping ports. And chgport COM4=COM5 allows type COM4: to work!
                – James Newton
                Aug 31 '17 at 19:11















              up vote
              5
              down vote










              up vote
              5
              down vote









              I know the question has been answered, but this is another method.



              In command prompt, use:
              chgport

              in windows Vista and up. Lists your ports and which device they are.






              share|improve this answer












              I know the question has been answered, but this is another method.



              In command prompt, use:
              chgport

              in windows Vista and up. Lists your ports and which device they are.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Nov 25 '16 at 12:22









              Thomas Larsen

              6111




              6111












              • Windows 7 "'chgport' is not recognized as an internal or external command, operable program or batch file."
                – DavidPostill
                Nov 25 '16 at 13:58






              • 3




                works for me on Win 7
                – woky
                Feb 24 '17 at 8:07










              • chgport /QUERY works for me in Win7 pro. It lists the Devicename for the currently select com port, not a full list. More interesting, chgport /? shows: (formatting fails) CHANGE PORT [portx=porty | /D portx | /QUERY] portx=porty Map port x to port y. /D portx Delete mapping for port x. /QUERY Display current mapping ports. And chgport COM4=COM5 allows type COM4: to work!
                – James Newton
                Aug 31 '17 at 19:11




















              • Windows 7 "'chgport' is not recognized as an internal or external command, operable program or batch file."
                – DavidPostill
                Nov 25 '16 at 13:58






              • 3




                works for me on Win 7
                – woky
                Feb 24 '17 at 8:07










              • chgport /QUERY works for me in Win7 pro. It lists the Devicename for the currently select com port, not a full list. More interesting, chgport /? shows: (formatting fails) CHANGE PORT [portx=porty | /D portx | /QUERY] portx=porty Map port x to port y. /D portx Delete mapping for port x. /QUERY Display current mapping ports. And chgport COM4=COM5 allows type COM4: to work!
                – James Newton
                Aug 31 '17 at 19:11


















              Windows 7 "'chgport' is not recognized as an internal or external command, operable program or batch file."
              – DavidPostill
              Nov 25 '16 at 13:58




              Windows 7 "'chgport' is not recognized as an internal or external command, operable program or batch file."
              – DavidPostill
              Nov 25 '16 at 13:58




              3




              3




              works for me on Win 7
              – woky
              Feb 24 '17 at 8:07




              works for me on Win 7
              – woky
              Feb 24 '17 at 8:07












              chgport /QUERY works for me in Win7 pro. It lists the Devicename for the currently select com port, not a full list. More interesting, chgport /? shows: (formatting fails) CHANGE PORT [portx=porty | /D portx | /QUERY] portx=porty Map port x to port y. /D portx Delete mapping for port x. /QUERY Display current mapping ports. And chgport COM4=COM5 allows type COM4: to work!
              – James Newton
              Aug 31 '17 at 19:11






              chgport /QUERY works for me in Win7 pro. It lists the Devicename for the currently select com port, not a full list. More interesting, chgport /? shows: (formatting fails) CHANGE PORT [portx=porty | /D portx | /QUERY] portx=porty Map port x to port y. /D portx Delete mapping for port x. /QUERY Display current mapping ports. And chgport COM4=COM5 allows type COM4: to work!
              – James Newton
              Aug 31 '17 at 19:11












              up vote
              1
              down vote













              Using mode most of the time I don't see the devices that are not connected.



              I prefer to use this solution with Python:



              python -c "import serial.tools.list_ports as ls;print list(ls.comports())"


              So I can see anything plugged in even if the connection is closed.



              serial.tools.list_ports is from package pyserial.






              share|improve this answer



























                up vote
                1
                down vote













                Using mode most of the time I don't see the devices that are not connected.



                I prefer to use this solution with Python:



                python -c "import serial.tools.list_ports as ls;print list(ls.comports())"


                So I can see anything plugged in even if the connection is closed.



                serial.tools.list_ports is from package pyserial.






                share|improve this answer

























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Using mode most of the time I don't see the devices that are not connected.



                  I prefer to use this solution with Python:



                  python -c "import serial.tools.list_ports as ls;print list(ls.comports())"


                  So I can see anything plugged in even if the connection is closed.



                  serial.tools.list_ports is from package pyserial.






                  share|improve this answer














                  Using mode most of the time I don't see the devices that are not connected.



                  I prefer to use this solution with Python:



                  python -c "import serial.tools.list_ports as ls;print list(ls.comports())"


                  So I can see anything plugged in even if the connection is closed.



                  serial.tools.list_ports is from package pyserial.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jul 13 at 12:32









                  Habeeb Perwad

                  1054




                  1054










                  answered Jul 5 at 13:50









                  G M

                  145213




                  145213






















                      up vote
                      0
                      down vote













                      wmic https://docs.microsoft.com/en-us/windows/desktop/wmisdk/wmic is a
                      windows command line utility to get system information.



                      If your serial port is virtual created by some driver through USB connection, use this example to get details about these serial ports.




                      wmic path CIM_LogicalDevice where "Description like 'USB Serial%'" get /value





                      share|improve this answer























                      • a bit of further information would be helpfull
                        – Albin
                        Nov 16 at 17:55















                      up vote
                      0
                      down vote













                      wmic https://docs.microsoft.com/en-us/windows/desktop/wmisdk/wmic is a
                      windows command line utility to get system information.



                      If your serial port is virtual created by some driver through USB connection, use this example to get details about these serial ports.




                      wmic path CIM_LogicalDevice where "Description like 'USB Serial%'" get /value





                      share|improve this answer























                      • a bit of further information would be helpfull
                        – Albin
                        Nov 16 at 17:55













                      up vote
                      0
                      down vote










                      up vote
                      0
                      down vote









                      wmic https://docs.microsoft.com/en-us/windows/desktop/wmisdk/wmic is a
                      windows command line utility to get system information.



                      If your serial port is virtual created by some driver through USB connection, use this example to get details about these serial ports.




                      wmic path CIM_LogicalDevice where "Description like 'USB Serial%'" get /value





                      share|improve this answer














                      wmic https://docs.microsoft.com/en-us/windows/desktop/wmisdk/wmic is a
                      windows command line utility to get system information.



                      If your serial port is virtual created by some driver through USB connection, use this example to get details about these serial ports.




                      wmic path CIM_LogicalDevice where "Description like 'USB Serial%'" get /value






                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Nov 19 at 9:49

























                      answered Nov 16 at 16:06









                      GLampros

                      12




                      12












                      • a bit of further information would be helpfull
                        – Albin
                        Nov 16 at 17:55


















                      • a bit of further information would be helpfull
                        – Albin
                        Nov 16 at 17:55
















                      a bit of further information would be helpfull
                      – Albin
                      Nov 16 at 17:55




                      a bit of further information would be helpfull
                      – Albin
                      Nov 16 at 17:55


















                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f835848%2fhow-to-view-serial-com-ports-but-not-through-device-manager%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Plaza Victoria

                      In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                      How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...