Logon Script Printer

Viewing 1 post (of 1 total)
  • Author
  • Avatar


    I bet i’m done something silly!

    Our Printer has broken, I install a New Network Printer I wanted a logon script for our windows server 2003 user to install the printer

    Option Explicit
    Dim objNetwork, strUNCPrinter
    strUNCPrinter = “[URL=”file://\dcUpRicho”]\dcUpRicho[/URL]”
    Set objNetwork = CreateObject(“WScript.Network”)
    objNetwork.AddWindowsPrinterConnection strUNCPrinter
    ‘ Here is where we set the default printer to strUNCPrinter
    objNetwork.SetDefaultPrinter strUNCPrinter
    WScript.Echo “Default Printer is : ” & strUNCPrinter

    I name this DefPrinter.vbs

    This work’s if you run on the User computer I want this on the netlogon folder

    I went into AD User Properies User profile Logon Script Select DefPrinter.vbs
    I copied the Defprinter.vbs into The [URL=”file://\dc1netlogon”]\dc1netlogon[/URL] Secuirity Authenicated Users Read & execute system user full control

    Then told the user to logon in, The Printer did not change, what bit have i missed?


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.