I am having a ton of trouble writing a script to install network printers to all users by dropping a job with this script included. Here is the script im trying to get working.
rundll32 printui.dll,PrintUIEntry /ga /q /n\\server\printer
:: restart print spooler
START /WAIT SC STOP spooler
START /WAIT SC START spooler
After looking through the switches, im using /ga to add it for all users which is very crucial, /q for not displaying error messages, and /n to to out to the network for the printer. I also added the restart of the print spooler on the bottom.
This script sais its completed successfully in the Deployment Console, but no matter who's logged on to the domain, ththis printer doesn't show up. I have tried several other commands such as /in as well as /y and I cannot get it to work.
Any suggestions would be greatly appreciated.
Thank you,
=Brandon