|- WMI Library -|
WMI Libraly > Win32_UserProfile Class
The Win32_UserProfile class contains information about user profiles on a Windows system.
Higher values indicates there are more than one applications or services has loaded the profile and using it.
NOTE: User has a roaming profile configured does not mean that this profile is indeed roaming.
There are other policies and user preference can prevent the profile from roaming.
Please refer to the RoamingPreference and Status property.
By default, this property will be true to let the roaming profile roam between the local computer and the server.
User can set this property to false to prevent roaming, then the profile will work like a local profile.
0x00000001 - Indicate the profile is a temporary profile, it will be deleted at user logoff.
0x00000002 - Indicate the profile is now set to roaming, if this bit is not set, then it is set to local.
0x00000004 - Indicate the profile is a mandatory profile.
0x00000008 - Indicate the profile is a corrupted profile, and not in use, user or administrator must fix
the corruption in order to use this profile again.
SELECT * FROM Win32_UserProfile
This contents is created by WMI having class information.
WMI Environment is Windows Server 2008 R2 Enterprise Edition.
This link is Microsoft documents for "Managing Windows with WMI".
That is VB(Visual Basic) scripting sample.
This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
That is VB.net(Visual Basic .net) scripting sample.
- WMI Library -
WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.
This website is created by Toh.
Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
|^ Go to the top...|