MSFN Forum: Install network printers via policies - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Install network printers via policies Rate Topic: -----

#1 User is offline   kobayashi 

  • Group: Members
  • Posts: 9
  • Joined: 11-August 04

Posted 12 August 2004 - 08:39 AM

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.


#2 User is offline   jondercik 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 445
  • Joined: 15-January 04

Posted 12 August 2004 - 11:08 AM

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

#3 User is offline   kobayashi 

  • Group: Members
  • Posts: 9
  • Joined: 11-August 04

Posted 12 August 2004 - 11:48 AM

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 ?

#4 User is offline   kobayashi 

  • Group: Members
  • Posts: 9
  • Joined: 11-August 04

Posted 13 August 2004 - 01:33 AM

Any ideas ??

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy