Solved

How to write a logon script file

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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now