Solved

remote install

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
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…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

757 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

20 Experts available now in Live!

Get 1:1 Help Now