How do I clean up COM ports in use?












30














How do I clean-up these in-use COM ports?
enter image description here



The COM port numbers always seem to be taken up by something and although right now I only have 4 serial ports (3 over Bluetooth and one USB to RS-232), I have numerous COM ports set as in use. I'd like to clean that list up a bit.



Also it seems to me that from time to time, one of the taken COM ports gets freed up and then one of the devices I use will take that number creating confusion, since I'll have to go and hunt its com number in device manager.



UPDATE:



Well I just cleaned up countless USB devices that once were connected to the computer using USBDeview and still the problem still remains.










share|improve this question





























    30














    How do I clean-up these in-use COM ports?
    enter image description here



    The COM port numbers always seem to be taken up by something and although right now I only have 4 serial ports (3 over Bluetooth and one USB to RS-232), I have numerous COM ports set as in use. I'd like to clean that list up a bit.



    Also it seems to me that from time to time, one of the taken COM ports gets freed up and then one of the devices I use will take that number creating confusion, since I'll have to go and hunt its com number in device manager.



    UPDATE:



    Well I just cleaned up countless USB devices that once were connected to the computer using USBDeview and still the problem still remains.










    share|improve this question



























      30












      30








      30


      21





      How do I clean-up these in-use COM ports?
      enter image description here



      The COM port numbers always seem to be taken up by something and although right now I only have 4 serial ports (3 over Bluetooth and one USB to RS-232), I have numerous COM ports set as in use. I'd like to clean that list up a bit.



      Also it seems to me that from time to time, one of the taken COM ports gets freed up and then one of the devices I use will take that number creating confusion, since I'll have to go and hunt its com number in device manager.



      UPDATE:



      Well I just cleaned up countless USB devices that once were connected to the computer using USBDeview and still the problem still remains.










      share|improve this question















      How do I clean-up these in-use COM ports?
      enter image description here



      The COM port numbers always seem to be taken up by something and although right now I only have 4 serial ports (3 over Bluetooth and one USB to RS-232), I have numerous COM ports set as in use. I'd like to clean that list up a bit.



      Also it seems to me that from time to time, one of the taken COM ports gets freed up and then one of the devices I use will take that number creating confusion, since I'll have to go and hunt its com number in device manager.



      UPDATE:



      Well I just cleaned up countless USB devices that once were connected to the computer using USBDeview and still the problem still remains.







      windows-7 64-bit serial-port






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 20 '12 at 9:29









      Journeyman Geek

      112k43216366




      112k43216366










      asked Apr 5 '12 at 17:37









      AndrejaKoAndrejaKo

      14.7k1867116




      14.7k1867116






















          9 Answers
          9






          active

          oldest

          votes


















          29














          Run Device Manager from elevated command line:



          > set DEVMGR_SHOW_NONPRESENT_DEVICES=1
          > devmgmt.msc


          Enable "Show hidden devices" in the menu, and uninstall grayed-out COM ports.






          share|improve this answer

















          • 1




            The hidden serial ports don't seem the be the main cause of the issue. As expected, I found numerous instances of serial ports created by my USB to RS-232 adapter, but even when they are cleaned up, I still have 11 extra COM ports set as in use.
            – AndrejaKo
            Apr 5 '12 at 17:52






          • 1




            @AndrejaKo: Do you have any devices listed under "Modems"? They also take up 1 serial port each.
            – grawity
            Apr 5 '12 at 17:54










          • Yes, but there's just one modem there.
            – AndrejaKo
            Apr 5 '12 at 18:02










          • This works, but setting the system variable as seen in answer @Michael Herman is IMHO better way and the view in the Device Manager "show hidden devices" works afterwards. I don't know why MS has disabled that system variable on my PC per default.
            – Tom Kuschel
            Jun 16 '17 at 9:35










          • This worked for me on Windows 7 64 bit Enterprise Edition from an elevated command prompt
            – Tahir Khalid
            Jan 19 '18 at 17:11



















          27














          I found a useful answer at How to clear or Reset COM port ?




          1. Click start → Run → type regedit and click OK button

          2. Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCOM Name Arbiter

          3. Now on the right panel, you can see the key ComDB. Right-click it and click modify

          4. In value Data section select all and delete reset to zero (0)

            Its 32 bytes with 8 bits in each byte in hexadecimal representation. A bit of value 1 makes a port number (1...256) reserved. The first 8 ports are in two leftmost hexadecimal values, bits ascending from lowest to highest right to left, the next 8 ports are in the second two and so on: hex F3 24 would be binary 1111 0011 0010 0100, which means that following ports are used: 1, 2, 5, 6, 7, 8 (1111 0011) and 11, 14 (0010 0100).
            enter image description here

          5. Close the registry editor and then restart your computer. If you set the value to 0 all COM ports are free.


          You may need to reinstall any USB-to-serial converter.






          share|improve this answer



















          • 1




            Welcome to superuser. I edited your answer and added some more details. Free feel to rollback your post if needed.
            – nixda
            Jul 4 '13 at 21:40










          • Looks interesting! I'll try it out and report the results.
            – AndrejaKo
            Jul 4 '13 at 21:44










          • No, I followed this exactly and it didn't remove any of them.
            – Bob Brunius
            Feb 4 '15 at 0:34










          • @nixda isnt it 1,2,5,6,7,8,11,14?
            – kimliv
            Aug 18 '16 at 16:44










          • @kimliv I did not insert that part of the answer. That was the editor after me :) So you have to ask him
            – nixda
            Aug 18 '16 at 17:46



















          8














          Thanks for all the advice above. I wrote software to automatically clean up the Registry but though it did adjust the Hardware, Software, and Arbiter sections it did NOT remove the phantom COM port entries. Even a reboot with the "USB to 2Serial Port" device removed did not clean up the system properly.



          However, the instructions on this PDF did work correctly:



          For Win7, I adjusted the instructions slightly on that PDF to be:




          1. click Start / (right click:) Computer / Properties / Advanced System Settings (not Device Manager)

          2. Click Environment Variables

          3. Click in the System variables (bottom section) click New

          4. Enter Variable Name: DEVMGR_SHOW_NONPRESENT_DEVICES

            Enter Variable Value: 1

          5. Click OK (exits Environment)

          6. Click OK (exits System Properties)


          7. Click Start. In the command box, type Manage
            This shows the Computer Management window ...


          8. Click Device Manager

          9. Click View and select Show Hidden Devices

          10. Click Ports (COM & LPT)

            Now all the ports, real (black text) and phantom (grayed out text) appear.

          11. One by one, right click the phantom ports, and select Uninstall


          This should now have cleared out your system of unwanted phantom USB ports.



          Note: after cleaning out all my phantom ports, leaving only "COM1", I find my Registry shows:



          Hardware:   COM1
          Software: COM1, COM2, COM3, COM4, COM5
          Arbiter: COM1, COM2, COM3


          And a right click on Computer / Properties / Device Manager / Ports shows only COM1. Right click on COM1 / Properties / Port Settings / Advanced
          shows COM1 with COM2 "in use" and COM3 "in use". All the other settings up to 7 that used to be "in use" are now freed up. So only the "Arbiter" setting seems to be telling the Win7 system what is really "in use". The Computer Management system has cleaned up the Arbiter, but not cleaned up the Software section...



          ... many are the mysteries of Microsoft...






          share|improve this answer























          • This submission has far to many formatting errors for my taste. Feel free to spend some time formatting your submission and I will reverse my vote.
            – Ramhound
            Oct 13 '15 at 16:30










          • surprised that this answer doesn't have upvotes, as it is the only answer that actually solved my problem on Win7
            – bas
            Jan 8 '16 at 9:27










          • Wow I had loads of mapped unused ports. Although Ive never had any problem mapping to an 'in use' port, its nice housekeeping.
            – Ninga
            Sep 18 '17 at 21:46










          • PDF Broken link. Where in the registry is "Hardware, software arbiter"? Are there any other instructions that should be carried over but were lost to the PDF?
            – Assimilater
            May 21 '18 at 19:06



















          6














          Resolving USB driver issues



          Method Using Elevated Command Prompt



          ie type cmd in search bar then right click cmd.exe selecting Run as Administrator



          • 1st stage As discussed from command prompt type;
          set devmgr_show_non_present_devices=1
          devmgmt.msc



              Under Ports (Com & LPT) delete all instances of  prolific USB to Serial Comm Port


          • 2nd Stage Again from Elevated Command Prompt - Remove Driver Packages from drivers store.
          The driver store is a protected area of the computer that contains device driver packages that have been approved for installation on the computer



              You need to Identify OEM#.inf  where # is a number so type 
          pnputil.exe -e (then enter)

          Read the entries in the output to find the description of your package(s) and its file name(s)


          Its highly likely you will have multiple entries from previous attempts.


          Note all oem###.inf instances of the prolific driver where # (hash) is the number.



              To remove entries type:
          pnputil.exe -d oem###.inf


          (use space between exe & - and d & Oem then press enter)
          Remember to replace # with the number of the inf file you want to delete.



          If the computer reports that the driver package is in use by a currently installed device, then you must either uninstall the device first, or use the -f on the pnputil command to force deletion of the package.



          Also you may have driver package loaded on as program that may need removal using control panel/programs/uninstall a program.



          If you do all that before loading the correct driver package and try to keep the Com device inserted in the same port rather than moving it around your ports you will have fewer problems with the Prolific driver.






          share|improve this answer





























            0














            I have a simple solution that worked for me... my count was up to 45 com ports in use!



            1) Open Device Manager



            2) From the View menu, select 'Show Hidden Devices'



            3) Expand 'Ports (COM & LPT)' category from the list



            4) Right-click on all the devices and remove them (no need to tick to delete the driver)



            5) From the Action menu, select 'Scan for New Devices'



            6) Viola! All the actual devices will be re-allocated from COM1






            share|improve this answer





















            • voila not viola
              – Jason S
              Jun 9 '16 at 20:51










            • This has already been proposed in an existing upvoted answer.
              – guest-vm
              Apr 3 '18 at 16:02



















            0














            These did not work for me. But official Microsoft help page worked for me.



            From https://support.microsoft.com/en-us/kb/222018




            • In the Printers folder, click Server Properties on the File menu.

            • Click the Ports tab, click the port you want to remove, click Delete Port, and then click OK.






            share|improve this answer



















            • 1




              Does this actually work for serial ports, on Windows 7? Also, you're supposed to summarize the link contents in your answer, instead of just providing the link, in case link rot happens.
              – AndrejaKo
              Jun 14 '16 at 13:15



















            0














            I found that this tool works excellently for this issue.



            Device Remover
            https://www.majorgeeks.com/files/details/device_remover_543c.html



            Just load it up, click on "Display Mode", "Show only hidden/detached devices", Check "Ports" (which selects all the unused com ports), then click "Remove all checked", and confirm the removal when the warning appears.



            Cheers!



            ~Andrew



            EmpoweringSolutions.net






            share|improve this answer





























              -1














              (For those who came from google)



              If previos answer doesn't work and has installed windows mobile 6 SDK. It may be problem with XPVCOM.SYS (this driver reserved 14 COM ports) To uninstall in console



              CD Program FilesWindows Mobile 6 SDKToolsCellular Emulator



              InstallXPVCom.exe UnInstall



              then reboot.






              share|improve this answer





























                -1














                For those who do not want to use the CMD line interface I use this in Windows 7.




                1. Open Control Panel

                2. Select "SYSTEM" from the menu

                3. Select "ADVANCED SYSTEM SETTINGS" on the left

                4. Select "ENVIRONMENT VARIABLES" on the bottom right of the box

                5. Look for "DEVMGR_SHOW_NONPRESENT_DEVICES" in the System Variables
                  list. If it is not there create it and assign it a variable value of


                  1. Back out with OK, OK, OK. You are now back in the Control panel screen.



                6. Select "Device Manager" and go to "View"

                7. Select "Show Hidden Devices" and all hidden devices including the
                  Comm ports will be shown greyed out or Ghosted.

                8. Select the ones you want to remove, right click and select
                  "Uninstall"






                share|improve this answer



















                • 3




                  This has already been proposed in an existing upvoted answer.
                  – guest-vm
                  Apr 3 '18 at 15:53












                protected by Community Dec 11 '18 at 9:14



                Thank you for your interest in this question.
                Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                Would you like to answer one of these unanswered questions instead?














                9 Answers
                9






                active

                oldest

                votes








                9 Answers
                9






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                29














                Run Device Manager from elevated command line:



                > set DEVMGR_SHOW_NONPRESENT_DEVICES=1
                > devmgmt.msc


                Enable "Show hidden devices" in the menu, and uninstall grayed-out COM ports.






                share|improve this answer

















                • 1




                  The hidden serial ports don't seem the be the main cause of the issue. As expected, I found numerous instances of serial ports created by my USB to RS-232 adapter, but even when they are cleaned up, I still have 11 extra COM ports set as in use.
                  – AndrejaKo
                  Apr 5 '12 at 17:52






                • 1




                  @AndrejaKo: Do you have any devices listed under "Modems"? They also take up 1 serial port each.
                  – grawity
                  Apr 5 '12 at 17:54










                • Yes, but there's just one modem there.
                  – AndrejaKo
                  Apr 5 '12 at 18:02










                • This works, but setting the system variable as seen in answer @Michael Herman is IMHO better way and the view in the Device Manager "show hidden devices" works afterwards. I don't know why MS has disabled that system variable on my PC per default.
                  – Tom Kuschel
                  Jun 16 '17 at 9:35










                • This worked for me on Windows 7 64 bit Enterprise Edition from an elevated command prompt
                  – Tahir Khalid
                  Jan 19 '18 at 17:11
















                29














                Run Device Manager from elevated command line:



                > set DEVMGR_SHOW_NONPRESENT_DEVICES=1
                > devmgmt.msc


                Enable "Show hidden devices" in the menu, and uninstall grayed-out COM ports.






                share|improve this answer

















                • 1




                  The hidden serial ports don't seem the be the main cause of the issue. As expected, I found numerous instances of serial ports created by my USB to RS-232 adapter, but even when they are cleaned up, I still have 11 extra COM ports set as in use.
                  – AndrejaKo
                  Apr 5 '12 at 17:52






                • 1




                  @AndrejaKo: Do you have any devices listed under "Modems"? They also take up 1 serial port each.
                  – grawity
                  Apr 5 '12 at 17:54










                • Yes, but there's just one modem there.
                  – AndrejaKo
                  Apr 5 '12 at 18:02










                • This works, but setting the system variable as seen in answer @Michael Herman is IMHO better way and the view in the Device Manager "show hidden devices" works afterwards. I don't know why MS has disabled that system variable on my PC per default.
                  – Tom Kuschel
                  Jun 16 '17 at 9:35










                • This worked for me on Windows 7 64 bit Enterprise Edition from an elevated command prompt
                  – Tahir Khalid
                  Jan 19 '18 at 17:11














                29












                29








                29






                Run Device Manager from elevated command line:



                > set DEVMGR_SHOW_NONPRESENT_DEVICES=1
                > devmgmt.msc


                Enable "Show hidden devices" in the menu, and uninstall grayed-out COM ports.






                share|improve this answer












                Run Device Manager from elevated command line:



                > set DEVMGR_SHOW_NONPRESENT_DEVICES=1
                > devmgmt.msc


                Enable "Show hidden devices" in the menu, and uninstall grayed-out COM ports.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 5 '12 at 17:44









                grawitygrawity

                233k36493547




                233k36493547








                • 1




                  The hidden serial ports don't seem the be the main cause of the issue. As expected, I found numerous instances of serial ports created by my USB to RS-232 adapter, but even when they are cleaned up, I still have 11 extra COM ports set as in use.
                  – AndrejaKo
                  Apr 5 '12 at 17:52






                • 1




                  @AndrejaKo: Do you have any devices listed under "Modems"? They also take up 1 serial port each.
                  – grawity
                  Apr 5 '12 at 17:54










                • Yes, but there's just one modem there.
                  – AndrejaKo
                  Apr 5 '12 at 18:02










                • This works, but setting the system variable as seen in answer @Michael Herman is IMHO better way and the view in the Device Manager "show hidden devices" works afterwards. I don't know why MS has disabled that system variable on my PC per default.
                  – Tom Kuschel
                  Jun 16 '17 at 9:35










                • This worked for me on Windows 7 64 bit Enterprise Edition from an elevated command prompt
                  – Tahir Khalid
                  Jan 19 '18 at 17:11














                • 1




                  The hidden serial ports don't seem the be the main cause of the issue. As expected, I found numerous instances of serial ports created by my USB to RS-232 adapter, but even when they are cleaned up, I still have 11 extra COM ports set as in use.
                  – AndrejaKo
                  Apr 5 '12 at 17:52






                • 1




                  @AndrejaKo: Do you have any devices listed under "Modems"? They also take up 1 serial port each.
                  – grawity
                  Apr 5 '12 at 17:54










                • Yes, but there's just one modem there.
                  – AndrejaKo
                  Apr 5 '12 at 18:02










                • This works, but setting the system variable as seen in answer @Michael Herman is IMHO better way and the view in the Device Manager "show hidden devices" works afterwards. I don't know why MS has disabled that system variable on my PC per default.
                  – Tom Kuschel
                  Jun 16 '17 at 9:35










                • This worked for me on Windows 7 64 bit Enterprise Edition from an elevated command prompt
                  – Tahir Khalid
                  Jan 19 '18 at 17:11








                1




                1




                The hidden serial ports don't seem the be the main cause of the issue. As expected, I found numerous instances of serial ports created by my USB to RS-232 adapter, but even when they are cleaned up, I still have 11 extra COM ports set as in use.
                – AndrejaKo
                Apr 5 '12 at 17:52




                The hidden serial ports don't seem the be the main cause of the issue. As expected, I found numerous instances of serial ports created by my USB to RS-232 adapter, but even when they are cleaned up, I still have 11 extra COM ports set as in use.
                – AndrejaKo
                Apr 5 '12 at 17:52




                1




                1




                @AndrejaKo: Do you have any devices listed under "Modems"? They also take up 1 serial port each.
                – grawity
                Apr 5 '12 at 17:54




                @AndrejaKo: Do you have any devices listed under "Modems"? They also take up 1 serial port each.
                – grawity
                Apr 5 '12 at 17:54












                Yes, but there's just one modem there.
                – AndrejaKo
                Apr 5 '12 at 18:02




                Yes, but there's just one modem there.
                – AndrejaKo
                Apr 5 '12 at 18:02












                This works, but setting the system variable as seen in answer @Michael Herman is IMHO better way and the view in the Device Manager "show hidden devices" works afterwards. I don't know why MS has disabled that system variable on my PC per default.
                – Tom Kuschel
                Jun 16 '17 at 9:35




                This works, but setting the system variable as seen in answer @Michael Herman is IMHO better way and the view in the Device Manager "show hidden devices" works afterwards. I don't know why MS has disabled that system variable on my PC per default.
                – Tom Kuschel
                Jun 16 '17 at 9:35












                This worked for me on Windows 7 64 bit Enterprise Edition from an elevated command prompt
                – Tahir Khalid
                Jan 19 '18 at 17:11




                This worked for me on Windows 7 64 bit Enterprise Edition from an elevated command prompt
                – Tahir Khalid
                Jan 19 '18 at 17:11













                27














                I found a useful answer at How to clear or Reset COM port ?




                1. Click start → Run → type regedit and click OK button

                2. Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCOM Name Arbiter

                3. Now on the right panel, you can see the key ComDB. Right-click it and click modify

                4. In value Data section select all and delete reset to zero (0)

                  Its 32 bytes with 8 bits in each byte in hexadecimal representation. A bit of value 1 makes a port number (1...256) reserved. The first 8 ports are in two leftmost hexadecimal values, bits ascending from lowest to highest right to left, the next 8 ports are in the second two and so on: hex F3 24 would be binary 1111 0011 0010 0100, which means that following ports are used: 1, 2, 5, 6, 7, 8 (1111 0011) and 11, 14 (0010 0100).
                  enter image description here

                5. Close the registry editor and then restart your computer. If you set the value to 0 all COM ports are free.


                You may need to reinstall any USB-to-serial converter.






                share|improve this answer



















                • 1




                  Welcome to superuser. I edited your answer and added some more details. Free feel to rollback your post if needed.
                  – nixda
                  Jul 4 '13 at 21:40










                • Looks interesting! I'll try it out and report the results.
                  – AndrejaKo
                  Jul 4 '13 at 21:44










                • No, I followed this exactly and it didn't remove any of them.
                  – Bob Brunius
                  Feb 4 '15 at 0:34










                • @nixda isnt it 1,2,5,6,7,8,11,14?
                  – kimliv
                  Aug 18 '16 at 16:44










                • @kimliv I did not insert that part of the answer. That was the editor after me :) So you have to ask him
                  – nixda
                  Aug 18 '16 at 17:46
















                27














                I found a useful answer at How to clear or Reset COM port ?




                1. Click start → Run → type regedit and click OK button

                2. Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCOM Name Arbiter

                3. Now on the right panel, you can see the key ComDB. Right-click it and click modify

                4. In value Data section select all and delete reset to zero (0)

                  Its 32 bytes with 8 bits in each byte in hexadecimal representation. A bit of value 1 makes a port number (1...256) reserved. The first 8 ports are in two leftmost hexadecimal values, bits ascending from lowest to highest right to left, the next 8 ports are in the second two and so on: hex F3 24 would be binary 1111 0011 0010 0100, which means that following ports are used: 1, 2, 5, 6, 7, 8 (1111 0011) and 11, 14 (0010 0100).
                  enter image description here

                5. Close the registry editor and then restart your computer. If you set the value to 0 all COM ports are free.


                You may need to reinstall any USB-to-serial converter.






                share|improve this answer



















                • 1




                  Welcome to superuser. I edited your answer and added some more details. Free feel to rollback your post if needed.
                  – nixda
                  Jul 4 '13 at 21:40










                • Looks interesting! I'll try it out and report the results.
                  – AndrejaKo
                  Jul 4 '13 at 21:44










                • No, I followed this exactly and it didn't remove any of them.
                  – Bob Brunius
                  Feb 4 '15 at 0:34










                • @nixda isnt it 1,2,5,6,7,8,11,14?
                  – kimliv
                  Aug 18 '16 at 16:44










                • @kimliv I did not insert that part of the answer. That was the editor after me :) So you have to ask him
                  – nixda
                  Aug 18 '16 at 17:46














                27












                27








                27






                I found a useful answer at How to clear or Reset COM port ?




                1. Click start → Run → type regedit and click OK button

                2. Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCOM Name Arbiter

                3. Now on the right panel, you can see the key ComDB. Right-click it and click modify

                4. In value Data section select all and delete reset to zero (0)

                  Its 32 bytes with 8 bits in each byte in hexadecimal representation. A bit of value 1 makes a port number (1...256) reserved. The first 8 ports are in two leftmost hexadecimal values, bits ascending from lowest to highest right to left, the next 8 ports are in the second two and so on: hex F3 24 would be binary 1111 0011 0010 0100, which means that following ports are used: 1, 2, 5, 6, 7, 8 (1111 0011) and 11, 14 (0010 0100).
                  enter image description here

                5. Close the registry editor and then restart your computer. If you set the value to 0 all COM ports are free.


                You may need to reinstall any USB-to-serial converter.






                share|improve this answer














                I found a useful answer at How to clear or Reset COM port ?




                1. Click start → Run → type regedit and click OK button

                2. Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCOM Name Arbiter

                3. Now on the right panel, you can see the key ComDB. Right-click it and click modify

                4. In value Data section select all and delete reset to zero (0)

                  Its 32 bytes with 8 bits in each byte in hexadecimal representation. A bit of value 1 makes a port number (1...256) reserved. The first 8 ports are in two leftmost hexadecimal values, bits ascending from lowest to highest right to left, the next 8 ports are in the second two and so on: hex F3 24 would be binary 1111 0011 0010 0100, which means that following ports are used: 1, 2, 5, 6, 7, 8 (1111 0011) and 11, 14 (0010 0100).
                  enter image description here

                5. Close the registry editor and then restart your computer. If you set the value to 0 all COM ports are free.


                You may need to reinstall any USB-to-serial converter.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Sep 5 '16 at 13:44









                trapicki

                506410




                506410










                answered Jul 4 '13 at 21:26









                hockeyrinkhockeyrink

                27132




                27132








                • 1




                  Welcome to superuser. I edited your answer and added some more details. Free feel to rollback your post if needed.
                  – nixda
                  Jul 4 '13 at 21:40










                • Looks interesting! I'll try it out and report the results.
                  – AndrejaKo
                  Jul 4 '13 at 21:44










                • No, I followed this exactly and it didn't remove any of them.
                  – Bob Brunius
                  Feb 4 '15 at 0:34










                • @nixda isnt it 1,2,5,6,7,8,11,14?
                  – kimliv
                  Aug 18 '16 at 16:44










                • @kimliv I did not insert that part of the answer. That was the editor after me :) So you have to ask him
                  – nixda
                  Aug 18 '16 at 17:46














                • 1




                  Welcome to superuser. I edited your answer and added some more details. Free feel to rollback your post if needed.
                  – nixda
                  Jul 4 '13 at 21:40










                • Looks interesting! I'll try it out and report the results.
                  – AndrejaKo
                  Jul 4 '13 at 21:44










                • No, I followed this exactly and it didn't remove any of them.
                  – Bob Brunius
                  Feb 4 '15 at 0:34










                • @nixda isnt it 1,2,5,6,7,8,11,14?
                  – kimliv
                  Aug 18 '16 at 16:44










                • @kimliv I did not insert that part of the answer. That was the editor after me :) So you have to ask him
                  – nixda
                  Aug 18 '16 at 17:46








                1




                1




                Welcome to superuser. I edited your answer and added some more details. Free feel to rollback your post if needed.
                – nixda
                Jul 4 '13 at 21:40




                Welcome to superuser. I edited your answer and added some more details. Free feel to rollback your post if needed.
                – nixda
                Jul 4 '13 at 21:40












                Looks interesting! I'll try it out and report the results.
                – AndrejaKo
                Jul 4 '13 at 21:44




                Looks interesting! I'll try it out and report the results.
                – AndrejaKo
                Jul 4 '13 at 21:44












                No, I followed this exactly and it didn't remove any of them.
                – Bob Brunius
                Feb 4 '15 at 0:34




                No, I followed this exactly and it didn't remove any of them.
                – Bob Brunius
                Feb 4 '15 at 0:34












                @nixda isnt it 1,2,5,6,7,8,11,14?
                – kimliv
                Aug 18 '16 at 16:44




                @nixda isnt it 1,2,5,6,7,8,11,14?
                – kimliv
                Aug 18 '16 at 16:44












                @kimliv I did not insert that part of the answer. That was the editor after me :) So you have to ask him
                – nixda
                Aug 18 '16 at 17:46




                @kimliv I did not insert that part of the answer. That was the editor after me :) So you have to ask him
                – nixda
                Aug 18 '16 at 17:46











                8














                Thanks for all the advice above. I wrote software to automatically clean up the Registry but though it did adjust the Hardware, Software, and Arbiter sections it did NOT remove the phantom COM port entries. Even a reboot with the "USB to 2Serial Port" device removed did not clean up the system properly.



                However, the instructions on this PDF did work correctly:



                For Win7, I adjusted the instructions slightly on that PDF to be:




                1. click Start / (right click:) Computer / Properties / Advanced System Settings (not Device Manager)

                2. Click Environment Variables

                3. Click in the System variables (bottom section) click New

                4. Enter Variable Name: DEVMGR_SHOW_NONPRESENT_DEVICES

                  Enter Variable Value: 1

                5. Click OK (exits Environment)

                6. Click OK (exits System Properties)


                7. Click Start. In the command box, type Manage
                  This shows the Computer Management window ...


                8. Click Device Manager

                9. Click View and select Show Hidden Devices

                10. Click Ports (COM & LPT)

                  Now all the ports, real (black text) and phantom (grayed out text) appear.

                11. One by one, right click the phantom ports, and select Uninstall


                This should now have cleared out your system of unwanted phantom USB ports.



                Note: after cleaning out all my phantom ports, leaving only "COM1", I find my Registry shows:



                Hardware:   COM1
                Software: COM1, COM2, COM3, COM4, COM5
                Arbiter: COM1, COM2, COM3


                And a right click on Computer / Properties / Device Manager / Ports shows only COM1. Right click on COM1 / Properties / Port Settings / Advanced
                shows COM1 with COM2 "in use" and COM3 "in use". All the other settings up to 7 that used to be "in use" are now freed up. So only the "Arbiter" setting seems to be telling the Win7 system what is really "in use". The Computer Management system has cleaned up the Arbiter, but not cleaned up the Software section...



                ... many are the mysteries of Microsoft...






                share|improve this answer























                • This submission has far to many formatting errors for my taste. Feel free to spend some time formatting your submission and I will reverse my vote.
                  – Ramhound
                  Oct 13 '15 at 16:30










                • surprised that this answer doesn't have upvotes, as it is the only answer that actually solved my problem on Win7
                  – bas
                  Jan 8 '16 at 9:27










                • Wow I had loads of mapped unused ports. Although Ive never had any problem mapping to an 'in use' port, its nice housekeeping.
                  – Ninga
                  Sep 18 '17 at 21:46










                • PDF Broken link. Where in the registry is "Hardware, software arbiter"? Are there any other instructions that should be carried over but were lost to the PDF?
                  – Assimilater
                  May 21 '18 at 19:06
















                8














                Thanks for all the advice above. I wrote software to automatically clean up the Registry but though it did adjust the Hardware, Software, and Arbiter sections it did NOT remove the phantom COM port entries. Even a reboot with the "USB to 2Serial Port" device removed did not clean up the system properly.



                However, the instructions on this PDF did work correctly:



                For Win7, I adjusted the instructions slightly on that PDF to be:




                1. click Start / (right click:) Computer / Properties / Advanced System Settings (not Device Manager)

                2. Click Environment Variables

                3. Click in the System variables (bottom section) click New

                4. Enter Variable Name: DEVMGR_SHOW_NONPRESENT_DEVICES

                  Enter Variable Value: 1

                5. Click OK (exits Environment)

                6. Click OK (exits System Properties)


                7. Click Start. In the command box, type Manage
                  This shows the Computer Management window ...


                8. Click Device Manager

                9. Click View and select Show Hidden Devices

                10. Click Ports (COM & LPT)

                  Now all the ports, real (black text) and phantom (grayed out text) appear.

                11. One by one, right click the phantom ports, and select Uninstall


                This should now have cleared out your system of unwanted phantom USB ports.



                Note: after cleaning out all my phantom ports, leaving only "COM1", I find my Registry shows:



                Hardware:   COM1
                Software: COM1, COM2, COM3, COM4, COM5
                Arbiter: COM1, COM2, COM3


                And a right click on Computer / Properties / Device Manager / Ports shows only COM1. Right click on COM1 / Properties / Port Settings / Advanced
                shows COM1 with COM2 "in use" and COM3 "in use". All the other settings up to 7 that used to be "in use" are now freed up. So only the "Arbiter" setting seems to be telling the Win7 system what is really "in use". The Computer Management system has cleaned up the Arbiter, but not cleaned up the Software section...



                ... many are the mysteries of Microsoft...






                share|improve this answer























                • This submission has far to many formatting errors for my taste. Feel free to spend some time formatting your submission and I will reverse my vote.
                  – Ramhound
                  Oct 13 '15 at 16:30










                • surprised that this answer doesn't have upvotes, as it is the only answer that actually solved my problem on Win7
                  – bas
                  Jan 8 '16 at 9:27










                • Wow I had loads of mapped unused ports. Although Ive never had any problem mapping to an 'in use' port, its nice housekeeping.
                  – Ninga
                  Sep 18 '17 at 21:46










                • PDF Broken link. Where in the registry is "Hardware, software arbiter"? Are there any other instructions that should be carried over but were lost to the PDF?
                  – Assimilater
                  May 21 '18 at 19:06














                8












                8








                8






                Thanks for all the advice above. I wrote software to automatically clean up the Registry but though it did adjust the Hardware, Software, and Arbiter sections it did NOT remove the phantom COM port entries. Even a reboot with the "USB to 2Serial Port" device removed did not clean up the system properly.



                However, the instructions on this PDF did work correctly:



                For Win7, I adjusted the instructions slightly on that PDF to be:




                1. click Start / (right click:) Computer / Properties / Advanced System Settings (not Device Manager)

                2. Click Environment Variables

                3. Click in the System variables (bottom section) click New

                4. Enter Variable Name: DEVMGR_SHOW_NONPRESENT_DEVICES

                  Enter Variable Value: 1

                5. Click OK (exits Environment)

                6. Click OK (exits System Properties)


                7. Click Start. In the command box, type Manage
                  This shows the Computer Management window ...


                8. Click Device Manager

                9. Click View and select Show Hidden Devices

                10. Click Ports (COM & LPT)

                  Now all the ports, real (black text) and phantom (grayed out text) appear.

                11. One by one, right click the phantom ports, and select Uninstall


                This should now have cleared out your system of unwanted phantom USB ports.



                Note: after cleaning out all my phantom ports, leaving only "COM1", I find my Registry shows:



                Hardware:   COM1
                Software: COM1, COM2, COM3, COM4, COM5
                Arbiter: COM1, COM2, COM3


                And a right click on Computer / Properties / Device Manager / Ports shows only COM1. Right click on COM1 / Properties / Port Settings / Advanced
                shows COM1 with COM2 "in use" and COM3 "in use". All the other settings up to 7 that used to be "in use" are now freed up. So only the "Arbiter" setting seems to be telling the Win7 system what is really "in use". The Computer Management system has cleaned up the Arbiter, but not cleaned up the Software section...



                ... many are the mysteries of Microsoft...






                share|improve this answer














                Thanks for all the advice above. I wrote software to automatically clean up the Registry but though it did adjust the Hardware, Software, and Arbiter sections it did NOT remove the phantom COM port entries. Even a reboot with the "USB to 2Serial Port" device removed did not clean up the system properly.



                However, the instructions on this PDF did work correctly:



                For Win7, I adjusted the instructions slightly on that PDF to be:




                1. click Start / (right click:) Computer / Properties / Advanced System Settings (not Device Manager)

                2. Click Environment Variables

                3. Click in the System variables (bottom section) click New

                4. Enter Variable Name: DEVMGR_SHOW_NONPRESENT_DEVICES

                  Enter Variable Value: 1

                5. Click OK (exits Environment)

                6. Click OK (exits System Properties)


                7. Click Start. In the command box, type Manage
                  This shows the Computer Management window ...


                8. Click Device Manager

                9. Click View and select Show Hidden Devices

                10. Click Ports (COM & LPT)

                  Now all the ports, real (black text) and phantom (grayed out text) appear.

                11. One by one, right click the phantom ports, and select Uninstall


                This should now have cleared out your system of unwanted phantom USB ports.



                Note: after cleaning out all my phantom ports, leaving only "COM1", I find my Registry shows:



                Hardware:   COM1
                Software: COM1, COM2, COM3, COM4, COM5
                Arbiter: COM1, COM2, COM3


                And a right click on Computer / Properties / Device Manager / Ports shows only COM1. Right click on COM1 / Properties / Port Settings / Advanced
                shows COM1 with COM2 "in use" and COM3 "in use". All the other settings up to 7 that used to be "in use" are now freed up. So only the "Arbiter" setting seems to be telling the Win7 system what is really "in use". The Computer Management system has cleaned up the Arbiter, but not cleaned up the Software section...



                ... many are the mysteries of Microsoft...







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Oct 14 '15 at 10:54









                Máté Juhász

                14.2k63251




                14.2k63251










                answered Oct 13 '15 at 16:27









                Michael HermanMichael Herman

                8911




                8911












                • This submission has far to many formatting errors for my taste. Feel free to spend some time formatting your submission and I will reverse my vote.
                  – Ramhound
                  Oct 13 '15 at 16:30










                • surprised that this answer doesn't have upvotes, as it is the only answer that actually solved my problem on Win7
                  – bas
                  Jan 8 '16 at 9:27










                • Wow I had loads of mapped unused ports. Although Ive never had any problem mapping to an 'in use' port, its nice housekeeping.
                  – Ninga
                  Sep 18 '17 at 21:46










                • PDF Broken link. Where in the registry is "Hardware, software arbiter"? Are there any other instructions that should be carried over but were lost to the PDF?
                  – Assimilater
                  May 21 '18 at 19:06


















                • This submission has far to many formatting errors for my taste. Feel free to spend some time formatting your submission and I will reverse my vote.
                  – Ramhound
                  Oct 13 '15 at 16:30










                • surprised that this answer doesn't have upvotes, as it is the only answer that actually solved my problem on Win7
                  – bas
                  Jan 8 '16 at 9:27










                • Wow I had loads of mapped unused ports. Although Ive never had any problem mapping to an 'in use' port, its nice housekeeping.
                  – Ninga
                  Sep 18 '17 at 21:46










                • PDF Broken link. Where in the registry is "Hardware, software arbiter"? Are there any other instructions that should be carried over but were lost to the PDF?
                  – Assimilater
                  May 21 '18 at 19:06
















                This submission has far to many formatting errors for my taste. Feel free to spend some time formatting your submission and I will reverse my vote.
                – Ramhound
                Oct 13 '15 at 16:30




                This submission has far to many formatting errors for my taste. Feel free to spend some time formatting your submission and I will reverse my vote.
                – Ramhound
                Oct 13 '15 at 16:30












                surprised that this answer doesn't have upvotes, as it is the only answer that actually solved my problem on Win7
                – bas
                Jan 8 '16 at 9:27




                surprised that this answer doesn't have upvotes, as it is the only answer that actually solved my problem on Win7
                – bas
                Jan 8 '16 at 9:27












                Wow I had loads of mapped unused ports. Although Ive never had any problem mapping to an 'in use' port, its nice housekeeping.
                – Ninga
                Sep 18 '17 at 21:46




                Wow I had loads of mapped unused ports. Although Ive never had any problem mapping to an 'in use' port, its nice housekeeping.
                – Ninga
                Sep 18 '17 at 21:46












                PDF Broken link. Where in the registry is "Hardware, software arbiter"? Are there any other instructions that should be carried over but were lost to the PDF?
                – Assimilater
                May 21 '18 at 19:06




                PDF Broken link. Where in the registry is "Hardware, software arbiter"? Are there any other instructions that should be carried over but were lost to the PDF?
                – Assimilater
                May 21 '18 at 19:06











                6














                Resolving USB driver issues



                Method Using Elevated Command Prompt



                ie type cmd in search bar then right click cmd.exe selecting Run as Administrator



                • 1st stage As discussed from command prompt type;
                set devmgr_show_non_present_devices=1
                devmgmt.msc



                    Under Ports (Com & LPT) delete all instances of  prolific USB to Serial Comm Port


                • 2nd Stage Again from Elevated Command Prompt - Remove Driver Packages from drivers store.
                The driver store is a protected area of the computer that contains device driver packages that have been approved for installation on the computer



                    You need to Identify OEM#.inf  where # is a number so type 
                pnputil.exe -e (then enter)

                Read the entries in the output to find the description of your package(s) and its file name(s)


                Its highly likely you will have multiple entries from previous attempts.


                Note all oem###.inf instances of the prolific driver where # (hash) is the number.



                    To remove entries type:
                pnputil.exe -d oem###.inf


                (use space between exe & - and d & Oem then press enter)
                Remember to replace # with the number of the inf file you want to delete.



                If the computer reports that the driver package is in use by a currently installed device, then you must either uninstall the device first, or use the -f on the pnputil command to force deletion of the package.



                Also you may have driver package loaded on as program that may need removal using control panel/programs/uninstall a program.



                If you do all that before loading the correct driver package and try to keep the Com device inserted in the same port rather than moving it around your ports you will have fewer problems with the Prolific driver.






                share|improve this answer


























                  6














                  Resolving USB driver issues



                  Method Using Elevated Command Prompt



                  ie type cmd in search bar then right click cmd.exe selecting Run as Administrator



                  • 1st stage As discussed from command prompt type;
                  set devmgr_show_non_present_devices=1
                  devmgmt.msc



                      Under Ports (Com & LPT) delete all instances of  prolific USB to Serial Comm Port


                  • 2nd Stage Again from Elevated Command Prompt - Remove Driver Packages from drivers store.
                  The driver store is a protected area of the computer that contains device driver packages that have been approved for installation on the computer



                      You need to Identify OEM#.inf  where # is a number so type 
                  pnputil.exe -e (then enter)

                  Read the entries in the output to find the description of your package(s) and its file name(s)


                  Its highly likely you will have multiple entries from previous attempts.


                  Note all oem###.inf instances of the prolific driver where # (hash) is the number.



                      To remove entries type:
                  pnputil.exe -d oem###.inf


                  (use space between exe & - and d & Oem then press enter)
                  Remember to replace # with the number of the inf file you want to delete.



                  If the computer reports that the driver package is in use by a currently installed device, then you must either uninstall the device first, or use the -f on the pnputil command to force deletion of the package.



                  Also you may have driver package loaded on as program that may need removal using control panel/programs/uninstall a program.



                  If you do all that before loading the correct driver package and try to keep the Com device inserted in the same port rather than moving it around your ports you will have fewer problems with the Prolific driver.






                  share|improve this answer
























                    6












                    6








                    6






                    Resolving USB driver issues



                    Method Using Elevated Command Prompt



                    ie type cmd in search bar then right click cmd.exe selecting Run as Administrator



                    • 1st stage As discussed from command prompt type;
                    set devmgr_show_non_present_devices=1
                    devmgmt.msc



                        Under Ports (Com & LPT) delete all instances of  prolific USB to Serial Comm Port


                    • 2nd Stage Again from Elevated Command Prompt - Remove Driver Packages from drivers store.
                    The driver store is a protected area of the computer that contains device driver packages that have been approved for installation on the computer



                        You need to Identify OEM#.inf  where # is a number so type 
                    pnputil.exe -e (then enter)

                    Read the entries in the output to find the description of your package(s) and its file name(s)


                    Its highly likely you will have multiple entries from previous attempts.


                    Note all oem###.inf instances of the prolific driver where # (hash) is the number.



                        To remove entries type:
                    pnputil.exe -d oem###.inf


                    (use space between exe & - and d & Oem then press enter)
                    Remember to replace # with the number of the inf file you want to delete.



                    If the computer reports that the driver package is in use by a currently installed device, then you must either uninstall the device first, or use the -f on the pnputil command to force deletion of the package.



                    Also you may have driver package loaded on as program that may need removal using control panel/programs/uninstall a program.



                    If you do all that before loading the correct driver package and try to keep the Com device inserted in the same port rather than moving it around your ports you will have fewer problems with the Prolific driver.






                    share|improve this answer












                    Resolving USB driver issues



                    Method Using Elevated Command Prompt



                    ie type cmd in search bar then right click cmd.exe selecting Run as Administrator



                    • 1st stage As discussed from command prompt type;
                    set devmgr_show_non_present_devices=1
                    devmgmt.msc



                        Under Ports (Com & LPT) delete all instances of  prolific USB to Serial Comm Port


                    • 2nd Stage Again from Elevated Command Prompt - Remove Driver Packages from drivers store.
                    The driver store is a protected area of the computer that contains device driver packages that have been approved for installation on the computer



                        You need to Identify OEM#.inf  where # is a number so type 
                    pnputil.exe -e (then enter)

                    Read the entries in the output to find the description of your package(s) and its file name(s)


                    Its highly likely you will have multiple entries from previous attempts.


                    Note all oem###.inf instances of the prolific driver where # (hash) is the number.



                        To remove entries type:
                    pnputil.exe -d oem###.inf


                    (use space between exe & - and d & Oem then press enter)
                    Remember to replace # with the number of the inf file you want to delete.



                    If the computer reports that the driver package is in use by a currently installed device, then you must either uninstall the device first, or use the -f on the pnputil command to force deletion of the package.



                    Also you may have driver package loaded on as program that may need removal using control panel/programs/uninstall a program.



                    If you do all that before loading the correct driver package and try to keep the Com device inserted in the same port rather than moving it around your ports you will have fewer problems with the Prolific driver.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Apr 10 '12 at 15:05









                    AntonyAntony

                    981912




                    981912























                        0














                        I have a simple solution that worked for me... my count was up to 45 com ports in use!



                        1) Open Device Manager



                        2) From the View menu, select 'Show Hidden Devices'



                        3) Expand 'Ports (COM & LPT)' category from the list



                        4) Right-click on all the devices and remove them (no need to tick to delete the driver)



                        5) From the Action menu, select 'Scan for New Devices'



                        6) Viola! All the actual devices will be re-allocated from COM1






                        share|improve this answer





















                        • voila not viola
                          – Jason S
                          Jun 9 '16 at 20:51










                        • This has already been proposed in an existing upvoted answer.
                          – guest-vm
                          Apr 3 '18 at 16:02
















                        0














                        I have a simple solution that worked for me... my count was up to 45 com ports in use!



                        1) Open Device Manager



                        2) From the View menu, select 'Show Hidden Devices'



                        3) Expand 'Ports (COM & LPT)' category from the list



                        4) Right-click on all the devices and remove them (no need to tick to delete the driver)



                        5) From the Action menu, select 'Scan for New Devices'



                        6) Viola! All the actual devices will be re-allocated from COM1






                        share|improve this answer





















                        • voila not viola
                          – Jason S
                          Jun 9 '16 at 20:51










                        • This has already been proposed in an existing upvoted answer.
                          – guest-vm
                          Apr 3 '18 at 16:02














                        0












                        0








                        0






                        I have a simple solution that worked for me... my count was up to 45 com ports in use!



                        1) Open Device Manager



                        2) From the View menu, select 'Show Hidden Devices'



                        3) Expand 'Ports (COM & LPT)' category from the list



                        4) Right-click on all the devices and remove them (no need to tick to delete the driver)



                        5) From the Action menu, select 'Scan for New Devices'



                        6) Viola! All the actual devices will be re-allocated from COM1






                        share|improve this answer












                        I have a simple solution that worked for me... my count was up to 45 com ports in use!



                        1) Open Device Manager



                        2) From the View menu, select 'Show Hidden Devices'



                        3) Expand 'Ports (COM & LPT)' category from the list



                        4) Right-click on all the devices and remove them (no need to tick to delete the driver)



                        5) From the Action menu, select 'Scan for New Devices'



                        6) Viola! All the actual devices will be re-allocated from COM1







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Nov 8 '15 at 5:28









                        Paul PritsisPaul Pritsis

                        91




                        91












                        • voila not viola
                          – Jason S
                          Jun 9 '16 at 20:51










                        • This has already been proposed in an existing upvoted answer.
                          – guest-vm
                          Apr 3 '18 at 16:02


















                        • voila not viola
                          – Jason S
                          Jun 9 '16 at 20:51










                        • This has already been proposed in an existing upvoted answer.
                          – guest-vm
                          Apr 3 '18 at 16:02
















                        voila not viola
                        – Jason S
                        Jun 9 '16 at 20:51




                        voila not viola
                        – Jason S
                        Jun 9 '16 at 20:51












                        This has already been proposed in an existing upvoted answer.
                        – guest-vm
                        Apr 3 '18 at 16:02




                        This has already been proposed in an existing upvoted answer.
                        – guest-vm
                        Apr 3 '18 at 16:02











                        0














                        These did not work for me. But official Microsoft help page worked for me.



                        From https://support.microsoft.com/en-us/kb/222018




                        • In the Printers folder, click Server Properties on the File menu.

                        • Click the Ports tab, click the port you want to remove, click Delete Port, and then click OK.






                        share|improve this answer



















                        • 1




                          Does this actually work for serial ports, on Windows 7? Also, you're supposed to summarize the link contents in your answer, instead of just providing the link, in case link rot happens.
                          – AndrejaKo
                          Jun 14 '16 at 13:15
















                        0














                        These did not work for me. But official Microsoft help page worked for me.



                        From https://support.microsoft.com/en-us/kb/222018




                        • In the Printers folder, click Server Properties on the File menu.

                        • Click the Ports tab, click the port you want to remove, click Delete Port, and then click OK.






                        share|improve this answer



















                        • 1




                          Does this actually work for serial ports, on Windows 7? Also, you're supposed to summarize the link contents in your answer, instead of just providing the link, in case link rot happens.
                          – AndrejaKo
                          Jun 14 '16 at 13:15














                        0












                        0








                        0






                        These did not work for me. But official Microsoft help page worked for me.



                        From https://support.microsoft.com/en-us/kb/222018




                        • In the Printers folder, click Server Properties on the File menu.

                        • Click the Ports tab, click the port you want to remove, click Delete Port, and then click OK.






                        share|improve this answer














                        These did not work for me. But official Microsoft help page worked for me.



                        From https://support.microsoft.com/en-us/kb/222018




                        • In the Printers folder, click Server Properties on the File menu.

                        • Click the Ports tab, click the port you want to remove, click Delete Port, and then click OK.







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Jun 15 '16 at 10:17

























                        answered Jun 14 '16 at 7:56









                        Nasif Md. TanjimNasif Md. Tanjim

                        12628




                        12628








                        • 1




                          Does this actually work for serial ports, on Windows 7? Also, you're supposed to summarize the link contents in your answer, instead of just providing the link, in case link rot happens.
                          – AndrejaKo
                          Jun 14 '16 at 13:15














                        • 1




                          Does this actually work for serial ports, on Windows 7? Also, you're supposed to summarize the link contents in your answer, instead of just providing the link, in case link rot happens.
                          – AndrejaKo
                          Jun 14 '16 at 13:15








                        1




                        1




                        Does this actually work for serial ports, on Windows 7? Also, you're supposed to summarize the link contents in your answer, instead of just providing the link, in case link rot happens.
                        – AndrejaKo
                        Jun 14 '16 at 13:15




                        Does this actually work for serial ports, on Windows 7? Also, you're supposed to summarize the link contents in your answer, instead of just providing the link, in case link rot happens.
                        – AndrejaKo
                        Jun 14 '16 at 13:15











                        0














                        I found that this tool works excellently for this issue.



                        Device Remover
                        https://www.majorgeeks.com/files/details/device_remover_543c.html



                        Just load it up, click on "Display Mode", "Show only hidden/detached devices", Check "Ports" (which selects all the unused com ports), then click "Remove all checked", and confirm the removal when the warning appears.



                        Cheers!



                        ~Andrew



                        EmpoweringSolutions.net






                        share|improve this answer


























                          0














                          I found that this tool works excellently for this issue.



                          Device Remover
                          https://www.majorgeeks.com/files/details/device_remover_543c.html



                          Just load it up, click on "Display Mode", "Show only hidden/detached devices", Check "Ports" (which selects all the unused com ports), then click "Remove all checked", and confirm the removal when the warning appears.



                          Cheers!



                          ~Andrew



                          EmpoweringSolutions.net






                          share|improve this answer
























                            0












                            0








                            0






                            I found that this tool works excellently for this issue.



                            Device Remover
                            https://www.majorgeeks.com/files/details/device_remover_543c.html



                            Just load it up, click on "Display Mode", "Show only hidden/detached devices", Check "Ports" (which selects all the unused com ports), then click "Remove all checked", and confirm the removal when the warning appears.



                            Cheers!



                            ~Andrew



                            EmpoweringSolutions.net






                            share|improve this answer












                            I found that this tool works excellently for this issue.



                            Device Remover
                            https://www.majorgeeks.com/files/details/device_remover_543c.html



                            Just load it up, click on "Display Mode", "Show only hidden/detached devices", Check "Ports" (which selects all the unused com ports), then click "Remove all checked", and confirm the removal when the warning appears.



                            Cheers!



                            ~Andrew



                            EmpoweringSolutions.net







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Aug 22 '18 at 18:41









                            EmpoweringSolutions.netEmpoweringSolutions.net

                            1




                            1























                                -1














                                (For those who came from google)



                                If previos answer doesn't work and has installed windows mobile 6 SDK. It may be problem with XPVCOM.SYS (this driver reserved 14 COM ports) To uninstall in console



                                CD Program FilesWindows Mobile 6 SDKToolsCellular Emulator



                                InstallXPVCom.exe UnInstall



                                then reboot.






                                share|improve this answer


























                                  -1














                                  (For those who came from google)



                                  If previos answer doesn't work and has installed windows mobile 6 SDK. It may be problem with XPVCOM.SYS (this driver reserved 14 COM ports) To uninstall in console



                                  CD Program FilesWindows Mobile 6 SDKToolsCellular Emulator



                                  InstallXPVCom.exe UnInstall



                                  then reboot.






                                  share|improve this answer
























                                    -1












                                    -1








                                    -1






                                    (For those who came from google)



                                    If previos answer doesn't work and has installed windows mobile 6 SDK. It may be problem with XPVCOM.SYS (this driver reserved 14 COM ports) To uninstall in console



                                    CD Program FilesWindows Mobile 6 SDKToolsCellular Emulator



                                    InstallXPVCom.exe UnInstall



                                    then reboot.






                                    share|improve this answer












                                    (For those who came from google)



                                    If previos answer doesn't work and has installed windows mobile 6 SDK. It may be problem with XPVCOM.SYS (this driver reserved 14 COM ports) To uninstall in console



                                    CD Program FilesWindows Mobile 6 SDKToolsCellular Emulator



                                    InstallXPVCom.exe UnInstall



                                    then reboot.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Nov 11 '16 at 7:37









                                    ZtareKQFZtareKQF

                                    1




                                    1























                                        -1














                                        For those who do not want to use the CMD line interface I use this in Windows 7.




                                        1. Open Control Panel

                                        2. Select "SYSTEM" from the menu

                                        3. Select "ADVANCED SYSTEM SETTINGS" on the left

                                        4. Select "ENVIRONMENT VARIABLES" on the bottom right of the box

                                        5. Look for "DEVMGR_SHOW_NONPRESENT_DEVICES" in the System Variables
                                          list. If it is not there create it and assign it a variable value of


                                          1. Back out with OK, OK, OK. You are now back in the Control panel screen.



                                        6. Select "Device Manager" and go to "View"

                                        7. Select "Show Hidden Devices" and all hidden devices including the
                                          Comm ports will be shown greyed out or Ghosted.

                                        8. Select the ones you want to remove, right click and select
                                          "Uninstall"






                                        share|improve this answer



















                                        • 3




                                          This has already been proposed in an existing upvoted answer.
                                          – guest-vm
                                          Apr 3 '18 at 15:53


















                                        -1














                                        For those who do not want to use the CMD line interface I use this in Windows 7.




                                        1. Open Control Panel

                                        2. Select "SYSTEM" from the menu

                                        3. Select "ADVANCED SYSTEM SETTINGS" on the left

                                        4. Select "ENVIRONMENT VARIABLES" on the bottom right of the box

                                        5. Look for "DEVMGR_SHOW_NONPRESENT_DEVICES" in the System Variables
                                          list. If it is not there create it and assign it a variable value of


                                          1. Back out with OK, OK, OK. You are now back in the Control panel screen.



                                        6. Select "Device Manager" and go to "View"

                                        7. Select "Show Hidden Devices" and all hidden devices including the
                                          Comm ports will be shown greyed out or Ghosted.

                                        8. Select the ones you want to remove, right click and select
                                          "Uninstall"






                                        share|improve this answer



















                                        • 3




                                          This has already been proposed in an existing upvoted answer.
                                          – guest-vm
                                          Apr 3 '18 at 15:53
















                                        -1












                                        -1








                                        -1






                                        For those who do not want to use the CMD line interface I use this in Windows 7.




                                        1. Open Control Panel

                                        2. Select "SYSTEM" from the menu

                                        3. Select "ADVANCED SYSTEM SETTINGS" on the left

                                        4. Select "ENVIRONMENT VARIABLES" on the bottom right of the box

                                        5. Look for "DEVMGR_SHOW_NONPRESENT_DEVICES" in the System Variables
                                          list. If it is not there create it and assign it a variable value of


                                          1. Back out with OK, OK, OK. You are now back in the Control panel screen.



                                        6. Select "Device Manager" and go to "View"

                                        7. Select "Show Hidden Devices" and all hidden devices including the
                                          Comm ports will be shown greyed out or Ghosted.

                                        8. Select the ones you want to remove, right click and select
                                          "Uninstall"






                                        share|improve this answer














                                        For those who do not want to use the CMD line interface I use this in Windows 7.




                                        1. Open Control Panel

                                        2. Select "SYSTEM" from the menu

                                        3. Select "ADVANCED SYSTEM SETTINGS" on the left

                                        4. Select "ENVIRONMENT VARIABLES" on the bottom right of the box

                                        5. Look for "DEVMGR_SHOW_NONPRESENT_DEVICES" in the System Variables
                                          list. If it is not there create it and assign it a variable value of


                                          1. Back out with OK, OK, OK. You are now back in the Control panel screen.



                                        6. Select "Device Manager" and go to "View"

                                        7. Select "Show Hidden Devices" and all hidden devices including the
                                          Comm ports will be shown greyed out or Ghosted.

                                        8. Select the ones you want to remove, right click and select
                                          "Uninstall"







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Apr 3 '18 at 16:18









                                        PeterH

                                        3,44332246




                                        3,44332246










                                        answered Apr 3 '18 at 15:17









                                        Gary Karli - Com TechGary Karli - Com Tech

                                        1




                                        1








                                        • 3




                                          This has already been proposed in an existing upvoted answer.
                                          – guest-vm
                                          Apr 3 '18 at 15:53
















                                        • 3




                                          This has already been proposed in an existing upvoted answer.
                                          – guest-vm
                                          Apr 3 '18 at 15:53










                                        3




                                        3




                                        This has already been proposed in an existing upvoted answer.
                                        – guest-vm
                                        Apr 3 '18 at 15:53






                                        This has already been proposed in an existing upvoted answer.
                                        – guest-vm
                                        Apr 3 '18 at 15:53







                                        protected by Community Dec 11 '18 at 9:14



                                        Thank you for your interest in this question.
                                        Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                        Would you like to answer one of these unanswered questions instead?



                                        Popular posts from this blog

                                        Сан-Квентин

                                        Алькесар

                                        Josef Freinademetz