Jump to content

Recommended Posts

Posted

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.


Posted

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

Posted

Thanx for u reply but my problem is not the creation the script but where to set it up if i want to use windows domain policies? any idea ?

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...