P
pau_zathrus@hotmail.com
Guest
Script for Users to Connect to Homefolder (Drivemapping), and 4 shared Printers in Wireless Network
Im not able to get my users to logon as a part of a Domain. So i
really need help in a script that connects my users to their shared
homefolder and shared printers on a W2003 server... Using a preset set
of username and Password... So all they have to do is Run the Script,
OR as a part of the XP Logon...
Any Ideas...
Here is what I have so far.. stil needing the Drivemapping and use of
Usernames and password.
_______________________________________________________________________
Option Explicit
Dim objNetwork, strLocal, strUNCPrinter1, strUNCPrinter2,
strUNCPrinter3, strUNCPrinter4
strLocal = "Bizhub"
strUNCPrinter1 = "\\berndc1\Bizhub"
strUNCPrinter2 = "\\Berndc1\Konica7040"
strUNCPrinter3 = "\\Berndc1\Konica7022"
strUNCPrinter4 = "\\Berndc1\hp4100"
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection strUNCPrinter1
objNetwork.AddWindowsPrinterConnection strUNCPrinter2
objNetwork.AddWindowsPrinterConnection strUNCPrinter3
objNetwork.AddWindowsPrinterConnection strUNCPrinter4
objNetwork.SetDefaultPrinter strUNCPrinter1
_________________________________________________________________________
Thx in advance..
PaU
Im not able to get my users to logon as a part of a Domain. So i
really need help in a script that connects my users to their shared
homefolder and shared printers on a W2003 server... Using a preset set
of username and Password... So all they have to do is Run the Script,
OR as a part of the XP Logon...
Any Ideas...
Here is what I have so far.. stil needing the Drivemapping and use of
Usernames and password.
_______________________________________________________________________
Option Explicit
Dim objNetwork, strLocal, strUNCPrinter1, strUNCPrinter2,
strUNCPrinter3, strUNCPrinter4
strLocal = "Bizhub"
strUNCPrinter1 = "\\berndc1\Bizhub"
strUNCPrinter2 = "\\Berndc1\Konica7040"
strUNCPrinter3 = "\\Berndc1\Konica7022"
strUNCPrinter4 = "\\Berndc1\hp4100"
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection strUNCPrinter1
objNetwork.AddWindowsPrinterConnection strUNCPrinter2
objNetwork.AddWindowsPrinterConnection strUNCPrinter3
objNetwork.AddWindowsPrinterConnection strUNCPrinter4
objNetwork.SetDefaultPrinter strUNCPrinter1
_________________________________________________________________________
Thx in advance..
PaU