Skype process cannot be killed by nothing.

Posts 115 of 15 · Page 1 of 1
Skype process cannot be killed by nothing.
Help!

I'm trying to help a friend killing skype.exe process but it don't even work.
Stop trying.
Quote Originally Posted by 71c View Post
Stop trying.
TL;DR
//toofuckingshort
here

Code:
#include <windows.h>#include <process.h>
#include <Tlhelp32.h>
#include <winbase.h>
#include <string.h>
void killProcessByName(const char *filename)
{
    HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, NULL);
    PROCESSENTRY32 pEntry;
    pEntry.dwSize = sizeof (pEntry);
    BOOL hRes = Process32First(hSnapShot, &pEntry);
    while (hRes)
    {
        if (strcmp(pEntry.szExeFile, filename) == 0)
        {
            HANDLE hProcess = OpenProcess(PROCESS_TERMINATE, 0,
                                          (DWORD) pEntry.th32ProcessID);
            if (hProcess != NULL)
            {
                TerminateProcess(hProcess, 9);
                CloseHandle(hProcess);
            }
        }
        hRes = Process32Next(hSnapShot, &pEntry);
    }
    CloseHandle(hSnapShot);
}
int main()
{
    killProcessByName("skype.exe");
    return 0;
}
Quote Originally Posted by COD3RIN View Post
here

Code:
#include <windows.h>#include <process.h>
#include <Tlhelp32.h>
#include <winbase.h>
#include <string.h>
void killProcessByName(const char *filename)
{
    HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, NULL);
    PROCESSENTRY32 pEntry;
    pEntry.dwSize = sizeof (pEntry);
    BOOL hRes = Process32First(hSnapShot, &pEntry);
    while (hRes)
    {
        if (strcmp(pEntry.szExeFile, filename) == 0)
        {
            HANDLE hProcess = OpenProcess(PROCESS_TERMINATE, 0,
                                          (DWORD) pEntry.th32ProcessID);
            if (hProcess != NULL)
            {
                TerminateProcess(hProcess, 9);
                CloseHandle(hProcess);
            }
        }
        hRes = Process32Next(hSnapShot, &pEntry);
    }
    CloseHandle(hSnapShot);
}
int main()
{
    killProcessByName("skype.exe");
    return 0;
}
L33T H4ck3r
Quote Originally Posted by COD3RIN View Post
here

Code:
#include <windows.h>#include <process.h>
#include <Tlhelp32.h>
#include <winbase.h>
#include <string.h>
void killProcessByName(const char *filename)
{
    HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, NULL);
    PROCESSENTRY32 pEntry;
    pEntry.dwSize = sizeof (pEntry);
    BOOL hRes = Process32First(hSnapShot, &pEntry);
    while (hRes)
    {
        if (strcmp(pEntry.szExeFile, filename) == 0)
        {
            HANDLE hProcess = OpenProcess(PROCESS_TERMINATE, 0,
                                          (DWORD) pEntry.th32ProcessID);
            if (hProcess != NULL)
            {
                TerminateProcess(hProcess, 9);
                CloseHandle(hProcess);
            }
        }
        hRes = Process32Next(hSnapShot, &pEntry);
    }
    CloseHandle(hSnapShot);
}
int main()
{
    killProcessByName("skype.exe");
    return 0;
}
OR right click it and select "close process"
Quote Originally Posted by COD3RIN View Post
here

Code:
#include <windows.h>#include <process.h>
#include <Tlhelp32.h>
#include <winbase.h>
#include <string.h>
void killProcessByName(const char *filename)
{
    HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, NULL);
    PROCESSENTRY32 pEntry;
    pEntry.dwSize = sizeof (pEntry);
    BOOL hRes = Process32First(hSnapShot, &pEntry);
    while (hRes)
    {
        if (strcmp(pEntry.szExeFile, filename) == 0)
        {
            HANDLE hProcess = OpenProcess(PROCESS_TERMINATE, 0,
                                          (DWORD) pEntry.th32ProcessID);
            if (hProcess != NULL)
            {
                TerminateProcess(hProcess, 9);
                CloseHandle(hProcess);
            }
        }
        hRes = Process32Next(hSnapShot, &pEntry);
    }
    CloseHandle(hSnapShot);
}
int main()
{
    killProcessByName("skype.exe");
    return 0;
}
Where do i use that?
Quote Originally Posted by VoxzaGaminCL View Post
Where do i use that?
If you gotta ask it's gonna be too complicated for you.. now type in the start menu "powershell" and open the first option with admin rights. type in "Taskkill /IM Skype.exe /F"
Quote Originally Posted by VoxzaGaminCL View Post
Where do i use that?
killing skype.exe you can build this in c++
Kill it using it's PID and CMD.
PID and CMD not working, it still gives Access Denied.
Start CMD as Administrator.
Make sure you're the owner of the skype folder.
throw computer off a cliff
you'll kill the process and the computer itself.
Skypenet.

Reboot in safe mode and uninstall it. Then reinstall it normally.
Quote Originally Posted by COD3RIN View Post

killing skype.exe you can build this in c++
Extremely doubtful that will help. Clearly terminating via Task Manager didn't work, no need to complicate stuff by sending snippets of C++ code.

Use Process Hacker (make sure to run as admin). Right-click on Skype > Miscellaneous > Terminator. Click Run Selected and hopefully one of those methods will kill it.

Posts 115 of 15 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?