• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fog Adding Multiple Instances of a Printer?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    20
    3.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Joe Schmitt Senior Developer
      last edited by Joe Schmitt

      @Bstalker this means something is wrong with WMI. Open powershell as admin on the computer with the issue and run this command:
      Get-WmiObject -Query "select * from Win32_Printer" and post the output here.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      B 1 Reply Last reply Reply Quote 0
      • B
        BStalker @Joe Schmitt
        last edited by

        @Jbob said in Fog Adding Multiple Instances of a Printer?:

        @Bstalker this means something is wrong with WMI. Open powershell as admin on the computer with the issue and run this command:
        Get-WmiObject -Query "select * from Win32_Printer" and post the output here.

        InPS C:\Users\Administrator> Get-WmiObject -Query "select * from Win32_Printer"
        
        
        Location      :
        Name          : IT Office Color Printer (Copy 25)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 21)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 24)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 24)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 20)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 23)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 23)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 19)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 22)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 22)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 18)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 21)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 21)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 17)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 20)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 20)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 16)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 19)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 19)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 15)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 18)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 18)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 14)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 17)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 17)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 13)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 16)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 16)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 12)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 15)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 15)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 11)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 14)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 14)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 10)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 13)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 13)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 9)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 12)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 12)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 8)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 11)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 11)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 7)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 10)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 10)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 9)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 9)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 8)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 8)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 7)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 7)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 6)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 6)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 6)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 5)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 5)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 5)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 4)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 4)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 4)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 3)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 3)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 3)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 2)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 2)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 2)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Triumph (Copy 1)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : Mount Achievement (Copy 1)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Location      :
        Name          : IT Office Color Printer (Copy 1)
        PrinterState  : 0
        PrinterStatus : 3
        ShareName     :
        SystemName    : Windows10Test
        
        Get-WmiObject :
        At line:1 char:1
        + Get-WmiObject -Query "select * from Win32_Printer"
        + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMException
            + FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands.GetWmiObjectCommand`
        1 Reply Last reply Reply Quote 0
        • B
          BStalker
          last edited by

          @Jbob any thoughts on this based on the output of that powershell? Its not a huge issue on this as it is just a machine I’m using to test this with. I can wipe it and start over, however, I would like to know if there is a solution in the event this happens with a deployed machine. Thanks!

          1 Reply Last reply Reply Quote 0
          • J
            Joe Schmitt Senior Developer
            last edited by Joe Schmitt

            @BStalker if you wouldn’t mind, can you download and run “PrinterManagerHelper.exe” from https://github.com/FOGProject/fog-client/releases/tag/0.10.6 on this problem machine? I need to know if it runs and shows all of your printers, or if it throws an error.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            1 Reply Last reply Reply Quote 0
            • B
              BStalker
              last edited by BStalker

              @Jbob I have some other tasks I have to attend to first, but I should be done with those within the hour and can run the printhelper after. I will let you know the results.

              B 1 Reply Last reply Reply Quote 0
              • B
                BStalker @BStalker
                last edited by

                @Jbob

                Print Helper Tool ran without errors.

                0_1464048848293_Print Manager.png

                1 Reply Last reply Reply Quote 0
                • B
                  BStalker
                  last edited by

                  Updated Fog Server today to 7829 and the issue is no longer occurring.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joe Schmitt Senior Developer
                    last edited by

                    I have no idea why it’s fixed, or even why it was broken. @Tom-Elliott did you change anything?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Joe Schmitt
                      last edited by

                      @Jbob I can only guess from when the mode was sending null.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • B
                        BStalker
                        last edited by BStalker

                        @Jbob @Tom-Elliott
                        As a note I made no changes to the Client PC.

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @BStalker
                          last edited by

                          @BStalker you didn’t do anything wrong. Just informing what I think the issue was.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            BStalker @Tom Elliott
                            last edited by

                            @Tom-Elliott Just trying to give as much information as possible in case it manages to pop up as in issue in the future for someone else. Thanks for all the help you guys provide!

                            1 Reply Last reply Reply Quote 0
                            • J
                              Joe Schmitt Senior Developer
                              last edited by

                              v0.11 of the client will prevent duplicates. And if it detects duplicates exist, it will clean them up.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post

                              158

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project