Files

Miscellaneous

Disable-WindowsAI-Registry

Link

  • Detection: Checks the registry keys used by Windows AI.
  • Remediation: Disables the registry keys if they are enabled.

Get-CustomScript

Link

  • Detection: Includes only 'Exit 1', which will automatically run the Remediation Script.
  • Remediation: Include the contents of your PowerShell Script you wish to run on a schedule.

Get-GenericRegistryChange

Link

  • Detection: Checks for a specified registry key in the environment.
  • Remediation: If the registry key is not found, creates the registry key.

Get-GenericRestartService

Link

  • Detection: Includes only 'Exit 1', which will automatically run the Remediation Script.
  • Remediation: Will restart the specified service. Example include 'wuauserv'.

Get-SoftwareDistributionFolder and Get-SoftwareDistributionFolderPT2

Link Link - PT2

  • Part 1: Resets the device's SoftwareDistribution folder by stopping the WUAUSERV service, renaming the 'C:\Windows\SoftwareDistribution' folder to "SoftwareDistribution.old," and then starting the service.
  • Part 2: Deletes the 'C:\Windows\SoftwareDistribution.old' folder as a cleanup step following the successful deployment of 'Reset-SoftwareDistributionFolder.'