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

    Windows 7 Fog Client Printer Management Failure

    Scheduled Pinned Locked Moved Unsolved
    Windows Problems
    3
    15
    3.1k
    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.
    • AngryScientistA
      AngryScientist
      last edited by

      Server
      • FOG Version: 1.3.0 RC 21
      • OS: RHEL 7/ CentOs 7
      Client
      • Service Version: 0.11.5
      • OS: Windows 7
      Description

      I followed the out of date Wiki instructions for printer management. I have a driver store set up on the network, and placed the drivers within. I added the printer to printer management, assigned my hosts to the printer and set the management level to FOG only.

      And nothing happens on the host! Viewing the FOG client log shows communication, but no changes are made.

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

        @AngryScientist we need more information. For example, providing the fog.log (or even just the printer manager section) would help. Also a screenshot of the printer configuration on the server would be of help as well.

        You can also try using the PrinterManagerHelper (https://github.com/FOGProject/fog-client/releases/download/0.11.7/PrinterManagerHelper.exe). Simply enter your printer configuration into it and hit add. It should provide an error message if there is one.

        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.

        AngryScientistA 1 Reply Last reply Reply Quote 0
        • AngryScientistA
          AngryScientist
          last edited by

          0_1481739910666_printerManagementMain.png
          0_1481739929452_printerManagementSub.png

          1 Reply Last reply Reply Quote 0
          • AngryScientistA
            AngryScientist
            last edited by

            
            ------------------------------------------------------------------------------
            ----------------------------------AutoLogOut----------------------------------
            ------------------------------------------------------------------------------
             12/14/2016 1:29 PM Client-Info Client Version: 0.11.5
             12/14/2016 1:29 PM Client-Info Client OS:      Windows
             12/14/2016 1:29 PM Client-Info Server Version: 1.3.0-RC-21
             12/14/2016 1:29 PM Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            -----------------------------DefaultPrinterManager----------------------------
            ------------------------------------------------------------------------------
             12/14/2016 1:29 PM Client-Info Client Version: 0.11.5
             12/14/2016 1:29 PM Client-Info Client OS:      Windows
             12/14/2016 1:29 PM Client-Info Server Version: 1.3.0-RC-21
             12/14/2016 1:29 PM Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            --------------------------------DisplayManager--------------------------------
            ------------------------------------------------------------------------------
             12/14/2016 1:29 PM Client-Info Client Version: 0.11.5
             12/14/2016 1:29 PM Client-Info Client OS:      Windows
             12/14/2016 1:29 PM Client-Info Server Version: 1.3.0-RC-21
             12/14/2016 1:29 PM Middleware::Response Success
             12/14/2016 1:29 PM DisplayManager ERROR: Invalid settings provided
            ------------------------------------------------------------------------------
            
             12/14/2016 1:29 PM Service Sleeping for 117 seconds
            
            1 Reply Last reply Reply Quote 0
            • J
              Joe Schmitt Senior Developer
              last edited by

              @AngryScientist that is the .fog_user.log file, printer adding is done in the main log (fog.log).

              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.

              AngryScientistA 1 Reply Last reply Reply Quote 0
              • AngryScientistA
                AngryScientist @Joe Schmitt
                last edited by

                @Joe-Schmitt
                If that is located on the fog server, where would it be located?

                1 Reply Last reply Reply Quote 0
                • AngryScientistA
                  AngryScientist @Joe Schmitt
                  last edited by AngryScientist

                  @Joe-Schmitt said in Windows 7 Fog Client Printer Management Failure:

                  @AngryScientist we need more information. For example, providing the fog.log (or even just the printer manager section) would help. Also a screenshot of the printer configuration on the server would be of help as well.

                  You can also try using the PrinterManagerHelper (https://github.com/FOGProject/fog-client/releases/download/0.11.7/PrinterManagerHelper.exe). Simply enter your printer configuration into it and hit add. It should provide an error message if there is one.

                  Played with the PrinterManagerHelper within the user account, and when adding a printer after a few seconds, a dialog box appears with the following message:

                  “You do not have permission to modify the settings for this printer. If you need to change the settings, contact your system administrator.”

                  When PrinterManagerHelper is used to add the very same printer within the administrator account the printer installs successfully.

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

                    @AngryScientist fog.log is found one the host computer (usually C:\fog.log or C:\Program Files (x86)\FOG\fog.log)

                    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.

                    AngryScientistA 1 Reply Last reply Reply Quote 1
                    • Wayne WorkmanW
                      Wayne Workman @AngryScientist
                      last edited by

                      @AngryScientist said in Windows 7 Fog Client Printer Management Failure:

                      “You do not have permission to modify the settings for this printer. If you need to change the settings, contact your system administrator.”

                      Run it as administrator. Right click -> run as admin.

                      And the FOG Client runs as system, so it would have the necessary access to manipulate and install printers.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      AngryScientistA 1 Reply Last reply Reply Quote 0
                      • AngryScientistA
                        AngryScientist @Wayne Workman
                        last edited by

                        @Wayne-Workman said in Windows 7 Fog Client Printer Management Failure:

                        @AngryScientist said in Windows 7 Fog Client Printer Management Failure:

                        “You do not have permission to modify the settings for this printer. If you need to change the settings, contact your system administrator.”

                        Run it as administrator. Right click -> run as admin.

                        And the FOG Client runs as system, so it would have the necessary access to manipulate and install printers.

                        The right-click run as admin does not work properly on the user account due to some group policy that is beyond my scope. However, if the host is logged in the administrator account, with identical settings, PrinterManagerHelper does successfully install the printer without error messages.

                        I am tracking down the fog.log as we speak.

                        1 Reply Last reply Reply Quote 0
                        • AngryScientistA
                          AngryScientist @Joe Schmitt
                          last edited by

                          @Joe-Schmitt

                          ---------------------------------ClientUpdater--------------------------------
                          ------------------------------------------------------------------------------
                           12/15/2016 9:53 AM Client-Info Client Version: 0.11.5
                           12/15/2016 9:53 AM Client-Info Client OS:      Windows
                           12/15/2016 9:53 AM Client-Info Server Version: 1.3.0-RC-21
                           12/15/2016 9:53 AM Middleware::Response Success
                          ------------------------------------------------------------------------------
                          
                          
                          ------------------------------------------------------------------------------
                          ----------------------------------TaskReboot----------------------------------
                          ------------------------------------------------------------------------------
                           12/15/2016 9:53 AM Client-Info Client Version: 0.11.5
                           12/15/2016 9:53 AM Client-Info Client OS:      Windows
                           12/15/2016 9:53 AM Client-Info Server Version: 1.3.0-RC-21
                           12/15/2016 9:53 AM Middleware::Response ERROR: Unable to get subsection
                           12/15/2016 9:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          --------------------------------HostnameChanger-------------------------------
                          ------------------------------------------------------------------------------
                           12/15/2016 9:53 AM Client-Info Client Version: 0.11.5
                           12/15/2016 9:53 AM Client-Info Client OS:      Windows
                           12/15/2016 9:53 AM Client-Info Server Version: 1.3.0-RC-21
                           12/15/2016 9:53 AM Middleware::Response ERROR: Unable to get subsection
                           12/15/2016 9:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          ---------------------------------SnapinClient---------------------------------
                          ------------------------------------------------------------------------------
                           12/15/2016 9:53 AM Client-Info Client Version: 0.11.5
                           12/15/2016 9:53 AM Client-Info Client OS:      Windows
                           12/15/2016 9:53 AM Client-Info Server Version: 1.3.0-RC-21
                           12/15/2016 9:53 AM Middleware::Response ERROR: Unable to get subsection
                           12/15/2016 9:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          --------------------------------PrinterManager--------------------------------
                          ------------------------------------------------------------------------------
                           12/15/2016 9:53 AM Client-Info Client Version: 0.11.5
                           12/15/2016 9:53 AM Client-Info Client OS:      Windows
                           12/15/2016 9:53 AM Client-Info Server Version: 1.3.0-RC-21
                           12/15/2016 9:53 AM Middleware::Response ERROR: Unable to get subsection
                           12/15/2016 9:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          --------------------------------PowerManagement-------------------------------
                          ------------------------------------------------------------------------------
                           12/15/2016 9:53 AM Client-Info Client Version: 0.11.5
                           12/15/2016 9:53 AM Client-Info Client OS:      Windows
                           12/15/2016 9:53 AM Client-Info Server Version: 1.3.0-RC-21
                           12/15/2016 9:53 AM Middleware::Response ERROR: Unable to get subsection
                           12/15/2016 9:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          ----------------------------------UserTracker---------------------------------
                          ------------------------------------------------------------------------------
                           12/15/2016 9:53 AM Client-Info Client Version: 0.11.5
                           12/15/2016 9:53 AM Client-Info Client OS:      Windows
                           12/15/2016 9:53 AM Client-Info Server Version: 1.3.0-RC-21
                           12/15/2016 9:53 AM Middleware::Response ERROR: Unable to get subsection
                           12/15/2016 9:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                           12/15/2016 9:53 AM Middleware::Communication URL: http://10.6.6.6/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                           12/15/2016 9:53 AM Middleware::Response Success
                           12/15/2016 9:53 AM Service Sleeping for 105 seconds ```
                          1 Reply Last reply Reply Quote 0
                          • J
                            Joe Schmitt Senior Developer
                            last edited by

                            @AngryScientist that log indicates your client is not authenticated with the server. To fix this, go to the host in the web portal and hit Reset Encryption Data.

                            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.

                            AngryScientistA 1 Reply Last reply Reply Quote 1
                            • AngryScientistA
                              AngryScientist @Joe Schmitt
                              last edited by

                              @Joe-Schmitt said in Windows 7 Fog Client Printer Management Failure:

                              @AngryScientist that log indicates your client is not authenticated with the server. To fix this, go to the host in the web portal and hit Reset Encryption Data.

                              It’s really that simple? Attempting now.

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @AngryScientist
                                last edited by

                                @AngryScientist said in Windows 7 Fog Client Printer Management Failure:

                                It’s really that simple? Attempting now.

                                Yup.

                                The error “Middleware::Response ERROR: Object reference not set to an instance of an object.” almost 99% of the time means the encryption token got messed up for the client, to fix you just reset encryption via web interface. Easy as pi.

                                However, why this keeps messing up on people, I don’t know.

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                AngryScientistA 1 Reply Last reply Reply Quote 0
                                • AngryScientistA
                                  AngryScientist @Wayne Workman
                                  last edited by AngryScientist

                                  @Wayne-Workman
                                  Reset complete - Had to restart the host to get the data to update. Now we have the “next” issue. I have the fog printer management set to “FOG Only”. The User Client goes about its business, removes all printers, then installs the printer specified for that host in the server.

                                  Except it doesn’t.

                                  I now have very panicky users who are baffled that their printers vanished. I have changed the printer management level to FOG Managed to prevent the manually installed temp printer driver/software from being removed.

                                  ------------------------------------------------------------------------------
                                  --------------------------------PrinterManager--------------------------------
                                  ------------------------------------------------------------------------------
                                   12/15/2016 12:41 PM Client-Info Client Version: 0.11.5
                                   12/15/2016 12:41 PM Client-Info Client OS:      Windows
                                   12/15/2016 12:41 PM Client-Info Server Version: 1.3.0-RC-21
                                   12/15/2016 12:41 PM Middleware::Response No Printers
                                   12/15/2016 12:41 PM PrinterManager Getting installed printers
                                  ------------------------------------------------------------------------------
                                  
                                  ------------------------------------------------------------------------------
                                  --------------------------------PrinterManager--------------------------------
                                  ------------------------------------------------------------------------------
                                   12/15/2016 12:42 PM Client-Info Client Version: 0.11.5
                                   12/15/2016 12:42 PM Client-Info Client OS:      Windows
                                   12/15/2016 12:42 PM Client-Info Server Version: 1.3.0-RC-21
                                   12/15/2016 12:42 PM Middleware::Response ERROR: Unable to get subsection
                                   12/15/2016 12:42 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
                                  
                                  
                                  **** Reset Encryption Data Again... ****
                                  **** Restarted Host ****
                                  
                                  ------------------------------------------------------------------------------
                                  --------------------------------PrinterManager--------------------------------
                                  ------------------------------------------------------------------------------
                                   12/15/2016 12:52 PM Client-Info Client Version: 0.11.5
                                   12/15/2016 12:52 PM Client-Info Client OS:      Windows
                                   12/15/2016 12:52 PM Client-Info Server Version: 1.3.0-RC-21
                                   12/15/2016 12:52 PM Middleware::Response Success
                                   12/15/2016 12:52 PM PrinterManager Getting installed printers
                                   12/15/2016 12:52 PM PrinterManager Adding printers
                                   12/15/2016 12:52 PM Printer Adding: (20) Tech Supply Color MFP
                                   12/15/2016 12:52 PM Printer --> IP = 10.6.6.20
                                   12/15/2016 12:52 PM Printer --> Port = 10.6.6.20
                                   12/15/2016 12:52 PM Printer --> File = \\10.6.6.251\driver\HP_UPD_PCL6\hpcu190u.inf
                                   12/15/2016 12:52 PM Printer --> Config = 
                                   12/15/2016 12:52 PM Printer --> Model = HP Universal Printing PCL 6
                                   12/15/2016 12:52 PM PrinterManager PrintUI return code = 0
                                   12/15/2016 12:52 PM PrinterManager Restarting spooler
                                  ------------------------------------------------------------------------------
                                  
                                  

                                  0_1481824405352_fogprintwhere.png

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

                                  248

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project