Jump to content
Sign in to follow this  

Find Process Owner

Recommended Posts


I've build an autoit script that run when two softwares are runnning at the same time by the same user ( we use W2K3 with anonymous user) but it seems that every anonymous's process are return when using the ProcessExist function. So, there 'is a problem when one user launch the first app then a second user launch the other.

Is there a way to check if "ProcessExist" only for this user, except by running a little cmd command ...



Share this post

Link to post
Share on other sites

not tested

$user = @UserName

While 1
    If ProcessExists("my-process.exe") Then
        If @UserName <> $user Then MsgBox(64," Process found", "the user is different   ")


Edited by Valuater


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...