how to create printers in login script
I want to create a login script like a batch file where I can use NET USE
command to connect network printers to users. I can map the network drives
but I am not able to connect network printers thru batch file.
I tried NET USE \\MYSERVER\SHAREPRINTER or
NET USE LPT1: \\MYSERVER\SHAREPRINTER
This both command shows that the statement was successful but when I go to
my printers to see if there is any printer, I dont see any printer there.
I am using windows 2003 server and xp as client.
Thank you.
Re: how to create printers in login script
You don't want to use "net use" commands for this, but you can script it. Do
you have AD?
Re: how to create printers in login script
Connect to, versus install, require different rights. Although I can't
state categorically, I believe if you install the drivers for the type of
printer first, then regular users can connect to ones using that driver
without needing admin rights. If that's actually correct then can you
install all the drivers for the expected printers first?
Re: how to create printers in login script
The drivers for the remote / network-shared printer will be installed from
the share when the user connects to it, if they don't exist on the target
PC. Test it :-)
Re: how to create printers in login script
copy con2prn.exe to the netlogon directory
\\server01\netlogon\con2prn.exe /cd \\server01\printer
the /cd connects as default
/c connects