Jump to content

Install network printers via policies


Recommended Posts

Hi all,

I have several printers in my network, i've create a batch file with lines like "rundll32 printui.dll,PrintUIEntry....." and i want to launch this script ONE time only at first logon of each user on the domain.

I know it is possible to do that using GPO but it don't wonder how, anyone could give a hand ?

thanx all.

Link to comment
Share on other sites


Create a vbscript logon script that contains the following code

Option Explicit

Dim oNetwork, sPrintPath

Set oNetwork = CreateObject("WScript.Network")

sPrintPath = "\\server\printer"

oNetwork.AddWindowsPrinterConnection sPrintPath

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...