Solved

remote install

Posted on 2012-03-19
3
297 Views
Last Modified: 2012-03-22
Hi All,

Is there a way to install a priner remotely via the command promt?
We are in a domain and I have doamin admin rights.

Thanks
0
Comment
Question by:Reyesrj
3 Comments
 
LVL 38

Assisted Solution

by:Aaron Tomosky
Aaron Tomosky earned 250 total points
ID: 37740774
Yep. This should get you pretty close.
http://community.spiceworks.com/how_to/show/2567
0
 
LVL 3

Accepted Solution

by:
suman_g4 earned 250 total points
ID: 37740777
CScript //H:CScript //S
RUNDLL32 PRINTUI.DLL,PrintUIEntry /in /n "\\<Print Server Name>\<Printer Name>"
RunDll32.EXE printui.dll,PrintUIEntry /y /n "\\<Print Server Name>\<Printer Name>"

Open in new window


Hello Reyesrj,

You may put the below lines in a notepad and save the file in .vbs format.

CScript //H:CScript //S
RUNDLL32 PRINTUI.DLL,PrintUIEntry /in /n "\\<Print Server Name>\<Printer Name>"
RunDll32.EXE printui.dll,PrintUIEntry /y /n "\\<Print Server Name>\<Printer Name>"

Hope this serves your purpose.
0
 

Author Closing Comment

by:Reyesrj
ID: 37751235
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

932 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

10 Experts available now in Live!

Get 1:1 Help Now