Solved

Unable to delete local profile from Windows 2008 Terminal Server

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can’t delete a file 14 140
Options greyed out - Log on as a batch job 3 48
Renaming multiple file extensions using Powershell 4 37
SYSLOG message format 3 41
If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
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…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

910 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

23 Experts available now in Live!

Get 1:1 Help Now