|
| |||||||||
| Tags: batch file, login script, network drive, printer, script, windows 2003 server |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| 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. |
|
#2
| |||
| |||
| 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? |
|
#3
| |||
| |||
|
i add only that "using logon script to install printer" needs locally administrative rights on client. No, not if it's a network printer - limited users can install those by default. |
|
#4
| |||
| |||
|
it depends on user rights in domain policies. normally a simple user cannot "load and unload device drivers". Correct. However, by default, the policies definitely permit a limited user to connect to a network printer. I do this all the time - my users don't have admin rights. exactly (even if it would be better reduce rights on simple users). regards. |
|
#5
| |||
| |||
| 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? |
|
#6
| |||
| |||
| 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 :-) |
|
#7
| |||
| |||
| 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 |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "how to create printers in login script" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Login script | Miha | Windows Server Help | 11 | 26-05-2008 01:46 AM |
| to add username & password into my login.cmd - login script | sphilip | Windows Server Help | 4 | 05-03-2008 11:04 PM |
| Problem with script to add printers ports, need help. | rham | Windows Server Help | 11 | 27-06-2007 09:16 PM |
| Startup Script or Login Script ?? | WANNABE | Active Directory | 5 | 22-12-2006 07:44 PM |
| Do you need the Login script | nic | Small Business Server | 2 | 23-04-2005 03:51 AM |