Skip to main content

Windows User Profiles

Purpose

Gathers and displays information about Windows user profiles.

Associated Content

ContentTypeFunction
User Profile - Get InformationScriptGathers information about user profiles.
Windows - User ProfilesDataviewDisplays Windows user profile information gathered from the script.
User Profile - RemoveScriptDeletes a user profile and removes the user account if local. Runs the script after successful deletion.
User Profile - Get InformationInternal MonitorExecutes the script once every 7 days.
User Profile - Get InformationAlert TemplateThis alert template is used with the monitor to run the script as an autofix.

Optional Content

ContentTypeFunction
Unknown User Profiles DetectionInternal MonitorIdentifies machines that have unknown user profiles.
Domain Trust Relationship CheckRemote MonitorGenerates a ticket whenever the trust relationship between the domain and the workstation is broken. Used to exclude results from the Unknown User Profiles Detection monitor.

Other Content

ContentTypeFunction
Get-UserProfilesAgnosticGathers information about user profiles and is used in the the script.
Remove-UserProfileAgnosticDeletes a user profile and removes the user account if local.
plugin_proval_userprofilesCustom TableStores Windows user profile information. Data is filled by the script and displayed in the dataview.

Implementation

  1. Import the following scripts using the ProSync plugin:

  2. Import the following monitor using the ProSync Plugin:

  3. Import the following alert templates using the ProSync plugin:

    • △ Custom - Execute Script - Windows - User Profile - Get Information
  4. Import the following dataviews using the ProSync Plugin:

  5. Reload the System Cache
    Reload System Cache

  6. Configure the solution as follows:

Optional Configuration (Client Performed):

  • If a partner requires the deletion of a particular user profile and also wants it removed if it is a local account, use the script below. Read the associated content thoroughly. This script must be used very cautiously.
  • If a partner wants tickets for the unknown user profiles, import and configure the Unknown User Profiles Detection internal monitor.
    • Navigate to Automation → Monitors within the CWA Control Center and set up the following: