Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

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.
0
Malli Boppe
Asked:
Malli Boppe
4 Solutions
 
Glen KnightCommented:
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_cCommented:
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
 
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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Glen KnightCommented:
it will force Windows to rebuild the registry values.
0
 
Malli BoppeAuthor Commented:
so wouldn't break any thing.
0
 
Spike99On-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 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
 
Malli BoppeAuthor Commented:
I think its the easy way to delete the user profiles.
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

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