Solved

Windows Processes trigger command

Posted on 2011-03-01
1
300 Views
Last Modified: 2012-05-11
Dear all,

Is there a way to check Windows Processes and when a particular program is ready and closed a command, batch file etc is triggered to switch off the computer.

I am using ViewClient 4.5 (VMware) and this allows you to logon to the virtual desktop using a single sign on. Now what I want is that when a users press logoff on the virtual desktop the process automatically tops and this switch off the physical pc.
0
Comment
Question by:casscar
[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 8

Accepted Solution

by:
Toxacon earned 500 total points
ID: 35043391
So, if I understand this right, when you take a logoff from the virtual you want the physical host to shut down.

Let's put it this way:

I assume that your user account and password are the same on both virtual and physical PC. I also assume that you have admin permissions on both computers with that account.

Create a batch file on the virtual:

shutdown /s /m \\physicalpcname /t 30
logoff

Open in new window


Run the batch file. It will initiate shutdown of the physical pc in 30 seconds after running and it will log you off from the virtual pc.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

705 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