AD Compliance Guard Documentation
Support
Please use the Drop Us A Line tab in the top right corner for free email support.
Paid support with Zoom screen sharing is also available.
Pre-Requisites
Ensure the following:
- Administrator’s account has access to move and modify computers in Active Directory
- Computer has ability to run unsigned Powershell scripts
- Computer has network access with visibility to Active Directory
Instructions
Download and extract Essentials Package files. Open the newly created folder and drill down to the Ad Compliance Guard folder.
Right click on AD_Compliance_Guard.ps1 and open with Notepad or a similar text editor.
In the second line, find the section that reads: -SearchBase “OU=sample,DC=yoink4cm,DC=com”
Replace this searchbase with the details of your own OU. The above example would be the equivalent of sample.yoink4cm.com.
Save the file when ready.
Finally, running “AD_Compliance_Guard.ps1” from a Powershell command line will generate a list of computers in the defined OU and the computer account that joined them to the domain. Those that do not have your Configuration Manager account listed will likely fail during OSD. They should be deleted from Active Directory and will be regenerated during the OSD process.