Solved

Is it possible to have a WMI script run a vbs or exe file from an html link if all the permission are set on remote machines?

Posted on 2011-03-21
1
270 Views
Last Modified: 2012-05-11
Is it possible to have a WMI script run a vbs or exe file from an html link if all the permission are set on remote machines? We are looking for way to run small vbs and exe on our virtual desktop environments for monitoring purposes.
0
Comment
Question by:williamfl
1 Comment
 
LVL 6

Accepted Solution

by:
Lee_YCP earned 500 total points
ID: 35184086
Setup the webpage as an .hta with the links to the local files to execute and use the "at" command to run the scripts you are talking about.
Log into your computer with Domain Admin account.
When you run the links in the .hta, your scripts should be written to copy the files to run from your computer to the admin share of the computer you want to run it on.  Then from your computer use the "AT" command to schedule the task to run in the next few seconds.  AT \\computername time /interactive "command"      Or, use "AT /?" to see other task scheduling options.

The benefit to this is that tasks under AT actually run under the "System" account, which should help with permission issues.  You will have to test for UAC issues.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Well hello again!  Glad to see you've made it this far without giving up.  In this, the fourth installment of my popular series, I'm going to cover functions and subroutines, what they are, and why they are useful.  Just in case you stumbled onto th…
I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

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