Unable to Find a Default Server With Active Directory Web Services Running

KB ID 0001275 


I was trying to get a list of all users on a client’s domain that had either a logon script, profile, or a mapped drive that was being set on their AD user object. But when I ran the command I got this error;

Active Directory Web Services Running

Get-ADUser : Unable to find a default server with Active Directory Web Services running.


Active Directory Web services was introduced in Server 2008 R2, but I was running the command on a 2012 R2 server? Well the problem is the main server onsite was a Small Business Server. To get this command to run successfully I needed to run it again but target a particular domain controller by adding “-Server {Server-Name}” to the command;

AD Web Services Error

Note: Obviously MAKE SURE that the AD Web Services service is actually running on the server you are targeting (run services.msc).

Related Articles, References, Credits, or External Links


Author: PeteLong

Share This Post On

Submit a Comment

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