Solved

Telephony service hangs, how do I kill it?

Posted on 2004-10-07
8
1,008 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 …
We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

910 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

20 Experts available now in Live!

Get 1:1 Help Now