Solved

windows 2008 User profile

Posted on 2011-03-23
9
807 Views
Last Modified: 2013-11-21
On windows 2008 R2 RDS server when I delete the local profile for an RDS user under C:\users why wouldn't the system create a new profile with the user name.Instead I see temp.domain.com profile being created when he logs in.Is their way to get a new user profile created with the user name.
0
Comment
Question by:Malli Boppe
9 Comments
 
LVL 74

Assisted Solution

by:Glen Knight
Glen Knight earned 166 total points
Comment Utility
Is the user profile listed under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList in the registry? If so delete it.

Then try again.
0
 
LVL 3

Assisted Solution

by:Roshan_c
Roshan_c earned 167 total points
Comment Utility
go to regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
check for subkeys named sid.bak and deleted them
logout and login back again to check if the profile is created
0
 
LVL 23

Author Comment

by:Malli Boppe
Comment Utility
would deleting the registry keys have any impact.The user can login and access applications I am just worried if deleting the resgitry keys would break any thing.
0
 
LVL 74

Expert Comment

by:Glen Knight
Comment Utility
it will force Windows to rebuild the registry values.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 23

Author Comment

by:Malli Boppe
Comment Utility
so wouldn't break any thing.
0
 
LVL 16

Assisted Solution

by:Spike99
Spike99 earned 167 total points
Comment Utility
Deleting that key will not break anything.  But, you will probably have to delete 2 keys.

The best way to clear the profile is to use system properties to do that since that will delete both the profile registry key and the profile folder.  In 2008, if you're going to manually remove the profile folder from the Users directory, you also HAVE to remove the profile key for that user, otherwise that user will get a temp profile error at every log on.  When users have that temp profile problem, a second profile key will exist ending in .BAK.

So, you will have to delete both keys for the user in the ProfileList key.  For example:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\SID
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\SID.bak

Also, manually remove any remaining folders in C:\Users folder.  You can tell which folder is being used for the user's profile by looking at this value in those registry keys before you delete them.
ProfileImagePath

If you don't already have a tool to translate the user name into the SID, I would recommend this one:

http://www.codeproject.com/KB/cpp/lkupuserinfo.aspx

I hope this helps.

Alicia
0
 
LVL 23

Accepted Solution

by:
Malli Boppe earned 0 total points
Comment Utility
I have created a folder under C:\users with the user name and changed the permissions on that folder.deleted the profile via System Properties--Advanced tab--User Profiles--Settings button
0
 
LVL 23

Author Closing Comment

by:Malli Boppe
Comment Utility
I think its the easy way to delete the user profiles.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

We recently had an issue where out of nowhere, end users started indicating that their logins to our terminal server were just showing a "blank screen." After checking the usual suspects -- profiles, shell=explorer.exe in the registry, userinit.exe,…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
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 tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

771 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

10 Experts available now in Live!

Get 1:1 Help Now