How To Tell Who is Running A Appling Running

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?

LVL 2
Phil ChapmanAsked:
Who is Participating?
 
GovvyConnect With a Mentor Commented:
Run from command prompt:

>Query process MyProgram.exe
0
 
GovvyCommented:
Use command query process:

QUERY PROCESS [* | processid | username | sessionname | /ID:nn | programname]
  [/SERVER:servername]
0
 
Phil ChapmanAuthor Commented:
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
 
Phil ChapmanAuthor Commented:
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
 
Phil ChapmanAuthor Commented:
I tried the command at the DOS prompt but got a
Query is not reconized as a internal or external command
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.