Windows 7 Fog Client Printer Management Failure
-
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.
-
@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.
-
-
------------------------------------------------------------------------------ ----------------------------------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
-
@AngryScientist that is the
.fog_user.log
file, printer adding is done in the main log (fog.log
). -
@Joe-Schmitt
If that is located on the fog server, where would it be located? -
@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.
-
@AngryScientist
fog.log
is found one the host computer (usuallyC:\fog.log
orC:\Program Files (x86)\FOG\fog.log
) -
@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.
-
@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.
-
---------------------------------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 ```
-
@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
. -
@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.
-
@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.
-
@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 ------------------------------------------------------------------------------