+ Post New Thread
Results 1 to 12 of 12
Windows Thread, Printers disappearing after login script in Technical; Hi all, We moved our printers over to a new print server a few months back and since then it's ...
  1. #1
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,650
    Thank Post
    164
    Thanked 217 Times in 200 Posts
    Rep Power
    66

    Printers disappearing after login script

    Hi all,

    We moved our printers over to a new print server a few months back and since then it's caused nothing but aggro

    At first we were getting spooler crash errors, tracked that down to new HP drivers playing up so sorted that but now there's a different problem!

    Print server is set up the usual way, TCP\IP port to JetDirect, share and publish in AD. We map our printers through VBS logon script e.g.

    ' VBScript.
    Set net = WScript.CreateObject("wscript.network")
    net.AddWindowsPrinterConnection "\\server\printer"
    net.SetDefaultPrinter "\\server\printer"

    Nothing out the ordinary there... now here's the weird bit...

    We get a lot of users calling up saying they have NO printers, just OneNote and that kinda stuff. I've sat and watched a PC boot up, login, run the script, printers appear then about 5-10 mins later something deletes the lot of em :x 8O

    There's no other scripts running so what could be doing it - I'm stumped! Doesn't happen on all the PC's either, typically our IT Office ones work perfectly!

    Any ideas?

    Thanks in advance,

    Gerrard

  2. #2
    Oops_my_bad's Avatar
    Join Date
    Jan 2007
    Location
    Man chest hair
    Posts
    1,738
    Thank Post
    438
    Thanked 53 Times in 50 Posts
    Rep Power
    30

    Re: Printers disappearing after login script

    Have you had a look at the event viewer on the PC when the printer is removed? Might say why it was removed..

  3. #3
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,958
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46

    Re: Printers disappearing after login script

    Got to be a permissions problem surely. We had this when we moved our scripts. Can't remember exactly, but will update if i remember before you post a fix

  4. #4
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,650
    Thank Post
    164
    Thanked 217 Times in 200 Posts
    Rep Power
    66

    Re: Printers disappearing after login script

    Just to clarify a few things...

    - we haven't moved the scripts, they're still in the folder of each Group Policy as they were before. The only thing we did is to change the UNC path inside the script to point to the new server.

    - what's odd is how they map and stay for a few mins then disappear, surely if it was permissions they wouldn't come up in the first place? On the server it's on default permissions (the Everyone group can print, no management).

    - had a look in Event Viewer, nothing out the ordinary by the looks of things, get a few 10020 DCOM errors and a 11163 DNSAPI one (I think I know why that last one happens and the DCOM might be down to IIS).

    So still stumped, I'm gonna try it on a fresh machine to see if it's something to do with the image, now getting on for 2 years old and really need re-doing...

  5. #5
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,650
    Thank Post
    164
    Thanked 217 Times in 200 Posts
    Rep Power
    66

    Re: Printers disappearing after login script

    Still no closer with this... saw the printers map on someone's PC after they logged on and after 30 mins they've gone 8O

    Nothing in event viewer saying printers purged either, they just disappear :?

  6. #6

    Join Date
    Sep 2007
    Posts
    181
    Thank Post
    4
    Thanked 2 Times in 2 Posts
    Rep Power
    14

    Re: Printers disappearing after login script

    Doesn't Windows 2000/XP have some feature that disconnects network mappings if they're left idle for a period of time?

    If so, that could account for printers disappearing.

  7. #7

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144

    Re: Printers disappearing after login script

    I'm not 100% sure on this one, but at the back of my mind I seem to recall if the print spooler service is stopped and restarted on a machine, non persistant printer connections will be dropped. Is there any chance the local print spooler service on the machines could be restarting its self??

    Just an idea.

    Mike.

  8. #8
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,650
    Thank Post
    164
    Thanked 217 Times in 200 Posts
    Rep Power
    66

    Re: Printers disappearing after login script

    Possible but then again nothing in the Event Logs saying it.

    Speaking of persistant connections, could I add that to the VBS script to make the connections persistant (if they're not already?)

  9. #9
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,958
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46

    Re: Printers disappearing after login script

    We also had printers being mapped twice (oops! ) - startup script mapped printers - logon script took effect about a minute after logon = dissapearing printer trick!

  10. #10
    01hanstu's Avatar
    Join Date
    Sep 2007
    Location
    Manchester
    Posts
    148
    Thank Post
    17
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Printers

    Are the printers HP/Lexmark we had an issue with some computers and a printer. The printer didnt show up not even the micosoft Fax printer.

    Try this at the bottom it worked for us on the client computers

    You cannot add a printer and you receive printer spooler error messages in Windows XP scroll down to the section titled Now delete spool printer and driver files...

    Worked for our School
    Thanks

  11. #11

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    I would say it's most likely the spooler is stopping/crashing on the workstation which is why they're disappearing.

    If you use MMC and have a look remotely at Services on the workstation in question, you should be able to see whether the spooler is started or not What causes the spooler to crash? Usually it's poor drivers.

  12. #12


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,687
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    I'd hope it was resolved as this thread died off 18 months ago.

SHARE:
+ Post New Thread

Similar Threads

  1. Installing/Copying Fonts from Login Script
    By mattpant in forum Windows
    Replies: 10
    Last Post: 11th August 2011, 09:24 PM
  2. Set firefox proxy via login script
    By Jackd in forum Windows
    Replies: 2
    Last Post: 24th December 2009, 01:59 PM
  3. Printers disappearing???
    By j17sparky in forum Windows
    Replies: 5
    Last Post: 14th May 2007, 01:31 PM
  4. Replies: 4
    Last Post: 23rd November 2006, 09:33 PM
  5. Login script problem
    By SpuffMonkey in forum Windows
    Replies: 55
    Last Post: 4th February 2006, 09:27 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
  •