We've got a network of Windows 7 PCs all joined to a domain with Server 2008R2. I've set up a user group policy object that does the following:
Delete all shared printers
Add each printer in turn, setting a single (dummy one) as a default
This is via the Preferences > Control Panel Settings > Printers option.
When users logon it appears to be entirely random whether or not they get those printers added. Checking event viewer on an affected logon, Group Policy Printers reports the following error: Group Policy object did not apply because it failed with error code '0x80070704 The specified port is unknown.' This error was suppressed.
If I then try and perform a 'manual' setup by typing the server hostname and printer share into Explorer I get the same error 'The specified port is unknown'.
I thought I'd fixed it by changing the GPO settings to map printers using the server IP address but the issue is still occurring. I've also tried using a new, untouched profile with the same results. As I'm sure you'll all understand this is becoming more than a little frustrating now, especially when there's no apparent logic to it.
Any thoughts on the next step of diagnosis? I've taken a brief look at the DNS servers thinking that might be the issue before I used IP addresses and run a dcdiag DNS test and all passed.
I should also point out that the whole room received the same windows image and have the same driver versions installed.
All help very gratefully received!