[THIN] Re: Unable to kill hung process

  • From: "Shonk, Joe - Perot" <JShonk@xxxxxxx>
  • To: "'thin@xxxxxxxxxxxxx'" <thin@xxxxxxxxxxxxx>
  • Date: Fri, 12 Mar 2004 08:33:16 -0700

Thats normally what we do when the spooler hangs, but I ran into an server
earlier this week where a "new" printer cause an issue.  You could stop the
spooler, but you couldn't delete the spool files or restart the service
because spoolsv.exe was still in memory. tskill, kill, kill -f, pskill would
not/could not kill the process.  The only way to get the print spooler back
was to restart the server.

Joe 

-----Original Message-----
From: Jim Kenzig http://thin.net [mailto:jimkenz@xxxxxxxxxxxxxx]
Sent: Friday, March 12, 2004 6:48 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Unable to kill hung process


Mark Lee wrote a pretty good utility called SuperKil that will usually kill
anything Kill cant kill. (try and say that 3 times fast)
http://thethin.net/superkill.zip

If it is a printer driver though, what you need to do is set up a batch to
stop the spooler, clear out the jobs in the spool directory and restart the
spooler and you should be back in business.
For example:

net stop spooler
echo y | del c:\winnt\system32\spool\printers\*.*
net start spooler

JK
http://thin.net
Subject: [THIN] Re: Unable to kill hung process

Tim Mangan wrote:

>Second question first:  If it isn't showing up in the CMC then most likely
>it isn't related to an ICA session  as in console user or maybe even rdp
>user.

It was a user who was logged in via ICA (session #4). This session didn't
exist anymore, but the process winword.exe showed a session #4 in CMC. It
seems as if the session was removed without killing all corresponding
processes. I don't know if this has happened before, but this time this
orphan process was a processor hog.

>I would suspect your inability to kill it with those tools would mean that
>you were not logged in with admin authority.

This is exactly the problem: I logged in as an administrator and got
"Access denied".

>PS:  It is unfortunate that the OS allows this to happen at all.  But then
>if Microsoft fixed this I might not sell as much of my product!

<g>


With kind regards,

Lennart Koschella
System Adminstrator
University Hospital Tuebingen/Germany
********************************************************
This weeks sponsor Emergent Online.
Emergent OnLine is the leading server-based computing consulting integration
firm in the nation. Emergent OnLine delivers expert 
consulting services you can depend on.
http://www.go-eol.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

********************************************************
This weeks sponsor Emergent Online.
Emergent OnLine is the leading server-based computing consulting integration 
firm in the nation. Emergent OnLine delivers expert 
consulting services you can depend on.
http://www.go-eol.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: