Solved

How to write a logon script file

Posted on 2006-11-08
4
328 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 96

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
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…

734 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