Sign in to follow this  
Followers 0
Alodar

Processclose not killing the actual process

5 posts in this topic

I used to use a Processclose("LogMeIn.exe") to kill the process, and then restart it, because when I remote in to a machine, and then log it in to a VPN (while remoted) it has to be reset before I can remote in to it with LogMeIn again. However, in Windows 7, it won't actually kill the process?

I have it set as require admin, don't have UAC on (it's entirely off), but it just tries to close the process forever (I used a while loop to continue trying to kill it while the PID exists).

Any suggestions/help?

Share this post


Link to post
Share on other sites



I use Logmein and I have noticed that it also has a service called LMIGuardianSvc.exe. I bet this keeps Logmein alive, to prevent losing connectivity on crashes. You probably have to kill that process, too.


#include <ByteMe.au3>

Share this post


Link to post
Share on other sites

Yeah, I tried that. There are actually 3 processes; LMIGuarian.exe, LogMeInSystray.exe, and LogMeIn.exe. None of the above get closed with Processclose for some reason. It's like Windows is simply ignoring the command from Autoit.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

You said you have win7, but is that win7 x64?

If not, then; I had no problem killing any of those services if i was running as admin AND had the seDebug privilege... short way of getting seDebug:

DllCall("ntdll.dll", "int", "RtlAdjustPrivilege", "int", 20, "int", 1, "int", 0, "int*", 0) ; Get SeDebugPrivilege

[EDIT: but I'm working locally, so there might be other circumstances in your case... ?]

/Manko

Edited by Manko

Yes i rush things! (I sorta do small bursts inbetween doing nothing.) Things I have rushed and reRushed:* ProDLLer - Process manager - Unload viri modules (dll) and moore...* _WinAPI_ProcessListOWNER_WTS() - Get Processes owner list...* _WinAPI_GetCommandLineFromPID() - Get commandline of target process...* _WinAPI_ThreadsnProcesses() Much info if expanded - optional Indented "Parent/Child"-style Processlist. Moore to come... eventually...

Share this post


Link to post
Share on other sites

Nope, I'm not running x64. I am admin, and I have it set to RequireAdmin as well. I will try that as soon as I can remote in again. Thank you.

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