Link to home
Start Free TrialLog in
Avatar of rutaliet
rutalietFlag for United States of America

asked on

Terminal Server app crashing for one user

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?
Avatar of cmrayer
cmrayer
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of rutaliet

ASKER

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?  
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.
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.
ASKER CERTIFIED SOLUTION
Avatar of cmrayer
cmrayer
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.