How to solve dsadd error: Not enough memory resources are available to complete this operation


Last Updated on May 20, 2023

I was creating Powershell scripts for creating a user in my Windows Active Directory using the dsadd user command, but when I ran the command it should the following error.

dsadd failed: cn=SaiSciTech,cn=Users,cd=ad,dc=saiscitech,dc=com: Not enough memory resources are available to complete this command

Since it says not enough memory resources, what I did was to increase the memory of my Active Directory, unfortunately, it still generated the same error.

After much research and trial and error, I found out that the user that I was creating was apparently already created. When I changed the username and other details, then I was able to successfully create my user using dsadd user.

So if you encounter the Not enough memory resources are available to complete this command error, then check first if the user is already created or not.


Leave a Reply

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