Share via


Win32_RoamingUserHealthConfiguration class

Represents health configuration properties for all roaming user profiles on a computer.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

class Win32_RoamingUserHealthConfiguration
{
  uint8  HealthStatusForTempProfiles;
  uint16 LastProfileUploadIntervalCautionInHours;
  uint16 LastProfileDownloadIntervalCautionInHours;
  uint16 LastProfileUploadIntervalUnhealthyInHours;
  uint16 LastProfileDownloadIntervalUnhealthyInHours;
};

Members

The Win32_RoamingUserHealthConfiguration class has these types of members:

Properties

The Win32_RoamingUserHealthConfiguration class has these properties.

HealthStatusForTempProfiles

Data type: uint8

Access type: Read/write

Qualifiers: Values (Healthy, Unhealthy, Caution), ValueMap (0, 1, 2)

Indicates how the Win32_UserProfile class's HealthStatus property should reflect the use of temporary profiles.

LastProfileDownloadIntervalCautionInHours

Data type: uint16

Access type: Read/write

This is the time threshold, in hours, after which the profile health is reported as Caution when the profile has not been downloaded yet.

If the last time the profile was downloaded plus this threshold is greater than the current time, the Win32_UserProfile class's HealthStatus property is set to Caution.

LastProfileDownloadIntervalUnhealthyInHours

Data type: uint16

Access type: Read/write

This is the time threshold, in hours, after which the profile health is reported as Unhealthy when the profile has not been downloaded yet.

The value of this property should be greater than the value of the LastProfileDownloadIntervalCautionInHours property.

If the last time the profile was downloaded plus this threshold is greater than the current time, the Win32_UserProfile class's HealthStatus property is set to Unhealthy.

LastProfileUploadIntervalCautionInHours

Data type: uint16

Access type: Read/write

This is the time threshold, in hours, after which the profile health is reported as Caution when the profile has not been uploaded yet.

If the last time the profile was uploaded plus this threshold is greater than the current time, the Win32_UserProfile class's HealthStatus property is set to Caution.

LastProfileUploadIntervalUnhealthyInHours

Data type: uint16

Access type: Read/write

This is the time threshold, in hours, after which the profile health is reported as Unhealthy when the profile has not been uploaded yet.

The value of this property should be greater than the value of the LastProfileUploadIntervalCautionInHours property.

If the last time the profile was uploaded plus this threshold is greater than the current time, the Win32_UserProfile class's HealthStatus property is set to Unhealthy.

Remarks

This class defines the thresholds used to calculate the Roaming User Profile Health. If the last time the profile was uploaded or downloaded plus the threshold is greater than the current time, then the health status is set accordingly.

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Namespace
Root\CIMv2
MOF
UserProfileConfigurationWmiProvider.mof