Solved

How to write a logon script file

Posted on 2006-11-08
4
324 Views
Last Modified: 2010-04-18
I know how to write batch files. I want to install shared printers thre a logon script file. I found this articile.

http://www.experts-exchange.com/Networking/Microsoft_Network/Q_21546642.html?query=install+shared+printer+remotely&clearTAFilter=true

I do not know what to do with it to make it run.

0
Comment
Question by:Greg_Brockway
4 Comments
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 250 total points
ID: 17903019
0
 
LVL 9

Assisted Solution

by:SamuraiCrow
SamuraiCrow earned 250 total points
ID: 17904537
If these are windows xp machines you can use the following line in your login script to install printers:

prnmngr -ac -p "\\server\printer"

All you need to supply is the server and printer name.  Let me know if you need any assistance with additional syntax.

Hope this helps
Crow
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question