Solved

remote install

Posted on 2012-03-19
3
299 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 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

820 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