Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
288 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
[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
1 Comment
 
LVL 6

Accepted Solution

by:
Lee_YCP earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Welcome back!  My apologies for taking so long to write part two of this series; it's been a long time coming!  As I promised in Part 1, this article will focus on how to locate those elusive AD properties that you are searching for.  Why is this us…
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

636 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