That is supposed to be three different lines... 1. Set WshNetwork = CreateObject("WScript.Network") 2. WshNetwork.AddWindowsPrinterConnection "\\PrintServer1\Xerox300" 3. WshNetwork.SetDefaultPrinter "\\PrintServer1\Xerox300" Sorry, Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc. -----Original Message----- From: windows2000-bounce@xxxxxxxxxxxxx [mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Sullivan, Glenn Posted At: Friday, October 22, 2004 12:03 PM Posted To: Windows 2000 Conversation: [windows2000] Hi Subject: [windows2000] Re: Hi You can do so with a vb script: Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection "\\PrintServer1\Xerox300" WshNetwork.SetDefaultPrinter "\\PrintServer1\Xerox300" Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc. ________________________________ From: windows2000-bounce@xxxxxxxxxxxxx [mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Mauricio Fernandez Posted At: Friday, October 22, 2004 11:54 AM Posted To: Windows 2000 Conversation: [windows2000] Hi Subject: [windows2000] Hi Hi everyone. I am new in this list, and I hope to find some help here. I promises to help yours too when I can. Here is my first question: I have a w2k network whit a bunch of users that shares a bunch of computers. When a user logs on one computer for the first time, I need to create all printers definition again. Does anyone know how to make a script that installs (or maps) all the printers by itself at logon time? Thank you very much, Mauricio Fernández S. IT Manager FDTA - Valles Tel. 591 4 4525160 Fax. 591 4 4115056 mfernandez@xxxxxxxxxxxxxxx www.fdta-valles.org ******************************************************** This Weeks Sponsor StressedPuppy.com Games Feeling stressed out? Check out our games to relieve your stress. http://www.StressedPuppy.com ******************************************************** To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm ******************************************************** This Weeks Sponsor StressedPuppy.com Games Feeling stressed out? Check out our games to relieve your stress. http://www.StressedPuppy.com ******************************************************** To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm