Solved

Unable to delete local profile from Windows 2008 Terminal Server

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

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

I have been working as System Administrators since 2003. I recently started working as a FreeLancer and was amazed to find out that very few people are taking full advantage of their Windows Server Machines. Microsoft Windows Server comes with so…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

762 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

21 Experts available now in Live!

Get 1:1 Help Now