Hi,
to map network printer run this script
********************************
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\Primus\HP4500"
WshNetwork.SetDefaultPrinter "\\Primus\HP4500"
********************************
Replace \\Primus\HP4500 with name of your server and print share.
Leave out last line if you don't want to have \\Primus\HP4500 set as default
printer.
I hope this helps,
Mike
"bear" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How do I setup a GPO or a logon script or a registry to map a networked
> printer according to the computername?
>
> Server: Win2k3
> Client: XP
> 3 computer labs - L1, L2, L3
> Computer names are like this - L1PC01, L2PC01, L3PC03.
> Networked Printer - L1lab, L2lab, L3lab
>
> When a user logs on each lab, should have each printer mapped. How do I do
> that?
>
>
|