Solved

How to write a logon script file

Posted on 2006-11-08
4
336 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

Veeam gives away 10 full conference passes

Veeam is a VMworld 2017 US & Europe Platinum Sponsor. Enter the raffle to get the full conference pass. Pass includes the admission to all general and breakout sessions, VMware Hands-On Labs, Solutions Exchange, exclusive giveaways and the great VMworld Customer Appreciation Part

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

617 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