Temporary Profiles Cleanup Test
User profiles in Citrix Virtual Apps store user-specific settings, preferences, and application configurations, providing a consistent and personalized experience across sessions. When a profile fails to load due to corruption, permission issues, or network problems, Windows creates a temporary profile. Changes made in this session are not retained after logoff, leading to loss of settings and reduced productivity. Additionally, accumulated temporary profiles consume server disk space and increase administrative overhead. For example, if a user logs in with a temporary profile, custom application settings and shortcuts created during the session are lost after logout. Regular cleanup of temporary profiles helps reclaim storage, reduce clutter, and improve the overall Citrix user experience.
This test provides detailed insights into the number, size, login status, deletion status, and cleanup success of both temporary and configured user profiles. It also reports the status of registry key cleanup operations and the overall automation status of the profile cleanup process, enabling administrators to quickly identify profile management issues and validate the effectiveness of automated cleanup activities.
Target of the test : Citrix Virtual Apps
Agent deploying the test : An internal agent
Outputs of the test : One set of results for the target server that is being monitored.
|
Parameters |
Description |
|---|---|
|
Test Period |
This indicates how often should the test be executed. By default, this is set to 5 minutes. |
|
Host |
The host for which the test is to be configured. |
|
Port |
The port number at which the specified host listens to. By default, this is 1494. |
|
User folder path |
Specify the directory in which user profiles are stored on the target system. By default, this parameter is set to Users. Specify only the directory name; the test automatically determines the appropriate drive letter using the windir environment variable and appends it to the configured directory path. For example, if the configured value is Users and the Windows directory resides on drive C:, the test monitors the C:\Users directory. |
|
Automated profile cleanup action |
By default, this parameter is set to No, indicating that automated profile cleanup is disabled. Set this parameter to Yes to enable automatic profile cleanup. When enabled, the test automatically deletes both temporary and configured user profiles based on the configured cleanup criteria. |
|
Temporary profile names |
Use this parameter to specify the naming patterns that the test should use to identify temporary user profiles. Multiple profile name patterns can be specified as a comma-separated list. For example: TEMP, TEMP*. The specified patterns are case-insensitive. |
|
Configured profile names |
Use this parameter to specify the naming patterns that the test should use to identify configured user profiles. Multiple profile name patterns can be specified as a comma-separated list. For example: ATPA, ATPA*. The specified patterns are case-insensitive. |
|
Force delete folders |
By default, this parameter is set to Yes. This indicates that the test will attempt to forcefully delete profile folders that cannot be removed through the standard deletion process. Set this parameter to No if you do not want the test to perform forceful deletion of profile folders. |
|
Profile cleanup disk usage threshold |
Specify the minimum disk usage percentage at which the automated profile cleanup process should be triggered. By default, this parameter is set to 0%, which ensures that profile cleanup is performed whenever the automated cleanup action is enabled. Set this parameter to 100% if you do not want profile folders to be deleted based on disk usage, effectively disabling disk usage-based cleanup. |
|
DD Frequency |
Refers to the frequency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time this test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD frequency. |
|
Detailed Diagnosis |
To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option. The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
|
|
Measurement |
Description |
Measurement Unit |
Interpretation |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Total temporary profiles |
Indicates the total number of temporary user profiles currently present on the Citrix Virtual Apps server. |
Number |
A consistently high value indicates that many users are being assigned temporary profiles instead of their regular profiles. This may point to profile corruption, inaccessible profile stores, permission issues, or profile service failures. Administrators should investigate the root cause to prevent loss of user settings and improve user experience. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and details of temporary profiles. |
||||||||||||||
|
Total temporary profiles size |
Indicates the cumulative size of all temporary user profiles present on the server. |
MB |
An increasing value signifies growing disk space consumption by temporary profiles. Large temporary profile storage may reduce available disk capacity and impact server performance. Periodic cleanup should be performed if the profiles are no longer required. |
||||||||||||||
|
Logged in temporary profiles |
Indicates the number of temporary profiles currently associated with active user sessions. |
Number |
A high value indicates that many active users are operating with temporary profiles. Such users may experience missing settings, unavailable application data, and loss of personalized configurations after logoff. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and details of logged in temporary profiles. |
||||||||||||||
|
Temporary profiles for deletion |
Indicates the number of temporary profiles that have been identified and scheduled for deletion. |
Number |
A non-zero value indicates that cleanup operations are pending. If this value remains high over multiple monitoring intervals, it may suggest that cleanup tasks are not being executed successfully. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and details of temporary profiles for deletion. |
||||||||||||||
|
Temporary profiles deleted |
Indicates the number of temporary profiles successfully deleted during the latest cleanup operation. |
Number |
A higher value confirms that obsolete temporary profiles are being removed successfully, helping reclaim disk space and maintain server health. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and details of temporary profiles deleted. |
||||||||||||||
|
Temporary profiles failed deletion |
Indicates the number of temporary profiles that could not be deleted. |
Number |
A non-zero value may indicate that profiles are locked, in use, have insufficient permissions, or are affected by file system errors. Persistent failures require administrative investigation. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and details of temporary profiles failed deletion. |
||||||||||||||
|
Total configured profiles |
Indicates the total number of configured (non-temporary) user profiles available on the server. |
Number |
This measure provides an overview of the total managed user profiles on the system. A sudden increase may indicate profile accumulation, while an unexpected decrease may suggest profile removal or cleanup activities. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and details of total temporary configured profiles. |
||||||||||||||
|
Total configured profiles size |
Indicates the cumulative size of all configured user profiles stored on the server. |
MB |
This metric helps administrators understand the storage utilization of configured user profiles. Rapid growth may require profile maintenance, storage expansion, or implementation of profile optimization policies. |
||||||||||||||
|
Logged in configured profiles |
Indicates the number of configured user profiles currently associated with active user sessions. |
Number |
This value reflects the number of users actively logged in using their configured profiles. A significant reduction accompanied by an increase in temporary profiles may indicate profile loading failures. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and details of total temporary configured profiles. |
||||||||||||||
|
Configured profiles for deletion |
Indicates the number of configured user profiles that are marked for deletion. |
Number |
Profiles marked for deletion are awaiting cleanup. A consistently high value may indicate that deletion operations are delayed or blocked. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and details of total temporary configured profiles. |
||||||||||||||
|
Configured profiles deleted |
Indicates the number of configured user profiles successfully removed during the cleanup process. |
Number |
An increase in this measure indicates successful removal of obsolete or inactive configured profiles, helping optimize storage utilization. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and details of total temporary deleted profiles. |
||||||||||||||
|
Configured profiles failed deletion |
Indicates the number of configured user profiles that could not be deleted. |
MB |
A non-zero value may result from active profile usage, permission restrictions, file locks, or profile service issues. Administrators should identify and resolve the underlying cause. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and details of total temporary deleted profiles. |
||||||||||||||
|
Registry key to delete |
Indicates the number of registry keys that have been identified and scheduled for deletion as part of profile cleanup. |
Number |
Registry keys awaiting deletion may correspond to obsolete or removed user profiles. A growing value indicates pending cleanup activities. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and registry key of temporary deleted profiles. |
||||||||||||||
|
Registry key deleted |
Indicates the number of registry keys successfully deleted during the cleanup operation. |
Number |
A higher value indicates successful cleanup of obsolete registry entries, reducing registry clutter and maintaining system consistency. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and registry key of temporary deleted profiles. |
||||||||||||||
|
Registry key failed deletion |
Indicates the number of registry keys that could not be deleted. |
Number |
A non-zero value may indicate insufficient permissions, registry locks, or active references to the keys. Persistent failures should be investigated to ensure complete profile cleanup. The detailed diagnosis of this measure will reveal additional metrics including profile path, profile size, last accesses, and registry key of temporary failed deleted profiles. |
||||||||||||||
|
Automation status |
Indicates the current status of the automated profile cleanup process. |
|
The values that this measure can report and their corresponding numeric values are detailed in the table below:
Note: By default, this measure reports the Measure Values listed in the table above to indicate the Automation status of temporary profiles. In the graph of this measure however, the same is represented using the numeric equivalents only. |