Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know it's a really simple question but how can I verify if an end user is using a roaming profile in Windows Vista?

I should clarify -- I don't manage the user's network... I support a product that doesn't work with roaming profiles.

share|improve this question
up vote 4 down vote accepted

If you know the user's username and domain, you can walk them through checking it out.

  1. Click start and right-click Computer.
  2. Choose Properties.
  3. Click on Advanced System Settings on the left.
  4. Within the Advanced tab, click the Settings button under the User Profiles section.
  5. Look for the DOMAIN\user in the list and look to the right. The Type will either be Local or Roaming.
share|improve this answer

First, find the user's SID (in string format). The method you use will vary depending on your programming language. However, here is one way to do this (VBScript):

'Note: you must have domain/corporate network connectivity in order to complete this query for a domain account
'This will not work for a remote user that is not connected via VPN, for example.
strUserName = "flesniak"
strNetBIOSDomainName = "DOMAIN" 'Use the computer name if checking local account
Set objWMI = GetObject("winmgmts:\\.\root\cimv2")
Set objAccount = objWMI.Get("Win32_UserAccount.Name='" & strUserName & "',Domain='" & strNetBIOSDomainName & "'")
strUserSID = objAccount.SID

Once you have the SID, then query the registry key:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>

and inspect the string value:


If the CentralProfile value is blank or nonexistent, then it's a local profile. If CentralProfile is configured to be a UNC path, then it's a roaming profile.

share|improve this answer
Looks good, but it would help to provide a method for finding the user's SID. – boot13 Nov 27 '15 at 23:08
Thanks for the feedback. I updated with an example. – Frank Lesniak Nov 29 '15 at 3:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.