Printer Deployment
-
@Joe-Gill try resetting encryption data for that host and see if things are better. In any case this is a server issue @Tom-Elliott
-
How do I reset encryption data for that host?
-
Go to the host in your fog web portal and there should be a large reset encryption button on the top.
-
That worked to resolve the “Middleware::Response ERROR…”
---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 7/11/2016 11:21 AM Client-Info Client Version: 0.11.3 7/11/2016 11:21 AM Client-Info Client OS: Windows 7/11/2016 11:21 AM Client-Info Server Version: 8515 7/11/2016 11:21 AM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 7/11/2016 11:21 AM Client-Info Client Version: 0.11.3 7/11/2016 11:21 AM Client-Info Client OS: Windows 7/11/2016 11:21 AM Client-Info Server Version: 8515 7/11/2016 11:21 AM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 7/11/2016 11:21 AM Client-Info Client Version: 0.11.3 7/11/2016 11:21 AM Client-Info Client OS: Windows 7/11/2016 11:21 AM Client-Info Server Version: 8515 7/11/2016 11:21 AM Middleware::Response Success 7/11/2016 11:21 AM HostnameChanger Checking Product Key Activation 7/11/2016 11:21 AM HostnameChanger Already activated with correct key 7/11/2016 11:21 AM HostnameChanger Checking Hostname 7/11/2016 11:21 AM HostnameChanger Hostname is correct 7/11/2016 11:21 AM HostnameChanger Attempting to join active directory 7/11/2016 11:21 AM HostnameChanger The machine is already joined to the domain, code = 2691 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 7/11/2016 11:21 AM Client-Info Client Version: 0.11.3 7/11/2016 11:21 AM Client-Info Client OS: Windows 7/11/2016 11:21 AM Client-Info Server Version: 8515 7/11/2016 11:21 AM Middleware::Response No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 7/11/2016 11:21 AM Client-Info Client Version: 0.11.3 7/11/2016 11:21 AM Client-Info Client OS: Windows 7/11/2016 11:21 AM Client-Info Server Version: 8515 7/11/2016 11:21 AM Middleware::Response Success 7/11/2016 11:21 AM PrinterManager Getting installed printers 7/11/2016 11:21 AM PrinterManager Adding printers 7/11/2016 11:21 AM PrinterManager JH Lab has already been configured ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 7/11/2016 11:21 AM Client-Info Client Version: 0.11.3 7/11/2016 11:21 AM Client-Info Client OS: Windows 7/11/2016 11:21 AM Client-Info Server Version: 8515 7/11/2016 11:21 AM Middleware::Response Success 7/11/2016 11:21 AM PowerManagement Calculating tasks to unschedule 7/11/2016 11:21 AM PowerManagement Calculating tasks to schedule ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 7/11/2016 11:21 AM Client-Info Client Version: 0.11.3 7/11/2016 11:21 AM Client-Info Client OS: Windows 7/11/2016 11:21 AM Client-Info Server Version: 8515 7/11/2016 11:21 AM Middleware::Response Success ------------------------------------------------------------------------------ 7/11/2016 11:21 AM Middleware::Communication URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&configure&newService&json 7/11/2016 11:21 AM Middleware::Response Success 7/11/2016 11:21 AM Service Sleeping for 71 seconds 7/11/2016 11:23 AM Middleware::Communication URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&mac=C8:1F:66:3F:69:34||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json 7/11/2016 11:23 AM Middleware::Response Success 7/11/2016 11:23 AM Middleware::Communication URL: http://172.16.1.17/fog/service/getversion.php?clientver&newService&json 7/11/2016 11:23 AM Middleware::Communication URL: http://172.16.1.17/fog/service/getversion.php?newService&json 7/11/2016 11:23 AM Service Creating user agent cache 7/11/2016 11:23 AM Middleware::Response Success 7/11/2016 11:23 AM Middleware::Response Success 7/11/2016 11:23 AM Middleware::Response Module is disabled globally on the FOG server ------------------------------------------------------------------------------``` It does say that the "JH Lab" printer was installed but I do not see it in control panel on the printer? ![0_1468258604241_screen shot.png](/uploads/files/1468251036745-screen-shot.png)
-
It does say that the “JH Lab” printer was installed but I do not see it in the printer control panel.
-
Try logging out and in.
-
Same story. No printer.
-
Sounds like the printer configuration isn’t correct. Try running printer manager helper on this host and go to the Add New Printer tab. Fill in the necessary fields and try adding it. You should get an error pop up.
-
Will do! Thanks!
-
OK I ran the Printer Manager Helper and do not see my printer listed here at all. But I do not get a pop up with any errors either.
-
Alright… I figured out what you meant. I tried adding it and got an error. I’m assuming my install script did not install the inf properly.
-
Was it a bad driver? The ntprint inf is actually a wrapper driver that just points to any installed drivers that say they will work. You could just host the driver on a network share or even have a local copy that you point to. (Printer manager helper will always say its using ntprint as the driver though).
-
We use Xerox printers throughout the district and thankfully they all take the same generic driver. And yes, print manager is pointing me to ntprint.inf for the driver file. The installer we use is a gui so I have no idea where the actual driver file is located.
-
I found where Xerox installs the inf file… I’ll add that to one of our servers and push that out. Then go from there.
Thanks for making me think!
Cheers,
Joe
-
OK. So I can successfully make a script to copy the needed driver directory from my network share to my host machine.
robocopy "\\littledogs\tools$\drivers\printers\FOG\Xerox" "C:\Xerox" /E /IS
I save that file as a .cmd file and upload it to the fog server via snapin manager…
After that, I go to my host and deploy the snapin. I get no error messages. But the script does not produce said directories. I can go to the host machine and manually run the script without error.
Any ides?
-
I have also tried this in powershell with a different script with no luck. Script runs successfully outside of snapin.
Thanks!
Cheers!
-
Your network share needs to have anonymous read access enabled. Also, if you have that network share you can just set the driver field of the printer to the network share location of the inf. If you have 0.11.3 of the client you could also use SnapinPacks to deploy the driver.
-
Tell me more about SnapinPacks.
-
@Joe-Gill there is an announcement all about it. Look in announcements.
The reason the script runs manually is its run in the users security context. Snapins run in SYSTEM context. Set your share to anonymous read and it should work.
-
Thanks!
I set the permissions to Anonymous Log In Read/Execute and that worked.
One strange thing is that I had 4 of my hosts “fall off of the domain controller”. They loose their trust relationship with our server periodically. Wayne, we talked about this. Sometimes it’s because they get removed from the domain. In this case, it was absolutely not the case. The other admin said, that they do this periodically. We’ll have 3 or 4 a month drop off. You re-add them and everything is fine. Is this normal?
Thanks!
Cheers,
Joe