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
277 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 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

This is an addendum to the following article: Acitve Directory based Outlook Signature (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_24950055.html) The script is fine, and works in normal client-server domains…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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