Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Server Setup > how to create printers in login script

Reply
Thread Tools Display Modes

how to create printers in login script

 
 
Mehbs
Guest
Posts: n/a

 
      01-21-2009
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.


 
Reply With Quote
 
 
 
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      01-22-2009
Mehbs <> wrote:
> 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.


You don't want to use "net use" commands for this, but you can script it. Do
you have AD?

Here are some links you might find useful:

http://www.computerperformance.co.uk...on_scripts.htm
http://www.microsoft.com/technet/scr...6/hey1212.mspx
http://www.windowsnetworking.com/art...icy-Part1.html
http://www.windowsnetworking.com/art...icy-Part2.html


 
Reply With Quote
 
Edoardo Benussi [MVP]
Guest
Posts: n/a

 
      01-22-2009

Lanwench [MVP - Exchange] wrote:

> You don't want to use "net use" commands for this, but you can script
> it. Do you have AD?
>
> Here are some links you might find useful:
>
> http://www.computerperformance.co.uk...on_scripts.htm
> http://www.microsoft.com/technet/scr...6/hey1212.mspx
> http://www.windowsnetworking.com/art...icy-Part1.html
> http://www.windowsnetworking.com/art...icy-Part2.html


i add only that "using logon script to install printer" needs locally
administrative
rights on client.
bye.


--
Edoardo Benussi -
Microsoft® MVP - Most Valuable Professional
Management Infrastructure - Systems Administration
https://mvp.support.microsoft.com/Profile/Benussi


 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      01-22-2009
Edoardo Benussi [MVP] <> wrote:
> Lanwench [MVP - Exchange] wrote:
>
>> You don't want to use "net use" commands for this, but you can script
>> it. Do you have AD?
>>
>> Here are some links you might find useful:
>>
>> http://www.computerperformance.co.uk...on_scripts.htm
>> http://www.microsoft.com/technet/scr...6/hey1212.mspx
>> http://www.windowsnetworking.com/art...icy-Part1.html
>> http://www.windowsnetworking.com/art...icy-Part2.html

>
> i add only that "using logon script to install printer" needs locally
> administrative
> rights on client.
> bye.


No, not if it's a network printer - limited users can install those by
default.


 
Reply With Quote
 
Edoardo Benussi [MVP]
Guest
Posts: n/a

 
      01-22-2009
Lanwench [MVP - Exchange] wrote:

> No, not if it's a network printer - limited users can install those by
> default.


it depends on user rights in domain policies.
normally a simple user cannot "load and unload device drivers".

--
Edoardo Benussi -
Microsoft® MVP - Most Valuable Professional
Management Infrastructure - Systems Administration
https://mvp.support.microsoft.com/Profile/Benussi


 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      01-22-2009
Edoardo Benussi [MVP] <> wrote:
> Lanwench [MVP - Exchange] wrote:
>
>> No, not if it's a network printer - limited users can install those
>> by default.

>
> 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.


 
Reply With Quote
 
Edoardo Benussi [MVP]
Guest
Posts: n/a

 
      01-22-2009
Lanwench [MVP - Exchange] wrote:

> 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.

--
Edoardo Benussi -
Microsoft® MVP - Most Valuable Professional
Management Infrastructure - Systems Administration
https://mvp.support.microsoft.com/Profile/Benussi


 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      01-22-2009
Bill Kearney <> wrote:
>> 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.

>
> 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?


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 :-)


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create printers in login script Mehbs Server Networking 7 01-22-2009 10:58 PM
VB Login Script for Mapped Drives & Printers circulent Windows Server 5 08-20-2007 09:20 PM
Login Script-Printers Stup88 Windows Server 1 10-05-2006 01:33 PM
Need login script to create registry key for domain users in HKCU ONIQuestion Scripting 2 06-12-2006 07:18 PM
Publishing Printers via GPO / Login Script PM Server Setup 0 11-29-2005 01:40 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59