While working on few Active Directory automation tasks I wanted RSAT tools to be installed on one of the VDI to test and write few scripts. From https://www.microsoft.com/en-in/download/details.aspx?id=45520 I downloaded installation files.
While installation I was keep receiving this error: Windows Update Standalone Installer - Installer encountered an error: 0x8024001d. I tried all the options to install server but it didn't work.
To install RSAT tools (Remote Server Administration Tools for Windows) it can be done using PowerShell from online, To get the list of all RSAT related tools or any optional feature run below first command, second command will install complete RSAT tools. If you want to install single tool use third command with name. (Make sure you open PowerShell as an administrator to install tools).
⚡ Gdd-WindowsCapability -Name RSAT* -Online ⚡ Get-WindowsCapability -Name RSAT* -Online | % {Add-WindowsCapability -online -Name $_.Name} ⚡ Add-WindowsCapability -online -Name <RSAT tool NAME>
Below are the the list of RSAT tools names with description what they do.
Name : Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Active Directory Domain Services and Lightweight Directory Services Tools Description : Active Directory Domain Services (AD DS) and Active Directory Lightweight Directory Services (AD LDS) Tools include snap-ins and command-line tools for remotely managing AD DS and AD LDS on Windows Server. DownloadSize : 5230259 InstallSize : 17352199 Name : Rsat.BitLocker.Recovery.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: BitLocker Drive Encryption Administration Utilities Description : BitLocker Drive Encryption Administration Utilities include tools for managing BitLocker Drive Encryption features. BitLocker Active Directory Recovery Password Viewer helps to locate BitLocker drive encryption recovery passwords in Active Directory Domain Services (AD DS). DownloadSize : 42909 InstallSize : 61772 Name : Rsat.CertificateServices.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Active Directory Certificate Services Tools Description : Active Directory Certificate Services Tools include the Certification Authority, Certificate Templates, Enterprise PKI, and Online Responder Management snap-ins for remotely managing AD CS on Windows Server DownloadSize : 1570788 InstallSize : 5561462 Name : Rsat.DHCP.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: DHCP Server Tools Description : DHCP Server Tools include the DHCP MMC snap-in, DHCP server netsh context and Windows PowerShell module for DHCP Server. DownloadSize : 1655744 InstallSize : 7234391 Name : Rsat.Dns.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: DNS Server Tools Description : DNS Server Tools include the DNS Manager snap-in, dnscmd.exe command-line tool and Windows PowerShell module for DNS Server. DownloadSize : 1333944 InstallSize : 6203230 Name : Rsat.FailoverCluster.Management.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Failover Clustering Tools Description : Failover Clustering Tools include the Failover Cluster Manager snap-in, the Cluster-Aware Updating interface, and the Failover Cluster module for Windows PowerShell DownloadSize : 9867882 InstallSize : 32580188 Name : Rsat.FileServices.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: File Services Tools Description : File Services Tools include snap-ins and command-line tools for remotely managing the File Services role on Windows Server. DownloadSize : 5322476 InstallSize : 17245782 Name : Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Group Policy Management Tools Description : Group Policy Management Tools include Group Policy Management Console, Group Policy Management Editor, and Group Policy Starter GPO Editor. DownloadSize : 4276409 InstallSize : 18923408 Name : Rsat.IPAM.Client.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: IP Address Management (IPAM) Client Description : IP Address Management (IPAM) Client is used to connect to and manage a remote IPAM server. IPAM provides a central framework for managing IP address space and corresponding infrastructure servers such as DHCP and DNS in an Active Directory forest. DownloadSize : 232337 InstallSize : 876616 Name : Rsat.LLDP.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Data Center Bridging LLDP Tools Description : Data Center Bridging LLDP Tools include PowerShell tools for remotely managing LLDP agents on Windows Server. DownloadSize : 23411 InstallSize : 23289 Name : Rsat.NetworkController.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Network Controller Management Tools Description : Network Controller Management Tools include PowerShell tools for managing the Network Controller role on Windows Server. DownloadSize : 168544 InstallSize : 783679 Name : Rsat.NetworkLoadBalancing.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Network Load Balancing Tools Description : Network Load Balancing Tools include the Network Load Balancing Manager snap-in, the Network Load Balancing module for Windows PowerShell, and the nlb.exe and wlbs.exe command-line tools. DownloadSize : 274229 InstallSize : 878974 Name : Rsat.RemoteAccess.Management.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Remote Access Management Tools Description : Remote Access Management Tools include graphical and PowerShell tools for managing the Remote Access role on Windows Server. DownloadSize : 7025683 InstallSize : 27795507 Name : Rsat.RemoteDesktop.Services.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Remote Desktop Services Tools Description : Remote Desktop Services Tools include snap-ins for Remote Desktop Licensing Manager, Remote Desktop Licensing Diagnostics and Remote Desktop Gateway Manager. Use Server Manager to administer all other RDS role services. DownloadSize : 976546 InstallSize : 3751601 Name : Rsat.ServerManager.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Server Manager Description : Server Manager includes the Server Manager console and PowerShell tools for remotely managing Windows Server, and includes tools to remotely configure NIC teaming on Windows Server and Best Practices Analyzer. DownloadSize : 6626365 InstallSize : 31092464 Name : Rsat.Shielded.VM.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Shielded VM Tools Description : Shielded VM Tools include the Provisioning Data File Wizard and the Template Disk Wizard. DownloadSize : 18270690 InstallSize : 20813386 Name : Rsat.StorageMigrationService.Management.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Storage Migration Service Management Tools Description : Provides management tools for storage migration jobs. DownloadSize : 124644 InstallSize : 417249 Name : Rsat.StorageReplica.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Storage Replica Module for Windows PowerShell Description : Includes PowerShell module to remotely manage the Storage Replica feature on Windows Server 2016. DownloadSize : 462423 InstallSize : 1575932 Name : Rsat.SystemInsights.Management.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: System Insights Module for Windows PowerShell Description : System Insights module for Windows PowerShell provides the ability to manage System Insights feature. DownloadSize : 56363 InstallSize : 147496 Name : Rsat.VolumeActivation.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Volume Activation Tools Description : Volume activation Tools can be used to manage volume activation license keys on a Key Management Service (KMS) host or in Microsoft Active Directory Domain Services. These tools can be used to install, activate, and manage one or more volume activation license keys, and to configure KMS settings on Windows Server. DownloadSize : 216883 InstallSize : 560981 Name : Rsat.WSUS.Tools~~~~0.0.1.0 State : Installed DisplayName : RSAT: Windows Server Update Services Tools Description : Windows Server Update Services Tools include graphical and PowerShell tools for managing WSUS. DownloadSize : 1681014 InstallSize : 8290950
Once RSAT tools is downloaded and installed, it can be verified, module for ActiveDirectory is available with below command.
Get-Module -List ActiveDirectory
Useful Articles
POWERSHELL: INSTALLING AND CONFIGURING ACTIVE DIRECTORY
POWERSHELL ACTIVE DIRECTORY: ADD OR UPDATE (CHANGE) MANAGER NAME IN ORGANIZATION TAB OF USER
POWERSHELL ACTIVE DIRECTORY: ADD OR UPDATE PROXYADDRESSES IN USER PROPERTIES ATTRIBUTE EDITOR
Add multiple proxy addresses with Microsoft PowerShell in Active Directory Groups
Creating a password reset tool with PowerShell GUI
Powershell one liner: Create multiple user accounts
Active Directory Powershell: Create bulk users from CSV file
Active Directory Powershell: Aduser A value for the attribute was not in the acceptable range of values
Powershell Active Directory: ADGroup Managedby - Checkbox Manager can update membership list