+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
Windows 7 Thread, Printing oddities - specified port is unknown in Technical; We've got a network of Windows 7 PCs all joined to a domain with Server 2008R2. I've set up a ...
  1. #1

    Join Date
    Jun 2007
    Location
    London
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Printing oddities - specified port is unknown

    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:

    1. Delete all shared printers
    2. 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!

  2. #2
    amvc's Avatar
    Join Date
    Oct 2007
    Posts
    136
    Thank Post
    39
    Thanked 14 Times in 12 Posts
    Rep Power
    18
    Hi

    Did you ever resolve this? I have exactly the same problem.

    Thanks

    Andrew

  3. #3
    eddyc's Avatar
    Join Date
    Aug 2008
    Location
    Bristol
    Posts
    432
    Thank Post
    98
    Thanked 47 Times in 43 Posts
    Rep Power
    21
    We had this issue too, and it was something to do with the printer port. We deleted the printer off of the print server (which was a HP2600n) and removed the port (we have 2 - to allow a MONO and a COLOUR option) and then we cycled the spooler. Once we had done this, turn the printer off and then remake the port (as the server does not see the printer it will ask you what sort of network card the printer has) rather than chosing the HP Jetdirect Network Card, choose generic network card, and then proceed to setup as normal - this fixed the issue for us - let me know how you get on!

  4. #4
    andy_nic's Avatar
    Join Date
    Jun 2008
    Location
    Peterborough
    Posts
    445
    Thank Post
    31
    Thanked 39 Times in 33 Posts
    Rep Power
    19
    Hi, I also work at the same school as AMVC, we did
    1. Swapped the port of the printer to dummy one.
    2. Deleted the real port.
    3. Recreating it with the printer port with the printer off to get it to generic.
    4. Swapped the port back over.
    It did appear to work until I got to PC number 6 then I got no printers again. This seems to be a windows 7 side rather than server side.

  5. #5

    Join Date
    Jun 2007
    Location
    London
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi guys. We got this sorted - sort of!

    After a few extra settings changed on the group policy (point and print restrictions disabled) this seems to have improved things. I'm reimaging the entire network during the Summer so will be testing this a bit further as well. I'll keep you posted.

  6. #6

    Join Date
    Sep 2011
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    We have similar problem

    Quote Originally Posted by bbrook View Post
    Hi guys. We got this sorted - sort of!

    After a few extra settings changed on the group policy (point and print restrictions disabled) this seems to have improved things. I'm reimaging the entire network during the Summer so will be testing this a bit further as well. I'll keep you posted.
    Just out of curiousity, what exactly did you guys change in your policies? I already disabled point and print restrictions, but I am still not getting printers consistently, and I still receive the exact same error message from Group Policy that you stated above. I've been racking my brain on this for the past week, and I have some very angry people around me. Any information you may be able to provide could be a game changer around here.

    The problems are coming from Windows 7 32bit SP1 machines.

    Thanks!

  7. #7

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,076
    Thank Post
    853
    Thanked 2,676 Times in 2,270 Posts
    Blog Entries
    9
    Rep Power
    769

  8. Thanks to SYNACK from:

    salc (14th February 2013)

  9. #8

    Join Date
    Jan 2011
    Location
    Nebraska
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Any fix for this yet? I have the same issue.

  10. #9
    amvc's Avatar
    Join Date
    Oct 2007
    Posts
    136
    Thank Post
    39
    Thanked 14 Times in 12 Posts
    Rep Power
    18
    Hi

    After many months and hours of work...we still havn't found the problem or a solution. This is what we've worked out and our partial fix.

    -Using a GPP to map printers for pupil accounts, sometimes this fails with the usual 'the specified port is unknown' error in application log.
    -If you then manually try to add a printer you get the same message.
    -If you restart the spooler (via Task Manager as pupils don't have access to services.msc) and then manually add the printer...it works!!!
    -So the fix...In Computer group policy for the machines the pupils use, I allowed the ability to restart the spooler service.
    -I then created a logon script for the Users group policy to Stop and then Start the print spooler. The script then runs gpupdate to reapply the GPP settings.
    -The result...(in I think just about all cases) the printers are mapped. If they aren't, then if the pupil logs off and then back on again then the printers are mapped.

    The problem is that many teachers don't realise a logon/off fixes the problem. So frustration still exists in the classroom.

    But no matter how hard I try I can't find what is causing the problem. It is only Windows 7 that the issue occurs with and it's a totally random when it will strike. We have imaged a room of 33 machines identically, if you log into them all with the same account then anywhere between 5-10 will fail to map their printers.

    I just can't explain it...

  11. #10

    Join Date
    Jan 2008
    Location
    Lancashire
    Posts
    26
    Thank Post
    3
    Thanked 4 Times in 4 Posts
    Rep Power
    14
    Sounds like a driver issue, I have had the same error message as you stated and it turned out to be incorrect x86 drivers on server 2008 r2.

    To solve it I did as Andy T said and added the drivers vis a windows 7 domained PC.

    Network Printer Server 2008 R2

  12. #11
    chazzy2501's Avatar
    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,781
    Thank Post
    213
    Thanked 263 Times in 213 Posts
    Rep Power
    67
    this happens on my vista machines. I just powercycle the PC as a quick fix. I've now abandoned GPP for printer mapping and gone back to using the old GPO with pushprinters (I know you don't need the exe in vista The only downside is not being able to set the printer as default

  13. #12

    Join Date
    Dec 2011
    Location
    Bakersfield
    Posts
    14
    Thank Post
    4
    Thanked 4 Times in 3 Posts
    Rep Power
    6
    There are a few tweaks to getting GPP to work perfectly. I have spent the past month making sure everything works great.

    1) If you have any Dell or HP printers, I strongly recommend using their appropriate drivers. The Dell Open Print Driver or the HP Universal Print Driver work okay, but are not great for all of their respective branded printers.
    2) I fully disabled UAC as it created problems with my Shoretel stuff, but it also makes installing the printer drivers much easier.
    3) Make sure that your printers have both 64bit and 32bit drivers installed and enabled for each printer.
    4) You need to disable the popups that people receive about drivers and non-signed stuff. To do this you enter the following items in a GPO:
    Computer Configuration > Policies > Administrative Templates > Printers > Point and Print Restrictions set to Enabled, Users can only... set to Disabled, Users can only point and... Disabled, and then set the two drop down boxes to "Do not show warning or elevation prompt."

    Computer Configuration > Policies > Administrative Templates > System > Driver Installation > Allow non-administrators to install drivers for these device setup classes set to Enabled. Then add {4D36E979-E325-11CE-BFC1-08002BE10318} as an allowed class.

    Computer Configuration > Policies > Administrative Templates > System > Group Policy > Printers preference extension policy processing set to Enabled. Then set Allow processing across a slow network connection to Disabled, Do not apply during periodic background processing to Enabled, Process even if the Group Policy objects have not changed to Disabled, and Background priority to Idle.

    Computer Configuration > Policies >Administrative Templates > System > Logon > Always wait for the network at computer startup and logon set to Enabled

    User Configuration > Policies > Administrative Templates > System > Driver Installation > Code signing for device drivers set to Enabled and set When Windows detects a driver file without a digital signature to Ignore.

    Your printers should work perfectly through GPP after setting those parts. I have been running for 3 weeks without problems now and I was having problems multiple times per day beforehand.

  14. 2 Thanks to zlorimer:

    mac_shinobi (21st May 2012), salc (14th February 2013)

  15. #13

    Join Date
    Feb 2011
    Posts
    91
    Thank Post
    6
    Thanked 24 Times in 15 Posts
    Rep Power
    12
    HI Guys,

    I know this post hasn't been active for a while, but i had the same problems as most on this forum and spent a long time trying to diagnose the issue. I eventually found a microsoft hotfix Kb2748246 for windows 7 machines.

    and here is a link on how to deploy hotfix Kb2748246 as its not in the a wsus catalogue !!! Grrr

    I spent ages trying to solve this problem so im hoping this post might help others cos it was really frustrating for me. Feel free to repost if you feel it will help in other threads.

  16. 5 Thanks to Chunks_:

    chazzy2501 (15th January 2014), eddyc (26th February 2013), Gongalong (20th February 2013), Mr_J (21st October 2013), ninjabeaver (13th June 2013)

  17. #14
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    868
    Thank Post
    776
    Thanked 17 Times in 15 Posts
    Rep Power
    9
    Big thanks Chunks_. We've been having this problem for almost a year, if not longer. The hotfix seems to have solved it.

  18. #15
    eddyc's Avatar
    Join Date
    Aug 2008
    Location
    Bristol
    Posts
    432
    Thank Post
    98
    Thanked 47 Times in 43 Posts
    Rep Power
    21
    Hi Chunks,
    I applied that hotfix which has certanly improved things here but am still having some issues. Some machines now say;
    Code:
    The user 'ICT2_HP1606DN' preference item in the 'Windows 7 Student Policy' Group Policy object did not apply because it failed with error code '0x80070709 The printer name is invalid.' This error was suppressed.
    This printer maps fine for around 25 of the 30 machines but around 5 fail with this error now. Any pointers or other hotfixes that you are aware of? I've tried a google with little joy.
    Thanks, Ed

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. The specified port is unknown
    By wickit in forum Windows Vista
    Replies: 2
    Last Post: 20th September 2010, 11:59 AM
  2. standard tcp/ip port printing using mac address
    By mac_shinobi in forum General Chat
    Replies: 9
    Last Post: 23rd February 2010, 03:20 PM
  3. Unknown files
    By leco in forum Windows
    Replies: 3
    Last Post: 12th November 2009, 02:59 PM
  4. Unknown Software
    By wesleyw in forum How do you do....it?
    Replies: 1
    Last Post: 11th March 2009, 02:55 PM
  5. Replies: 3
    Last Post: 19th February 2008, 10:13 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •