Skip to main content

Unknown User Profiles Management

Purpose

The solution is designed to detect and manage unknown or cached user profiles. These unknown user profiles can occupy significant disk space on the computer. The primary objective of this solution is to identify these profiles to free up unnecessarily used drive space.

Although the solution does not automatically remove the unknown or cached user profiles, it generates a ticket containing the relevant information about the user profiles that need to be removed. The Remove User Profile task can then be utilized to eliminate these unwanted, unknown, or cached user profiles.

The Unknown User Profiles task identifies and returns the Security Identifiers (SIDs) of unknown/cached user profiles, which can then be used as input parameters for the Remove User Profile task.

Sample Run

Caution: The Remove User Profile task is destructive and should only be used after fully understanding the implications.

Associated Content

ContentTypeDescription
Unknown User Profiles DetectionCustom FieldEnabling this custom field will activate the detection of Unknown or Cached user profiles for the company.
Unknown User Profiles DetectionDynamic GroupThe group manages the supported computers for companies that have enabled the Unknown User Profiles Detection custom field.
Unknown User ProfilesTaskThis Script identifies unknown user-profiles and generates a ticket containing their details. If the computer’s domain trust relationship is broken, the script will create a ticket indicating the broken trust relationship instead of listing unknown user profiles. Note that PowerShell 5 is required to run this script, and domain controllers are excluded from its scope.
Remove User ProfileTaskThis script is designed to delete a user profile and remove the user account if it is local.

Implementation