Solved

How To Tell Who is Running A Appling Running

Posted on 2011-09-09
5
226 Views
Last Modified: 2013-12-02
ISSUE:
Occasionally I need to update a program on the server that may be in use by the servers console operator or a remote desktop user.

How can I tell who has the program running?

0
Comment
Question by:PhilChapmanJr
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:Govvy
ID: 36510273
Use command query process:

QUERY PROCESS [* | processid | username | sessionname | /ID:nn | programname]
  [/SERVER:servername]
0
 
LVL 2

Author Comment

by:PhilChapmanJr
ID: 36510349
Govvy,
I don't know that much about Microsoft Server.  Please give me a step-by-step example of how to tell who is running  MyProgram.exe

Thanks,
Phil
0
 
LVL 13

Accepted Solution

by:
Govvy earned 500 total points
ID: 36510403
Run from command prompt:

>Query process MyProgram.exe
0
 
LVL 2

Author Comment

by:PhilChapmanJr
ID: 36510491
I found a easier way
1.  Click on Tool-Bar
2.  Select Task Manager
3.  Click on Process Tab
4.  Click on Show Processes From All Users
This also allows you to end a process

Thanks for your help
0
 
LVL 2

Author Closing Comment

by:PhilChapmanJr
ID: 36510544
I tried the command at the DOS prompt but got a
Query is not reconized as a internal or external command
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Know what services you can and cannot, should and should not combine on your server.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

786 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