Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1654
  • Last Modified:

Unable to delete local profile from Windows 2008 Terminal Server

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
hchabria
Asked:
hchabria
1 Solution
 
Nagendra Pratap SinghCommented:
So you never restart your terminal servers?

Create a new home folder for this user and let the user work.
0
 
vin_shooterCommented:
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
 
hchabriaAuthor Commented:
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
 
hchabriaAuthor Commented:
Restart is the only solution.
0
 
hindsightCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now