Deploying printer Group Policy PReferences Warning
So we have had a new 2008 server installed at the beginning of the holidays to run SIMS so I thought I'd use it for some of the management side of things to such as deploying printers.
So, I've set up a test OU and created the user preference to deploy a printer to that machine using update and then turned the loopback processing on so that it gets processed and set as the default, then linked the policy to the test OU and tried it out.
So the printer seems to install without problem and I can check the options and everything, however was just glancing through the event log and spotted this:
Event Type: Warning
Event Source: Group Policy Printers
Event Category: (2)
Event ID: 4099
User: NT AUTHORITY\SYSTEM
The client-side extension could not log RSoP data because it failed with error code '0x80041002 <unknown-message-text>'.
I wouldn't worry too much since it's the logging that's not happy, not the printer install.
Meanwhile, that error code 0x80041002 appears to turn up in combination with WMI quite a bit and the WMI repository (system32\WBEM) is one of those places that can get mangled by badly made MSIs that have erroneously captured files from there etc.
One thing I've noticed about GPP is that it is extremely trigger-happy about writing to the Event Log, more so when the client is running XP. Some of the messages are utterly needless too: for example, if you set a File preference to delete a particular file, and it can't find the file (usually because it deleted it last time during a previous policy refresh and the file hasn't been recreated yet), it will log a warning to tell you the file doesn't exist.
Why would I care? I don't WANT the file to exist!
Clicking the tickbox to suppress the errors has no effect in my experience. In that particular instance I got around the message log pollution by setting a condition that only tried to apply the action if the file already existed.