Solved

Telephony service hangs, how do I kill it?

Posted on 2004-10-07
8
1,004 Views
Last Modified: 2012-05-05
I have a problem with my GPRS modem. Sometimes the telephony service hangs, and I have to restart the computer. I want to kill this service without restarting. The problem is that this program is running inside one of the svchost processes, so it's not so easy to kill without killing something else too.

I've tried "net stop", but the service is not responding, trying to shut it down inside services.msc is just the same.

Does anyone here know some api calls, or some tools to kill this service, and this service only?
0
Comment
Question by:Zinvob
  • 4
  • 2
8 Comments
 
LVL 1

Expert Comment

by:jrgn
ID: 12246659
There is tool called kill which you can use to kill een process using it's procesid. It is is a resourcekit tool but if you use google you can also find it.
it is used kill -f procesid

Cheers,

Jurgen
0
 

Author Comment

by:Zinvob
ID: 12246726
As I stated, it's running inside the svchost process, so the only thing I could kill this way is the svchost process. And I don't want to do this, as there are other services also running inside the same process.
0
 
LVL 1

Expert Comment

by:jrgn
ID: 12246866
You can try  the Advanced Process Manipulator
http://www.diamondcs.com.au/index.php?page=apm
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:Zinvob
ID: 12246869
Does anyone know how to use api calls to get the same effect as "tasklist /svc"?
0
 

Author Comment

by:Zinvob
ID: 12247015
Tried to unload the tapisrv.dll, but then the whole system got unstable, so this was no good idea :)

But I found another method:
taskkill /FI "SERVICES eq TapiSrv" /F

Kills only the svchost process that contains the telephony service (TapiSrv). Still I would like to kill only a little part of the process instead of everything. Because now I have to restart all the other services inside that svchost also. And to do that I have to first go through all services before executing the taskkill, and after killing the svchost I have to restore the state of those that have changed.

Is there a way to do this easy?
0
 

Author Comment

by:Zinvob
ID: 12367461
Solution is as follows (in easier terms):

First I loop through all services, recording their state (loaded/not loaded).
execute: taskkill /FI "SERVICES eq TapiSrv" /F
Loop through all services, restoring state for those who have changed.

0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 12392518
Question PAQ'd
500 points refunded.

CetusMOD
Community Support Moderator
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now