Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

Issue with network printer install via GPO

Hi All,
I am trying to map network printers via GPO. I am doing this under the computer config> Windows settings>Start up script. I can't do it via  User Config> Windows Settings> logon Script, due to theses being Kiosks, we have the users so locked down.

The script sort of works. I have about 10 printers in the startup script and only one or two will map. Below is the batchfile used in the startup script.
Batch file:
rundll32 printui.dll PrintUIEntry /ga /u /n\\ServerName\Printer1
rundll32 printui.dll PrintUIEntry /ga /u /n\\ServerName\Printer2
rundll32 printui.dll PrintUIEntry /ga /u /n\\ServerName\Printer3
and so on...
Any ideas on why it will only map two printers at startup? What's weird is every once in a while a third and fourth printer will install. Could it be that the Auto Logon GPO logs the user on before the Startup script can map all the printers?
Below is the GPRESULTS if you would like to take a look.
Thanks in advance.
0
07vette
Asked:
07vette
  • 4
1 Solution
 
07vetteAuthor Commented:
Sorry posted the wrong GPResult. Attached is the correct GPresult. gpo2.txt
0
 
07vetteAuthor Commented:
I did a work around that seems to work. Instead of creating one big bat with all the printers installed I broke the printers across several .bats. If anyone else knows a better way let me know. I really dont like my solution. I will keep this open for a week or so. If no one replies back I will assume this is the best solution.
0
 
johnb6767Commented:
If using a .bat file, put a pause at the end (and remove any '@echo off' statements) to see if it will leave the errors on screen.....

Any reason you are not using GPP for printer deployment?
0
 
07vetteAuthor Commented:
The print server is W2k3 and not W2k3 R2, so I cant add printers from the GP. I wanted to install R2, but there is SOOOOO much red tape in order for me to get that approved.
0
 
07vetteAuthor Commented:
No other solutions provided. My work around works.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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