Manually Determine User’s Profile Path

If you can log on as a user, you can run

echo %UserProfile%

to get the correct profile path. But if you are logged on as another user, or even across the network, here is the down-and-dirty way to get the same info.

1. List domain users and their SIDS, from an administrative command prompt:

wmic useraccount get domain,name,sid

2. Open this registry key to see the list of profiles on the machine:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

3. Look for the key under ProfileList that matches the SID. Then in that key, look for the ProfileImagePath value. This gives the path to the local profile.

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.