kobayashi Posted August 12, 2004 Posted August 12, 2004 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.
jondercik Posted August 12, 2004 Posted August 12, 2004 Create a vbscript logon script that contains the following codeOption ExplicitDim oNetwork, sPrintPathSet oNetwork = CreateObject("WScript.Network")sPrintPath = "\\server\printer"oNetwork.AddWindowsPrinterConnection sPrintPath
kobayashi Posted August 12, 2004 Author Posted August 12, 2004 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 ?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now