Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Telephony service hangs, how do I kill it?

Posted on 2004-10-07
8
Medium Priority
?
1,046 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
7 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

876 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