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

Domain Controller Machine Password Reset

Configuring a Certificate on Exchange Receive Connector

Verbose Parameter Passing to cmdlet inside Function