I have been told to cross-post on the GP forum from the following thread -http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/4c3aa24b-f467-4c80-aa23-48f6bf7fe53b/
This is the 2nd repost of this topic (agan requested in the original thread) previous thread is at - http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/9e30aa6d-633a-4410-b3c0-0ad1e426020a
Hi,
We have been having problems with printers deployed using Group Policy since we migrated to a 2008R2 print server. I do not know if it’s the 2008R2 print server, or the Group Policy deployment or Windows 7 that is causing the issue. We were previously deploying printers by scripting the installation of printers with a 2003R2 server.
So, printers either disappear from the user’s printers and devices completely, or the printer is in the list but not functioning when printing from an application (some users are able to print, but the defaults deployed with the printers driver are not correct). In the case of a printer being in the list but not able to print to, when the printer selected from “Printers and Devices” an error prompts the user either informing them the printer is not available, or that no driver is installed.
The printers do not disappear in any logical method. It can be when the user first logs in in the morning or they could have just printed a document and when printing another document immediately after, the printer is missing.
They are deployed in a user policy, and “Applying group policy printers policy” happens at logon. A “gpupdate /force” will reinstall the printers without issue, as we have them ordered as “1 – Delete All” followed by 24 printers that are marked with the action to “Update”. They are targeted by the PC’s security group therefore deployed by location. Running “gpupdate /force” with the “Printers and Devices” open you can see it perform the tasks as set in the policy.
I have seen similar issues with the Group Policy mapped drives disappearing, as well as intermittent loss of redirected desktop (for which a refresh restores all icons).
I have followed the following KB articles, and had no luck with any of them resolving the problem.
Mapped Drives -http://support.microsoft.com/kb/297684
Network Cards Sleeping -http://support.microsoft.com/kb/837058
Redirected Folders and Home Drives Disappearing -http://support.microsoft.com/kb/981872
Network Locations and UAC -http://support.microsoft.com/kb/937624
As I cannot replicate the problem due to the nature in which the printers disappear, I cannot open a support request. Any progress in discovering what this issue is would be greatly appreciated, as many of my users are getting frustrated with the need to perform “gpupdate /force” or a log off/on to resolve the issue.
I also noticed the following post when setting up this request, however from reading the details it only applies to Server 2003R2 Print servers, and was resolved in 2008R2 - http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/7ab3e2a9-832c-4504-8d97-c7199bcc207e
Clients are Windows 7 Enterprise SP1 (both x86 and x64), server is a Hyper-V 2008R2 SP1 virtual machine on a Server 2008R2 SP1 Hyper-V host. The problems also existed before SP1.
From the previous post’s recommendations are the following updates.
Update 1 – Test with Windows XP
OK. We have a Windows XP machine up and running and will hopefully get some results today / tomorrow.
I have picked up the following Event Logs from a few people's machines that experience the problem, the common error seems to be as follows (I lost 1 printer this morning).
The user 'BURSARY-ColourCopier' preference item in the 'User Policy - Base {E1631A9F-2A31-461C-9FDF-BCD42202FBA4}' Group Policy object did not apply because it failed with error code '0x8007000a The environment is incorrect.' This error was suppressed.
The user 'ACCOUNTS-Laser' preference item in the 'User Policy - Base {E1631A9F-2A31-461C-9FDF-BCD42202FBA4}' Group Policy object did not apply because it failed with error code '0x8007000a The environment is incorrect.' This error was suppressed.
These are two completely difference printers, the Bursary machine is a Sharp MX-3100n MFP, the Accounts machine is a Kyocera FS-6970DN Laser. Not sure if they are of any use, googling them only recommends enabling "wait for network at computer startup" and disabling Fast user switching. Which we already have in place.
Update 2 – XP Machine Update
XP machine running fine so far.
I have lost our office printer (HP LaserJet P2055dn) @ 10:37 (having logged on at 8.55am and not left my machine all morning).
The user 'ITSUPPORT-Laser' preference item in the 'User Policy - Base {E1631A9F-2A31-461C-9FDF-BCD42202FBA4}' Group Policy object did not apply because it failed with error code '0x8007000a The environment is incorrect.' This error was suppressed.
My colleague has lost the photocopier (SHARP MX-3100n) @ 10:40 (having logged in at 8.50am and not left the machine all morning)
The user 'BURSARY-ColourCopier' preference item in the 'User Policy - Base {E1631A9F-2A31-461C-9FDF-BCD42202FBA4}' Group Policy object did not apply because it failed with error code '0x8007000a The environment is incorrect.' This error was suppressed.
Strange thing is I have not lost the BURSARY copier, and my colleague has not lost the ITSUPPORT laser.
Update 3 – Recommended to enforce “RemovePrintersAtLogoff”
Had a printer go missing first thing this morning dispite the RemovePrintersAtLogoff being defined.
The user 'BURSARY-ColourCopier' preference item in the 'User Policy - Base {E1631A9F-2A31-461C-9FDF-BCD42202FBA4}' Group Policy object did not apply because it failed with error code '0x8007000a The environment is incorrect.' This error was suppressed.
I will deploy another reg entry to disable the "Asynchronous RPC" and see if that makes a difference.
Update 4 – Recommended to remove Asynchronous RPC on Clients
Having applied the Asyncronous RPC reg entriy (as below) -
Windows 7 will try to communicate to the print server via the Asynchronous RPC protocol, to disallow the use of the Asyncronous RPC protocol on the client, configure the following registry value:
Path: HKLM\Software\Policies\Microsoft\Windows NT\Printers\EnabledProtocols
Type: DWORD
Data: 6
At 13:16 today I got the following Event
The user 'BURSARY-ColourCopier' preference item in the 'User Policy - Base {E1631A9F-2A31-461C-9FDF-BCD42202FBA4}' Group Policy object did not apply because it failed with error code '0x8007000a The environment is incorrect.' This error was suppressed.
Printer is missing from my Devices and Printers list. Running a "GPUpdate /force" and everything returns to normal.
Hopefully we can get to the bottom of this soon,
Many thanks,
Simon Roberts
Many thanks, Simon Roberts