Solved

remote install

Posted on 2012-03-19
3
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remote start and stop of service 3 71
powershell switch statement 7 47
Power Action 2 46
change script to get csv file on the prompt 8 33
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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 …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

752 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