Solved

Application Processes Linger After Programs are Closed and User Ends Terminal Server Session

Posted on 2008-10-05
3
241 Views
Last Modified: 2013-11-21
Application processes like MS Word, IE and MS Excel continue to linger in task manager after the user has logged off the TS session.

I am running User Profile Hive Cleanup Service v1.6d.  The event view shows it running successfully.  

Any clues?
Thx, matt

Running:
Windows 2003 Standard
SP2
MMC v3.0
Quad Xeons 2.0
4GB Ram

as a:
TS 2003
File Server
DC
DNS
DHCP
0
Comment
Question by:TX_SCUBA
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
placebo69a earned 500 total points
ID: 22645724
Hi there!
So for some reason certain user processes don't want to close when the user logs out? There could be several reasons but I'm sure you're not interested in those... :)
What you can do is add a GPO to your terminal server that will run a Logout Script. The script only needs one line:
TASKKILL.EXE /F /FI "USERNAME eq %USERNAME%"
This will make sure no processes started by that user will survive his logging out.
0
 

Author Comment

by:TX_SCUBA
ID: 22645806
Duh...
How sweet it is, simplicity that is.

I am going to go aheah and create the GPO.  One thing though I would like to know the possible reasons for the hang ups.  Incase it might be a systemic problem.

Thanks again,
matt
0
 

Author Closing Comment

by:TX_SCUBA
ID: 31503215
So simple, yet so elegant.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

860 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