Quantcast
Channel: Active Directory & GPO
Viewing all articles
Browse latest Browse all 20789

Group Policy Preferences not mapping printers to terminal server sessions

$
0
0

Hi Guys,

I made a post a long ways back here:

http://community.spiceworks.com/topic/327890-using-group-policy-preferences-to-change-the-default-pr...

I'm still struggling with this issue.  To recap there are 3 different locations.  Location A houses the domain controller (also acting as the terminal server). Locations B & C connect back to A via hardware vpn.  Locations B & C have Brother MFC printers.  They are installed and shared from the Domain Controller on location A. 

I have a group policy preference setup that connects & sets the default printer on the client PC at locations B & C as well as terminal server sessions that are initiated from B & Cs subnets.

The GPP is properly setting the default printer on the client PCs at each location, but it's not working in terminal server sessions.  I'm getting errors in event viewer for:

Group Policy object did not apply because it failed with error code '0x8007007b The filename, directory name, or volume label syntax is incorrect.

So I turned on logging and here is a little snippet.

Text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
2014-04-16 12:42:02.244 [pid=0x19c,tid=0x4ed8] Starting class  - Brother MFC7860DW Printer.
2014-04-16 12:42:02.244 [pid=0x19c,tid=0x4ed8] Starting filter [AND FilterTerminal].
2014-04-16 12:42:02.244 [pid=0x19c,tid=0x4ed8] Adding child elements to RSOP.
2014-04-16 12:42:02.244 [pid=0x19c,tid=0x4ed8] Session: 2367
2014-04-16 12:42:02.244 [pid=0x19c,tid=0x4ed8] Protocol: 2
2014-04-16 12:42:02.244 [pid=0x19c,tid=0x4ed8] Address Family: 2
2014-04-16 12:42:02.244 [pid=0x19c,tid=0x4ed8] IP Address: 300.250.2.103
2014-04-16 12:42:02.244 [pid=0x19c,tid=0x4ed8] Failed filter [FilterTerminal].
2014-04-16 12:42:02.244 [pid=0x19c,tid=0x4ed8] Starting filter [OR FilterGroup].
2014-04-16 12:42:02.244 [pid=0x19c,tid=0x4ed8] Adding child elements to RSOP.
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] Failed filter [FilterGroup].
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] Starting filter [OR FilterTerminal].
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] Adding child elements to RSOP.
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] Session: 2367
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] Protocol: 2
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] Address Family: 2
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] IP Address: 300.250.2.103
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] Passed filter [FilterTerminal].
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] Filters passed.
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] Set user security context.
2014-04-16 12:42:02.275 [pid=0x19c,tid=0x4ed8] Adding child elements to RSOP.
2014-04-16 12:42:02.291 [pid=0x19c,tid=0x4ed8] Properties handled. [ hr = 0x8007007b "The filename, directory name, or volume label syntax is incorrect." ]
2014-04-16 12:42:02.291 [pid=0x19c,tid=0x4ed8] Set system security context.
2014-04-16 12:42:02.291 [pid=0x19c,tid=0x4ed8] EVENT : The user 'Brother MFC7860DW Printer' preference item in the 'Map Drives and Print {3D4A23E6-1B16-46F9-8F43-C43492F72798}' Group Policy object did not apply because it failed with error code '0x8007007b The filename, directory name, or volume label syntax is incorrect.'%100790273
2014-04-16 12:42:02.291 [pid=0x19c,tid=0x4ed8] Error suppressed. [ hr = 0x8007007b "The filename, directory name, or volume label syntax is incorrect." ]
2014-04-16 12:42:02.291 [pid=0x19c,tid=0x4ed8] Completed class  - Brother MFC7860DW Printer.
2014-04-16 12:42:02.291 [pid=0x19c,tid=0x4ed8] Completed class .
2014-04-16 12:42:02.291 [pid=0x19c,tid=0x4ed8] Completed package execution.

What stands out to me is the IP address 300.250.2.1.  I have no idea where that came from.  


Viewing all articles
Browse latest Browse all 20789


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>