delete user profile on windows

after deleting domain user folder on windows 7 / users , and deleted userprofile on registry (hkey loc machine....user profile) , still after login with user , it create 2 user profile , 1 with only 1 folder "appdata"
so there is problem in accessing network
techpAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joseph MoodyBlogger and wearer of all hats.Commented:
Any chance that you have a logon script (or scheduled task) that is creating the second folder?
bbaoIT ConsultantCommented:
> after login with user , it create 2 user profile...

do you mean after logging in with a domain user? can you show what the user names look like? give an example please?
techpAuthor Commented:
user
user.domainname

there is no login script to create second folder .

other user login , there is no problem
bbaoIT ConsultantCommented:
did the user explicitly choose domain name when logging in? such as DOMAIN\USER?
R. Andrew KoffronownerCommented:
backup before you mess with registry..

log in to the local admin on the machine, change it to a workgroup, reboot
make sure you're viewing hidden files,
rename all the existing Domain User folders, to Name+.old or move them into a folder called OLD.
Clean up the registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
**look at folder locations and get rid of everything with a domain user account name in the path or .bak on the SSID*
reboot
rejoin domain.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.