First of all, download FOD (Feature on Demands) ISO. Then mount the ISO as CD-ROM drive.
After that, open command prompt with admin privilege, and run below command.
dism /online /add-capability /capabilityname:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 /limitaccess /source:d: /norestart
Done.
Refer
https://www.easy365manager.com/how-to-install-rsat-remote-server-administration-tools/
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/features-on-demand-v2–capabilities?view=windows-11
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-capabilities-package-servicing-command-line-options?view=windows-11#get-capabilities
https://www.anoopcnair.com/add-windows-update-in-offline-image-using-dism/
https://www.ntlite.com/community/index.php?threads/where-i-download-that-feature-on-demand-iso.1802/
FOD Download Link
https://www.ntlite.com/community/index.php?threads/language-packs-for-windows-11-10-8-1-7.17/post-21700
https://software-download.microsoft.com/download/pr/19041.1.191206-1406.vb_release_amd64fre_FOD-PACKAGES_OEM_PT1_amd64fre_MULTI.iso