Terminal Server app crashing for one user

Posted on 2010-09-16
Last Modified: 2012-05-10
We are running Terminal Server on Windows 2008.  I have one user who logs into TS and immediately after logging in, gets a message "Acrobat Distiller has stopped working".  This is also logged in the Event Logs as an application crash.  This error is happening only for this one user who really needs to use Adobe Acrobat.

The fact that this is occurring to just one user would indicate a profile corruption issue.  I've never deleted profiles from a Terminal Server so I am a little cautious.  Profiles are configured as roaming profiles.  Can I just delete her roaming profile?  Do I also need to delete the local profile folder on the server.  This is one of our key employees so I don't want to render her inoperable.

What would be best the procedure for trying to resolve this Adobe crash?
Question by:rutaliet
  • 3
  • 3

Expert Comment

Comment Utility
Once the user has logged off their local copy of the roaming profile should also go.  If there are messages about files being locked then this usually indicates either a busy server or a corrupt profile.

You can safely delete the profile from the terminal server after log off and it is good practise to reboot a terminal server at least once a month (we do it weekly) and delete all profiles (or parts of profiles) left behind.

If this does not fix the issue, copy her profile from the profile server to another area (making sure you unhide operating system files first) and then delete it.  The system will create a new profile but IE favourites and application customisations will be lost.  They can however be recovered from the saved copy.

Author Comment

Comment Utility
Thanks for the quick response !  I still don't really understand how to deal with the corrupt profile for the one TS user.  I tried something this morning that just confused me more.  Here is my environment:

I have two Terminal Servers:
TS1 is my production server
TS2 is a standby backup server (that I also use for testing)
TS profiles are configured for users to put their profile on a file share on a different server.  By reviewing the profiles on the file share and looking at the time stamps, I can see that these are updating daily.

On the actual terminal servers, there is a folder for each user in the Users folder.  I am assuming that these are the locally cached copies of the profile and that they can be safely deleted.  We do not have the setting configured (for now)  that deletes the local copy on logout.  We recently had an issue on TS1, so we failed over to TS2 until the issue was resolved.   Therefore, TS2 also has a profile folder for each user in the Users folder.

As a test, this morning,  I logged on to TS2 and manually deleted the local copy of the profile folder in the Users directory for the user that is having the Adobe problem.  I was under the assumption that when this user logged in to TS2 that the roaming profile would be accessed and a new local folder would be created.  This was not the case.  After I deleted the local folder and logged on as the user, the errors about "there is no profile and a temp profile will be used but won't be saved"  came up.  The Adobe errors was not generated, but clearly, something was not right about what I did.  I restored the deleted folder.

This did seem to confirm that the Adobe error is indeed a profile issue.

So I am still reluctant to go and mess with this person's profile.  I am really confused about why the roaming profile was not used after the local copy was deleted.  I tried researching best practices for managing user profiles on TS but really have not found anything useful.  I anticipate having corrupt TS profiles at some time in the future, so I need to know the CORRECT way of successfully deleting a TS profile without screwing up the user.  And why can't I delete the local folders?  

Expert Comment

Comment Utility
The error you get when logging on after deleting the cached profile on TS2 suggests that TS2 is not getting the profile from the file server.  Do you get this error if you delete other users.  

Also rather than deleting the folder it is better to go to the properties of my computer, click advanced and delete the profile from there.

Try on a test user before working on this important one!

Is TS1 back, if so try on that also.
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).


Author Comment

Comment Utility
I did resolve my application error issue by deleting the user's TS profile.  I was concerned about following the correct sequence of steps - it's probably obvious to most experts, but since I never needed to do it before,  I wasn't sure exactly of the steps. So for others that might need this info, here is the process that worked for me:

Make sure user is not logged into any TS.
To be safe, make copy of the profile folder on the network share (may need to take ownership first)
Delete profile on TS1 using System Properties - Advanced - User Profiles (local profile folder is now gone).
Delete profile on TS2 using System Properties - Advanced - User Profiles (local profile folder is now gone).
Remove TS profile path from user's AD profile and Save (probably not needed but I did it to be safe).
Delete profile folder on network share.
Add TS profile path back to user's AD profile.
Logon as user to TS1. Verify no errors.
Logon as user to TS2. Verify no errors.
Log user off from both TS Servers.
Restore any needed items from the copied profile into the new profile on the network share.
Log back on as user to test items.

Accepted Solution

cmrayer earned 500 total points
Comment Utility
I think that I gave rutaliet the answer seeing as he fixed the problem by following my suggestion of deleting the profiles through mycomputer properties.  He correctly states that the profile path changes were not required.

I am not sure why he does not want me to be awarded the points?



Author Closing Comment

Comment Utility
The suggestions was correct but not complete.  There was no mentiong that the roaming profile needed to be deleted at each TS and that the roaming folder needed to be manually deleted from the file share.  The comments did lead me to the correct solution, but additional steps were required for full resolution.  I am happy to award points for assistance, but I received the remainder of the advice from a different resource.

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

771 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

15 Experts available now in Live!

Get 1:1 Help Now