Menedżer konfiguracji Serwer Windows 2016 Aktywny katalog Schema extend. We make it with graficzny interfejs użytkownika I PowerShell.
Z graficznym interfejsem użytkownika:
- Mount płyta DVD Lub *.iso with SCCM distributive. Idź do <drive letter>\ 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 Edycja ADSI and run it. Prawy przycisk myszy click and select Połącz się z;
3. Leave by default, trzask OK;
4. Prawy przycisk myszy kliknij na CN=System i wybierz New\Object;
5. Choose Container i kliknij Następny;
6. W Wartość Wchodzić System Management, trzask Następny;
7. Trzask Skończyć;
8. Prawy przycisk myszy click on the newly created container and select Właściwości;
9. Idź do the Security tab and click Dodać;
10. W Object Types wybierać Computers, enter your SCCM server name and click OK;
11. Ustawić Full control i kliknij OK;
By PowerShell:
Uruchomić PowerShell z uprawnieniami administratora;
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"