Solved

Unable to delete local profile from Windows 2008 Terminal Server

Posted on 2013-07-01
5
1,411 Views
Last Modified: 2013-12-11
We are using Windows 2008 Terminal Servers. We run delprof2 utility to delete inactive user profiles.

The problem is, we are unable to delete one of the users profile. I think that profile has been corrupted and as a result the user is getting error at the time of login to that terminal server and he is unable to login.

Please note that the server is a critical server and we cannot restart the server at any cost.

As a troubleshooting measure we did the following but didn't get any positive result and the user is still unable to login to the server.

We ran delprof2 utility but still the profile exists.
We browsed to the following registry path to delete the entry but unable to find any registry entry of the said user - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Tried to delete the profile folder exists in the following path but getting access denied error though I have Enterprise Admin rights in the domain (please see the attached screenshot).
C:\Users

Please help me out to resolve this problem. How do I delete this user profile without restarting the server?
Profile-Deletion-Error.png
0
Comment
Question by:hchabria
5 Comments
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
ID: 39289259
So you never restart your terminal servers?

Create a new home folder for this user and let the user work.
0
 
LVL 5

Expert Comment

by:vin_shooter
ID: 39289298
Rename the existing profile by taking ownership on the profile folder. Right click on the folder select properties->security(tab)->Click on Advanced(button)->check for OWNER tab->Add your account in the owner list. And then rename the folder and ask the requestor to login,

Share the results..,
0
 

Accepted Solution

by:
hchabria earned 0 total points
ID: 39309842
vin_shooter, it was not allowing me to take the ownership as I was getting permission denied issue though I have Enterprise Admin rights. However, somehow I was able to manage to restart the server and that fixed the issue.
0
 

Author Closing Comment

by:hchabria
ID: 39324366
Restart is the only solution.
0
 
LVL 1

Expert Comment

by:hindsight
ID: 39712405
No reason to have a server that can never be rebooted.  Seems like it would be an open invitation to a lot of problems.  Having said that I'm having the same issue.  Going to try delprof.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

820 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