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

Welcome Forums General PowerShell Q&A Unable to Find a Default Server With Active Directory Web Services Running

  • This topic has 2 replies, 3 voices, and was last updated 1 year ago by
    Participant
    .
Viewing 1 reply thread
  • Author
    Posts
    • #162968
      Participant
      Topics: 2
      Replies: 0
      Points: 33
      Rank: Member

      I am using window server 2016. I get this error every-time “Unable to Find a Default Server With Active Directory Web Services Running”  when i run the the following command and other get-commands like Get-ADComputer, Get-ADgroupmember.

      Get-ADUser -Filter * -Property * | Select-Object Name | Export-CSV D:\Users\file.csv -NoTypeInformation -Encoding UTF8

      Any idea please how can i get rid of this error and execute my command.

       

       

      Thank you

    • #162977
      Senior Moderator
      Topics: 9
      Replies: 1236
      Points: 4,443
      Helping Hand
      Rank: Community Hero

      Are you executing it in a DC ? make sure the ADWS service is running in the DC. if from a member server, make sure its joined to domain.

      • #163503
        Participant
        Topics: 0
        Replies: 13
        Points: 43
        Helping Hand
        Rank: Member

        Try the following Steps:

        1. Run Nslookup for the Domain Controller.
        2. Check the Primary and Secondary DNS Settings.
        3. Do a ping to the Primary and secondary DNS Servers.
        4. Check and Add  the DNS Suffix if required.
        5. Run ipconfig /registerdns
        6. Check the Netlog  / FRS Service is running

        Then try again.

Viewing 1 reply thread
  • The topic ‘Unable to Find a Default Server With Active Directory Web Services Running’ is closed to new replies.