Jump to content

process exists question


t0ddie
 Share

Recommended Posts

i tried to make a script that would find all running processes, but its not working

are wildcards supported for this command? i have had no luck

can a simple script be made that tells you all running processes?

also would be nice to seperate system processes from user processes.

FINALLY.... slighly off this subject... i have seen this in discussion, but never really seen an answer.

can you make your script run as a system process?

PSHWEW... that was alot of questions

~Todd

Edited by t0ddie

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Link to comment
Share on other sites

Of course not. Jon is very worried that Anti virus programs may see Autoit scripts as a virus and allowing it starting 'system' processes it is a very virus like activity.

If you need that your script can't be terminated you may:

- start it with a innocent name E.g. services.exe

- make two scripts. One is your main script + a adlib func that check if the second exists and if it does not exist it restarts it. The second just checks is the first exists and restart if needed.

Both way are not totally sure. In the first case the user may terminate the script anyway. In the second case a cunning user may make a .bat file that kills both processes too fast for them to restart.

Link to comment
Share on other sites

can you make your script run as a system process?

What's a system process for you?

A program running with the rights of the System? That should be no problem: Just tell windows to run the program with the rights of the System user. E.g. create a service.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...