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 ?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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