Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
E: enquiries@precedence.co.uk
ProfileStates

Jump To: Support > KB > Windows > ProfileStates

Determining profile states from the registry

Each profile on a machine corresponds to a key named after the relevant SID in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ as shown here:

The values can be (not all will be present):

  • Flags
  • CentralProfile - path to central network profile as defined in AD
  • Guid
  • NextLogonCacheable - not clear
  • ProfileImagePath - local path of loaded profile
  • ProfileLoadTimeHigh - Was profile load time on XP, but always 0 on 7 and later
  • ProfileLoadTimeLow - Was profile load time *low speed) on XP, but always 0 on 7 and later
  • RefCount - whether this profile has an active session (0 if not)
  • RunLogonScriptSync - whether to run logon script before starting explorer (1 = yes, 0 = no)
  • Sid - binary representation of SID
  • State - see below

State is a sum of the following. Beware the difference between hexadecimal and decimal, regedit displays the hex first (with 0x at the start) with decimal in brackets, so we will do the same:

  • 0x0001 (1) = Profile is mandatory
  • 0x0002 (2) = Update the locally cached profile
  • 0x0004 (4) = New local profile
  • 0x0008 (8) = New central profile
  • 0x0010 (16) = Update the central profile
  • 0x0020 (32) = Delete the cached profile
  • 0x0040 (64) = Upgrade the profile
  • 0x0080 (128) = Using Guest user profile
  • 0x0100 (256) = Using Administrator profile
  • 0x0200 (512) = Default net profile is available and ready
  • 0x0400 (1024) = Slow network link identified
  • 0x0800 (2048) = Temporary profile loaded

Common state values are therefore:

  • 0 = standard local profile
  • 5 = newly-loaded mandatory profile
  • 0x0100 (256) = standard administrator local profile

Here's an example of a newly-loaded mandatory profile:

Here's an example of a new administrator profile:

References

© Copyright Precedence Technologies 1999-2024
Page last modified on June 06, 2017, at 09:52 AM by sborrill