Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
December 21, 2006
When a user logs on, their registry profile at
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProfileList contains a State Value Name, a REG_DWORD data type, that is a bit mask whose value indicates the state of the local profile cache.
NOTE: See tip 5346 How do I retrieve a user's ProfileImagePath in batch?
The mask bits and their meaning are:
Hex Mask Description 0001 Profile is mandatory. 0002 Update the locally cached profile. 0004 New local profile. 0008 New central profile. 0010 Update the central profile. 0020 Delete the cached profile. 0040 Upgrade the profile. 0080 Using Guest user profile. 0100 Using Administrator profile. 0200 Default net profile is available and ready. 0400 Slow network link identified. 0800 Temporary profile loaded.
You May Also Like