windows 2008 User profile

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.
LVL 23
Malli BoppeAsked:
Who is Participating?
 
Malli BoppeConnect With a Mentor Author Commented:
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
 
Glen KnightConnect With a Mentor Commented:
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
 
Roshan_cConnect With a Mentor Commented:
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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
Malli BoppeAuthor Commented:
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
 
Glen KnightCommented:
it will force Windows to rebuild the registry values.
0
 
Malli BoppeAuthor Commented:
so wouldn't break any thing.
0
 
Spike99Connect With a Mentor On-Site IT TechnicianCommented:
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
 
Malli BoppeAuthor Commented:
I think its the easy way to delete the user profiles.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.