Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Telephony service hangs, how do I kill it?

Posted on 2004-10-07
8
Medium Priority
?
1,041 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
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…

664 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