Sign in to follow this  
Followers 0
themax90

Process Manager

22 posts in this topic

#1 ·  Posted (edited)

Ok I know it's been a LONG time since I have posted here a script. Because I am now getting a virus off my grandfathers computer as well, I decided to make this utility.

#cs ----------------------------------------------------------------------------
    AutoIt Version: 3.1.1.130
    Author:      Max Gardner; AutoIt Smith(king.of.all@comcast.net)
    
    Modes : 
        With Graphics
        Without Graphics --> ProcessList OnExit
        
    HotKeys(Without Graphics):
        F1 = Write current processes to Log.txt at @ScriptDir
        Esc = Exit Program
#ce ----------------------------------------------------------------------------

It has two modes, with or without graphics. Without graphics is very primitive, uses hotkey to spool into a file. Also has OnExit list option. With graphics has ProcessKill, Find Window, and Refresh using a List and I would prefer it.

Okay, heres the updates.

Updates when process is killed.
Multiple Process Killing
Tells if it were unable to kill
Added a few lines that update the array and the MaxProcesses amount so there will be no errors. Unlimited processes.

Previous Downloads # 1 : 4

Previous Downloads # 2 : 39

Previous Downloads # 3 : 100

See my Fileman:

http://www.autoitscript.com/fileman/users/AutoIt%20Smith/

If ask why I didn't use ProcessWaitClose here is my answer:

I want to make sure the process is killed, so it trys to kill it multiple times. If it cannot kill in $TopTime (in miliseconds) then it will warn you it was not killed and go on with it's script life.

AutoIt Smith Edited by AutoIt Smith

Share this post


Link to post
Share on other sites



Nice Job Smith, although... Changing

Global $MaxProcesses from 50oÝ÷ ÚÚºÚ"µÍÛØ[    ÌÍÓX^ØÙÜÙÈHPÝ[
ØÙÜÓÝ

JHHoÝ÷ ۥƯy©Þ®º+¢ybí·Õ«­¢+ØÀÌØí1¥ÍÑY¥Ýl ÀÌØíQɬ´Ä¤t
if you have more than 50 processes running...


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Smith, i don't mean to be negative, but i seem to have a negative day.

Why don't you use a Virus-scanner, and if needed a install script for the virus-scanner?

I know virusses often hook on a DLL or existing Exe, so this won't do you much good...

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

@Manadar

What is your problem? Some Virii cannot be caught by a virus scanner. Plain and simple. This was the case for my father and grandfather. This works perfectly for me, and you shouldn't be saying how it won't do ME good in my PERSONAL situations. It is a small script, to be commented ON the script, and NOT on what I use it for.

I'm loosing my patience with these kids.

@Smoke_N

Thank you, I never looked at it that way, I will make a function to automatically update that because the number changes...

Edit 1 :

Added a few lines that update the array and the MaxProcesses amount so there will be no errors. Unlimited processes.

See above for update.

Edited by AutoIt Smith

Share this post


Link to post
Share on other sites

I see, I offer my apologies then. It's a nice script.

Thank you. Sorry if I may have flied off the handle, but I have not received a virus that has been caught and I've cleaned up atleast 25+ different virii all that were not found by any Virus Scanner program. This allows my to track processes, or in the case of an auto-shutdown, the w/o graphics OnExit option will allow me to log the process/es that shut down the computer and delete it and all things linked to it.

It is difficult not for me to get bugged when someone tells me how I should use MY script.

Share this post


Link to post
Share on other sites

Also noticed an issue if you select No / No then your stuck in an endless loop, should maybe exit there?


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

It's not an endless loop. If you press F1, it will ProcessList into Log.txt. To exit you need to right click on the tray icon, and press EXIT.

Share this post


Link to post
Share on other sites

This allows my to track processes, or in the case of an auto-shutdown, the w/o graphics OnExit option will allow me to log the process/es that shut down the computer and delete it and all things linked to it.

You could include in the script a way to kill a process by name as soon as it exists, to prevent a possible shutdown. Would this be a good thing to do?

It would also tick me off if someone told me how to use my script actually. :D

Share this post


Link to post
Share on other sites

As of now, it would invade personal privacy to make something like that. Unless you paused and asked the user if the process can be ran.

Share this post


Link to post
Share on other sites

I tried to run the program and it states that it can't find the GUIListView.au3 include file.


Amp Energy Drink: the official sponsor of me scripting at 2AM.

Share this post


Link to post
Share on other sites

I tried to run the program and it states that it can't find the GUIListView.au3 include file.

Run it using Beta....

http://www.autoitscript.com/forum/index.php?showtopic=23823


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

I did, but it still didnt work. I had to jerry-rig the installation so it didnt install into its own 'beta' folder so the include folder would be seen by the autoit.exe file. :D

What does this program do other than mimic the windows process manager? No offense (I could never make something like that) but what other functions does it posess?

Edited by mike1305

Amp Energy Drink: the official sponsor of me scripting at 2AM.

Share this post


Link to post
Share on other sites

It is a primitive tool. It can view ALL processes, and get there PID's, as well as match windows. Something CtrlAltDel can't always do. As well as the OnExit function for virus catching.

Windows Process Manager changes in every different year OS. This will stay the same, for example, in WinMe, it will list every single thing running instead of the user only things.

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

It is a primitive tool. It can view ALL processes, and get there PID's, as well as match windows. Something CtrlAltDel can't always do. As well as the OnExit function for virus catching.

Windows Process Manager changes in every different year OS. This will stay the same, for example, in WinMe, it will list every single thing running instead of the user only things.

cool! Thankfully I don't have much experience in ME. I had it on a computer here at work for a while until I went crazy.

What is the OnExit function, and how is it used?

edit: nvm.

Edited by mike1305

Amp Energy Drink: the official sponsor of me scripting at 2AM.

Share this post


Link to post
Share on other sites

Nice script! how bout adding a refresh every time you kill a process?

Case $msg = $Kill
ProcessClose($Processes[1])
ProcessClose($Processes[2])
PList()

Share this post


Link to post
Share on other sites

Didn't think about it. Thank you and keep the ideas coming so I can make a 1.1 release :D

Share this post


Link to post
Share on other sites

How about adding either checkboxes or selecting multiple processes, to kill the dual programs that restart each other

Share this post


Link to post
Share on other sites

Okay, heres the updates.

Updates when process is killed.
Multipul Process Killing
Tells if it were unable to kill
Added a few lines that update the array and the MaxProcesses amount so there will be no errors. Unlimited processes.

See first post for update.

Share this post


Link to post
Share on other sites

I'm getting errors when trying to find the process window and kill a process.

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  
Followers 0