Windows User Profile Path

I'm developing a small windows application that manages the profiles on my Windows computers and I observed that many profiles, although they were on se correct folder, the name of the folder was not the same with the username.

I found an article on Microsoft KB that is about temporary profiles but is mentions that there's a registry key that holds that information for all users.

The key is the: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList



I used that key to map the usernames to the directories.


 

Popular posts from this blog

Managing Active Directory User Certificates using PowerShell

Domain Controller Machine Password Reset

IIS Client Certificate Revocation Check Disable