Sign in to follow this  
Followers 0
Lauro

Kill Process

11 posts in this topic

Well I have a following doubts when I will finish the process of any one software, works fine with my code more when I finish something more important to know it, sv, winlogon, antivirus, etc. gives access denied
someone could help me to change the Perm or soft do that something?

Share this post


Link to post
Share on other sites



Hi Lauro,

Your screenshot is not in English. Since this is an English forum, would you mind translating it for us?

A lot of the time, Windows will kick up a fuss that you can't quit certain processes. You can, but I'm dubious as to why you want to exit winlogon or disabling Anti Virus? Kaspersky for instance will alert the user if another process tries to exit it.

Cheers :)

Share this post


Link to post
Share on other sites

Lauro,

Your script works fine on my machine - do you have some form of HIPS which prevents AutoIt from certain actions? :huh:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Hi Lauro,

Your screenshot is not in English. Since this is an English forum, would you mind translating it for us?

A lot of the time, Windows will kick up a fuss that you can't quit certain processes. You can, but I'm dubious as to why you want to exit winlogon or disabling Anti Virus? Kaspersky for instance will alert the user if another process tries to exit it.

Cheers :)

good an example as we kill Kaspersky el process by code? When I try to kill it returns the message access denied

 

Lauro,

Your script works fine on my machine - do you have some form of HIPS which prevents AutoIt from certain actions? :huh:

M23

well it works fine with me calc more commo eg Avast, Kaspersky does not fall gives access denied for reasons I think it is permission to increase the permission of the soft and then immediately kill them

Share this post


Link to post
Share on other sites

Lauro,

Why are you trying to kill the AV process? :huh:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Lauro,

Why are you trying to kill the AV process? :huh:

M23

I have to do it all the time or my script won't compile, the active scan interrupts it. Same with Sugarsync. There are legitimate reasons for stopping AV.

Share this post


Link to post
Share on other sites

Kaspersky and other AV software has self-protection so that malware cannot easily kill their important processes. Otherwise, it would not be very effective. There are ways to kill the processes, though they are not trivial, but I won't discuss them here. Your best bet is to use a batch file or vbscript to disable your AV before compiling/running your script. Or perhaps choose a less intrusive AV such as MSE.

Share this post


Link to post
Share on other sites

Lauro,

I am still waiting for an answer - if you want help I suggest you provide one. ;)

blckpythn,

I am well aware of the legitimate requirements for disabling AV software. But any help offered to the OP is equally available to those whose intentions are, shall we say, less honest. Thus I am trying to determine exactly why AV process termination is required so as to offer more focused advice on how the OP might get around whatever problem he is having. ;)

0xdefea7,

Thank you for not going into details. :thumbsup:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

the non-legitimate way would be to kill the AV process. you are unlikely to get any help with that in this forum, as this violate forum rules, your AV program EULA, and your organization policy.

the legitimate way would be to use the AV program built-in option to temporary suspend it, something like this:

post-47848-0-77864600-1373489227_thumb.p

note that this usually requires 1) the user being a local administrator, 2) suspend is allowed by organization policy, or 3) both of the above.

 

Share this post


Link to post
Share on other sites

Lauro,

orbs has now given you exactly the advice I would have offered - if you had bothered to reply to my question. So I see little point in this thread remaining open as you are certainly not going to get help to permanently kill an AV process, regardless of your intentions or need. :naughty:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0