Solved

Unable to delete local profile from Windows 2008 Terminal Server

Posted on 2013-07-01
5
1,393 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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 …

777 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