A couple years back, one of our colleagues made a post about ‘Good old DSA.msc on Server 2012‘.
With more and more implementations of Windows Server 2016, we noticed that we still want our “good old DSA”.
For this reason, we have made a quick update on this post but now how to enable DSA.msc on Windows Server 2016.
Like the original post, we will first discuss the mouseclick way before explaining the PowerShell variant.
DSA.msc is a part of the Active Directory Tools, so basically we want to add those.
The first step is open the server manager:
Then click “Manage” and “Add Roles and Features”:
When this is done head for the “Features” section in the menu and make sure to select the following options:
Finish up with clicking “next” and “Install”
Once the installer is finished “DSA.msc” will be available on your server!
The PowerShell way:
Of course, we all prefer PowerShell as it is quicker and easier to use. So to enable DSA.msc trough PowerShell we have to the following:
First, open PowerShell with elevated rights (Administrator) and let’s make sure we can use Server Manager commands:
We now need to know which feature we need, so we can run the following command for an easy overview:
Get-WindowsFeature | Out-GridView
Now you will get a clear overview of all the features and which are installed or available.
To know which command to use, make sure you look at the second column. So, in this case, we need “RSAT-ADDS”:
Import-Module ServerManager Install-WindowsFeature RSAT-ADDS
Now when we try to run DSA.msc via Start – Run it will be available!
Of course, you can add more features using this method, just look up the correct module name for the install command in the gridview and change the above PowerShell script accordingly.
In case you want to remove a feature, simply use:
Import-Module ServerManager Remove-WindowsFeature RSAT-ADDS
However be careful as some features require a reboot of the server.
Together with our sister company BlueParq, we are developing a visual PowerShell builder (like Lego 🙂 ), a kick-ass editor and the square where you can share your BluePrints. So how does above script looks like in the BlueParq console?
Stef Driessen and Daniel Nikolic