Windows 7 x64 cannot kill Skype

9

2

Skype got stuck, and Windows was unable to kill the process even when the UI had disappeared. I had to restart the computer to get Skype again working.

Running as administrator:

C:\Windows\system32>tasklist | find "Skype"
Skype.exe                     2708 Console                    1     92,328 K

C:\Windows\system32>taskkill.exe /pid 2708 /F /T
SUCCESS: The process with PID 2708 has been terminated.

C:\Windows\system32>tasklist | find "Skype"
Skype.exe                     2708 Console                    1     92,328 K

How can this be even possible?

Cheers.

NullOrEmpty

Posted 2012-07-24T09:45:18.080

Reputation: 293

Microsoft already killed Skype – Troydm – 2018-01-25T16:54:38.033

1I'm not sure what would cause this, but in the future you can use Process Explorer to kill it. Never fails for me even if Task Manager does. – Oliver G – 2012-07-24T09:48:59.867

1I don't know why this happens, maybe some system-wide lock or something. But this happened to me several times. The application was basically "unkillable", no matter what utility I tried. Even Process Explorer failed. Restart was the only way out. – Apache – 2012-07-24T11:05:01.380

2Skype is not shutting down. Looks like the problem with Skype is pervading in all platforms. Find the same problem in Ubuntu. – vulcan raven – 2012-07-24T12:24:15.183

Answers

6

Unkillable Skype is caused by one of the Skype threads trying to close a handle to the Ancillary Function Driver (/devices/AFD).

This close call hangs and never returns. When you try to kill the process, the I/O request gets cancelled, but the cancellation also hangs. The process cannot quit until its threads return, and the thread cannot return until the cancellation completes, hence process termination is impossible.

You can confirm this with a kernel mode debugger. See this TechNet blog article for details.

You need to use a remote debugger, because Skype causes some unhandled exceptions which will freeze windows otherwise.

The probable cause is some bug in some network filter driver.

Hello1024

Posted 2012-07-24T09:45:18.080

Reputation: 61

This seems to be the problem, and it crashes web skype too – KinSlayerUY – 2016-02-04T20:07:56.960

Sounds reasonable, but what to do about it !? – TT-- – 2018-12-11T18:54:26.370

5

Try again Taskkill with these switches:

taskkill.exe /f /fi "status eq not responding"

You may also look in HKU\Control Panel\Desktop and change the value of WaitToKillAppTimeout from the default value of 16000 (milliseconds) to a lower value (but not 0!) and HungAppTimeout from the default value of 4000 (milliseconds) to a lower value (but not 0).

climenole

Posted 2012-07-24T09:45:18.080

Reputation: 3 180

1Unfortunately did not help in my case, which matches given description. – JRA_TLL – 2017-05-19T11:33:11.517

It helped me killing Skype, which was not appearing in Task Board also.Thanks – Vishnu – 2017-11-08T03:46:39.667

4

The process name is for Skype for Business is "lync.exe", but the Process Description is Skype for Business"

Try taskkill.exe /IM lync.exe /F

Jay Montgomery

Posted 2012-07-24T09:45:18.080

Reputation: 41

Please read the question again carefully. Your answer does not answer the original question. – DavidPostill – 2017-02-03T14:09:39.730

2

Doesn't seem to be issue in my case either.

c:\Windows\System32>tasklist | find "Skype"
Skype.exe                     8380 Console                    1    133,628 K

c:\Windows\System32>taskkill /pid 8380 /f /t
SUCCESS: The process with PID 10296 (child process of PID 8380) has been termina
ted.
SUCCESS: The process with PID 8380 (child process of PID 3616) has been terminat
ed.

c:\Windows\System32>tasklist | find "Skype"

c:\Windows\System32>

However, in your case, it appears to me that the process' UI-thread is locked in closing state while the SUCCESS message was displayed.

Solution:

If that happen, click on (show hidden icons) arrow on taskbar, you will see that the app icon is still there. Hover over icon and you will see it disappear! Run the command again and you will not find the process again, which indicates that process was closing, unusable and inactive.

vulcan raven

Posted 2012-07-24T09:45:18.080

Reputation: 389

Unfortunately did not help in my case, which matches given description. – JRA_TLL – 2017-05-19T11:33:17.030

1

Make a new shortcut. Enter "C:\Program Files (x86)\Skype\Phone\Skype.exe" /shutdown in the location line then name it kill Skype

Peter

peter

Posted 2012-07-24T09:45:18.080

Reputation: 11

This works for me. (Microsoft stuff is such a horrible pile of excrement). – demented hedgehog – 2016-07-10T23:31:29.387

Unfortunately did not help in my case, which matches given description. – JRA_TLL – 2017-05-19T11:33:25.143

-3

I think I have the answer, and a way to kill the skype process with a simple shortcut that you can create yourself. It always has worked for me, with any version of Skype.

here are the steps :

  1. Right-click the empty section of the desktop and select New

= > Shortcut

  1. Type this in the window that opens:

    taskkill.exe /IM skype.exe /T /F

Then hit Enter (or click on ‘Next’)

  1. Type in the name for the shortcut (could be SkypeKill) and click ‘Finish’ (or hit Enter)

  2. optional : you can choose and add a nice red skype icon to your shortcut ; download one in google images, place it in a secure file you won't move.

then, right click the shortcut, properties, change/modify the icon, browse to find the folder with your icon file.

  1. also optional : Pin (drag) the shortcut to the taskbar so Skype can be closed and shut down with a single click on this taskbar icon.

That’s it. What this does is:

/IM gracefully closes a process with the “image name”

skype.exe

/T closes all associated processes skype.exe opened

Hope it will work for all of you too, let us know if it does or not by publishing an answer here :)

pouchette

Posted 2012-07-24T09:45:18.080

Reputation: 1

This just repeats earlier answers – Ramhound – 2015-06-20T16:39:25.577

1@Ramhound: Actually, it's worse than that.  The question says, "*X* doesn't work; what can I use instead?" and this answer is saying, "Try *X*; it has always worked for me." – G-Man Says 'Reinstate Monica' – 2015-06-20T17:58:09.690