Solved

Windows Processes trigger command

Posted on 2011-03-01
1
295 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
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
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 …

911 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

18 Experts available now in Live!

Get 1:1 Help Now