Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 402
  • Last Modified:

Scripted printer install only appears after restarting the spooler

Win2008 sp2 x32 print server x1
Win7 sp1 x32 clients x 500

I install my printers using a script:
rundll32 printui.dll,PrintUIEntry /ga /n\\server\Printer Name /j"LanMan Print Services"

I have an erratic problem on random computers where someone will log in and it will say 'no printers installed' in word, excel, notepad etc (anything). I restart the print spooler and the printers appear.

Windows patched, various printer hotfixes applied. Nothing in event log. How can I fix\troubleshoot this please?

(I have tried other methods of printer deployment and failed, this is what I need to fix, I don't want suggestions of a new method please.)
0
Pete
Asked:
Pete
  • 5
  • 2
1 Solution
 
BlueComputeCommented:
Presumably you could just add a line to the script to restart the spooler after installing the printers?
0
 
PeteAuthor Commented:
no the script is run once by an administrator, the /ga switch means to globally add it to any user. the printer then gets installed at login for anyone.
0
 
BlueComputeCommented:
You could still add a line to the user login script to restart the spooler, if that is what fixes it?
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
PeteAuthor Commented:
I am concerned I will interrupt the printer being installed, not sure of the timings, when the login script runs, when the printer install script runs....
0
 
PeteAuthor Commented:
I actually put the script to restart the spooler 10secs after login (event vwr shows the spooler is definitely restarting) but sporadic users are still finding 'no printers installed', if the support call is raised and I remotely restart the spooler the printer appears. obviously many minutes after login.
what to do.....I'm at a loss.
0
 
PeteAuthor Commented:
imaging computers proved only fix
0
 
PeteAuthor Commented:
no options worked
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now