Ok, I hope no one addressed this already, but here is what we have been using.
Con2prt.exe from the Resource Kit (any version): Con2prt.exe /cd \\server\printshare That is all you need. There are other switches with con2prt that you can check out as well. Again, I hope this helps and is not a repeat. Chris --------------------------------------------------------- Christopher England Server Administrator MCP, Server+, Network+, A+ College Information Technology Office Indiana University -----Original Message----- From: Brahim Bouchaiba [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 8:12 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [ActiveDir] Connect to printer Try this vbs script: Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection "\\printserver\printer_mane" WshNetwork.SetDefaultPrinter "\\printserver\printer_name" good luck [EMAIL PROTECTED] writes: >----Original Message Follows---- >From: Richard Sumilang <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: [ActiveDir] Connect to printer >Date: Tue, 1 Apr 2003 10:26:45 -0800 > >I have a Windows 2000 network running and all users log in to the >server >using Active Directory. I would like to have a bat script automatically >connect people to a shared printer and have it set as the default. Please >help :-) Brahim Bouchaiba Network administrator Information technology 617-7359720 List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
