Solved

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

Posted on 2008-10-05
3
223 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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

19 Experts available now in Live!

Get 1:1 Help Now