Gestionnaire de configuration Serveur Windows 2016 Annuaire actif Schema extend. We make it with Interface graphique et PowerShell.
Avec interface graphique:
- Monter DVD ou *.iso with SCCM distributive. Aller à <lettre de conduite>\ SMSSETUP\BIN\X64\ and execute extadsch.exe. After running check your C:\ root for file ExtADSch.log, open it, and make sure that the operation is complete successfully;
2. Find in all programs ADSIModifier et exécutez-le. Bouton droit de la souris cliquez et sélectionnez Connectez-vous à;
3. Leave by default, cliquez D'ACCORD;
4. Bouton droit de la souris cliquez sur CN = système et sélectionnez New\Object;
5. Choose Récipient et cliquez Suivant;
6. Dans Valeur entrer Gestion du système, cliquez Suivant;
7. Cliquez Finition;
8. Bouton droit de la souris click on the newly created container and select Propriétés;
9. Aller à the Security Onglet et cliquez Ajouter;
10. Dans Types d'objets sélectionner Ordinateur, entrez votre SCCM server name and click D'ACCORD;
11. Ensemble Contrôle total et cliquez D'ACCORD;
By PowerShell:
Courir PowerShell avec les droits administratifs;
To run extadsch.exe:
#Extend Schema
Start-Process -Filepath ('D:\SMSSETUP\BIN\X64\extadsch.exe') -Wait
Start-Sleep 30
#Confirm Schema Extension
$schema = [DirectoryServices.ActiveDirectory.ActiveDirectorySchema]::GetCurrentSchema()
start-sleep 5
$schema.RefreshSchema()
$schema.FindClass("mSSMSSite")
To create container and grant permissions:
Import-Module ActiveDirectory
$root = (Get-ADRootDSE).defaultNamingContext
if (!([adsi]::Exists("LDAP://CN=System Management,CN=System,$root"))) {
$smcontainer = New-ADObject -Type Container -name "System Management" -Path "CN=System,$root" -Passthru
}
$acl = get-acl "ad:CN=System Management,CN=System,$root"
$objGroup = Get-ADComputer -filter {Name -eq "<Your SCCM Server Name>"}
$All = [System.DirectoryServices.ActiveDirectorySecurityInheritance]::SelfAndChildren
$ace = new-object System.DirectoryServices.ActiveDirectoryAccessRule $objGroup.SID, "GenericAll", "Allow", $All
$acl.AddAccessRule($ace)
Set-acl -aclobject $acl "ad:CN=System Management,CN=System,$root"