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

x
?
Solved

remote install

Posted on 2012-03-19
3
Medium Priority
?
304 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 39

Assisted Solution

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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
The viewer will learn how to dynamically set the form action using jQuery.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

971 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