Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to write a logon script file

Posted on 2006-11-08
4
Medium Priority
?
347 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
2 Comments
 
LVL 96

Accepted Solution

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

Assisted Solution

by:SamuraiCrow
SamuraiCrow earned 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Screencast - Getting to Know the Pipeline

824 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