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
246 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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Excel lookup - fomrula-macro 5 58
Access 2016 VB code 9 84
Novice question on VBScript 8 36
Recursive folder search vbscript 7 28
In this article we want to have a look at the directory attributes which are used by Microsoft to store the so called Security Identifiers (SID). These SIDs plays an important role in delegating and granting permissions and in authentication of trus…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 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

13 Experts available now in Live!

Get 1:1 Help Now