By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: Configuration Manager Windows Server 2016 Active Directory Schema
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Configuration Manager Query Collection List
ConfigMgr

Configuration Manager Windows Server 2016 Active Directory Schema

Published: February 11, 2024
2 Min Read
SHARE

Configuration Manager Windows Server 2016 Active Directory Schema extend. We make it with GUI and PowerShell.

Contents
With GUI:By PowerShell:

With GUI:

  1. Mount DVD or *.iso with SCCM distributive. Go to <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 and run it. Right Mouse Button click and select Connect to;

3. Leave by default, click OK;

4. Right Mouse Button click at CN=System and select New\Object;

5. Choose Container and click Next;

6. In Value enter System Management, click Next;

7. Click Finish;

8. Right Mouse Button click on the newly created container and select Properties;

9. Go to the Security tab and click Add;

10. In Object Types select Computers, enter your SCCM server name and click OK;

11. Set Full control and click OK;

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"
TAGGED:Active DirectoryMicrosoft Windows ServerPowerShellSystem CenterSystem Center Configuration ManagerWindowsWindows Server 2016
Previous Article How to Assign Office 365 Licenses to Users in Azure Active Directory
Next Article How to Change a User’s Primary Email Address in Office 365 using PowerShell
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?