Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbs script

Status
Not open for further replies.

berwari

MIS
Mar 26, 2009
1
Hello,

I have a simple vbs script that installs domain printers on computers by clicking on the vbs file.
I would like to run it from a local web page "intranet" so that our users can see a list of printers and click on the ones they like to install it on their computers? how can I do that?
I can open the script on my web page, but it's prompting me to save it to the local machine? I want to run and install the printer?

here is what I have on my web page:

<html>
<a href="install-printer.vbs">add printer</a>
</html>

thx


 
I would write an HTA (HTML Application).

An HTA is the same as an html document but it strips most of the security out of IE so you can do things like accessing the file system or WMI using client side code. However, you can't run HTA's from a web server. The HTA runs as a local application. If you want to have a web served page (i.e. from IIS - then I would use ASP.

(That's the way I understand it.)

HTH.

Woter.
 
Why not use a login script and install all the appropriate printers for the user?

Refer to my FAQ for sample script code.
faq329-5798

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top