Group Policy Printers disappearing

Posted on 2013-06-03
Medium Priority
Last Modified: 2013-09-17
Hi Experts, we have newly deployed Windows 7 PCs losing network printer randomly.  In the same network, we have older Windows XP machines that do not exhibit the same issue.

Details:Whe a user reports not being able to select a printer from their application, the networked printer is missing from Windows within 'Devices and Printers'. A restart or GPupdate will return the printer to the system. Again, this same behavior is seen on multiple (newly Deployed Windows 7 workstations) systems pointed to other networked printers.    NOTE:  I have tried adding the registry entry suggested in the article below, but the error resurfaces.   CLICK HERE FOR ARTICLE

Error in EVTveiwer is seen as below.
Log Name:      Application
Source:        Group Policy Printers
Date:          6/3/2013 11:50:45 AM
Event ID:      4098
Task Category: (2)
Level:         Warning
Keywords:      Classic
User:          SYSTEM
The user 'MY NETWORKED PRINTER' preference item in the 'MY Printer Policy {5C8712CF-533C-438E-9542-0155F842E8CD}' Group Policy object did not apply because it failed with error code '0x8007000a The environment is incorrect.' This error was suppressed.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <Provider Name="Group Policy Printers" />
    <EventID Qualifiers="34305">4098</EventID>
    <TimeCreated SystemTime="2013-06-03T15:50:45.000000000Z" />
    <Security UserID="S-1-5-18" />
    <Data>MY Printer Policy {5C8712CF-533C-438E-9542-0155F842E8CD}</Data>
    <Data>0x8007000a The environment is incorrect.</Data>
Question by:davis
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3

Expert Comment

ID: 39217463
Some extra information requested....

Are the printers missing, or is is it the print spooler that dies (which results in al printers missing)....????

I had a similair problem once, when i had a bad driver for Windows 7, which caused a spooler problem.   --> result, spooler did exit and i was not be able to print.  A reboot did the job..

How did i fix this. I removed all the printer drivers i had installed and i reinstalled them. I assured that i had proper drivers for all my printers.

Good luck troubleshooting. !!!

Author Comment

ID: 39217906
it appears to be related to GP, not The spooler dying on the workstations - spooler dying would be shown in the evt viewer but is not seen. The best evidence I have is contained within the EVT log I included in the post. As well, if the Print server spooler was dying, the issue would be of broader scale.  The current print server suppports hundreds of printers within the organization. More users (of XP workstations) would be reporting printing issues.  What does the log message '0x8007000a The environment is incorrect' mean?  Isn't this message providing some important detail for the root cause?

Accepted Solution

msifox earned 2000 total points
ID: 39223406
I found that Windows 7 is more picky than Windows XP regarding these settings:
- Always wait for the network at computer startup and logon to the computer.
- Maximum wait time for Group Policy scrips.
Both are in Computer Configuration\Administrative Templates\System\Logon
Enable them and set the wait time to 30 seconds.
If they are not set, XP will work fine here, but Windows 7 is unreliable.

Author Comment

ID: 39230373
This is good feedback.  I am still noticing warnings in the EVTvwr, so I will see about adding the changes listed above and provide an update first of next week.  thank you - Davis

Author Closing Comment

ID: 39499731
This issue is now resolved.  The problem was due to Group Policy.  Had to make a change on the group policy in the way the printer is being deployed to the workstation.  I could not get the specifics from the System Admin who made the change but believe it was most closely related to the post my msifox.  thanks

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
Here's a look at newsworthy articles and community happenings during the last month.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Suggested Courses
Course of the Month12 days, 16 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question