कॉन्फ़िगरेशन प्रबंधक विंडोज़ सर्वर 2016 Active Directory Schema extend. We make it with GUI and PowerShell.
जीयूआई के साथ:
- Mount DVD या *.iso with SCCM distributive. जाओ <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 ADSI Edit और इसे चलाओ. दायाँ माउस बटन क्लिक करें और चुनें Connect to;
3. डिफ़ॉल्ट रूप से छोड़ें, क्लिक ठीक है;
4. दायाँ माउस बटन पर क्लिक करें CN=System और चुनें New\Object;
5. Choose Container और क्लिक करें अगला;
6. में कीमत प्रवेश करना System Management, क्लिक अगला;
7. क्लिक खत्म करना;
8. दायाँ माउस बटन click on the newly created container and select गुण;
9. जाओ the Security tab and click जोड़ना;
10. में Object Types चुनना Computers, enter your SCCM server name and click ठीक है;
11. तय करना Full control और क्लिक करें ठीक है;
By PowerShell:
Run PowerShell with admin rights;
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"