How to fix dsacls.exe is not recognized error on Azure AD Connect Server [Steps]

What is ‘dsacls.exe is not recognized’ error on Azure AD Connect Server?

In this article, we are going to discuss on How to fix dsacls.exe is not recognized, dsacls.exe not found error on Azure AD Connect Server. You will be guided with easy steps/methods to resolve the issue. Let’s starts the discussion.

‘dsacls.exe’: dsacls.exe or dsacls is Command-Line Tool is built into Windows Server 2008. Dsacls Command-Line Tool is available if you have AD DS Server role installed. If you want to use dsacls.exe/ dsacls Command –Line Tool, you must run dsacls command in elevated Command Prompt. To open elevated Command Prompt, you need to type ‘cmd’ in Windows Search Box, right-click on ‘Command Prompt’ from results appear, and select ‘Run as Admisntrator’ option.

dsacls.exe/ dsacls is Command-Line equivalent of ‘Security’ tab in ‘Properties’ dialog box for AD (Active Directory) object in tools like Active Directory Users and Computers. This tool can be used either to view and change permissions to an Active Directory object. However, several users reported they faced dsacls.exe is not recognized, or dsacls.exe not found error on Azure AD DS Connect Server when they tried to do configuration like Windows 10 Hybrid Domain join of Office 365 Group Writeback in Azure AD Connect. Let’s take a look at error message.

“dsacls.exe : The term ‘dsacls.exe’ is not recognized as the name of a cmdlet, function, at command pipeline position XXX”

The error states the position of command-line in which the error is actually belonging like “C:\Program Files\Microsoft Azure Active Directory Connect\AdPrep\AdSyncPrep.psm1”. However, it is possible to fix the issue with our instructions. Let’s go for the solution.

How to fix dsacls.exe is not recognized error on Azure AD DS Connect Server?

Method 1: Install AD DS Module for Windows Poweshell and AD DS Snap-Ins and Command-Line Tools

Install AD DS Module for Windows Poweshell and AD DS Snap-Ins and Command-Line Tools on Windows 10:

Step 1: Open your browser like Google Chrome and visit ‘https://www.microsoft.com/en-us/download/details.aspx?id=45520’ page to download RSAT Tools for Windows 10.

Step 2: Select your language, click ‘Download’. On the file list page, select ‘x86’ or ‘x64’ according to your Windows OS architecture and click ‘Next’ and save the setup file

Step 3: Now, open the installer and follow on-screen instructions to finish installation and once done, restart your computer

Step 4: After restart, open ‘Control Panel’ in Windows PC via Windows Search Box and go to ‘Uninstall a Program > Programs & Features > Turn Windows Features ON or OFF’

Step 5: Go to ‘Remote Server Administration Tools > Role Administration Tools > AD DS and AD LDS Tools’, and tick the checkbox nest to ‘Active Directory Module for Windows PowerShell’, and ‘AD DS Snap-Ins and Command-Line Tools’

Step 6: Finally, click ‘Ok’ button to save the changes and restart your computer. After restart, try running dsacls command and check if the issue is resolved.

Method 2: Fix Windows PC Issues with ‘PC Repair Tool’

This issue can be occurred due to some issues in your Windows computer like corruption in system files or system image, malware or viruses infections in computer, EXE errors, BSOD errors and others. You can try PC Repair Tool to fix Windows PC issues. ‘PC Repair Tool’ is easy & quick way to find and fix BSOD errors, DLL errors, EXE errors, problems with programs/applications, malware or viruses issues, system files or registry issues, and other system issues with just few clicks.

Conclusion

I am sure this post helped you on How to fix dsacls.exe is not recognized, dsacls.exe not found error on Azure AD DS Connect Server. You can read & follow our instructions to do so. That’s all. For any suggestions or queries, please write on comment box below.