Questions tagged [domaincontroller]

An Domain Controller (DC) is a Windows server which responds to security authentication requests (logging in, checking permissions, etc.) within the Windows Server Active Directory domain.

For a complete description, see https://en.wikipedia.org/wiki/Domain_controller

231 questions
1
vote
0 answers

WMIC unjoindomainorworkgroup gives positive result, but won't unjoin domain

Due to COVID and all, we've got people all over the world returning to the office. However a lot of them haven't been in in over 60 days, causing the DC to block the laptops. Normally we unjoin the domain, reboot and rejoin. However this is not…
1
vote
1 answer

How do I determine the domain controller name of a remote Windows/Linux server?

My client has both windows and Linux servers in their environment. There are multiple AD domains in the client environment and these servers are part of one of these domain. As a penetration tester, I often receive a set of IPs to test. I have a…
1
vote
1 answer

Directory Searcher not returning all the results

I have created 2400 security groups and added all these security groups to the user. When I query Active Directory using a DirectorySearcher, I get only 2049 security groups. The remaining security groups are missing. I tried the pagination approach…
1
vote
0 answers

Dcpromo failed - Ownership of FSMO role is set to a server which is deleted or does not exist

I am attempting to use dcpromo on a Windows 2008 R2 server. The command produces a warning and an error in the event log. Below are the print outs of those entries: -Warning- Ownership of the following FSMO role is set to a server which is deleted…
ghothan
  • 11
  • 3
1
vote
0 answers

while creating child DNS in windows server 2019 AD, parant dns is server 2008 prerequisites check failing

I am getting error "Verification of prerequisites for Active Directory preparation failed . Unable to verify whether schema master has completed a replication cycle after last reboot . Exception : Unavailable Critical Extention . Server extended…
1
vote
0 answers

How to check replicated domain controllers for active during connection

We have a set of replicated domain controllers, but not a load balancer, so when making connections we have to specify a controller. Even if we only input the domain the script makes one connection and if it fails, it fails, and doesn't loop back to…
1
vote
1 answer

SSO in PHP application using AD credentials independent of Web Server

I have a PHP application running with Nginx on a Linux server and it has a successful integration with my Active Directory using LDAP. In the current scenario, the user is able to create a new login for the app or use his Windows credentials to log…
James
  • 1,653
  • 2
  • 31
  • 60
1
vote
1 answer

add-kdsrootkey error the request is not supported

I am trying to create a Group Managed Service Account. So we have promoted our Windows Server 2016 VM to Domain Controller. The object version of the schema is 87. Now I am trying to create a KdsRootKey that's giving me an error that "The request is…
1
vote
2 answers

Connectivity issue between Windows 10 (on-premises) and Windows Server 2016 on Azure

Using Point-to-Site connection, I planned to connect Windows 10 (on-premises) and Windows Server 2016 on Azure so that Windows 10 (on-premises) can join Windows Server 2016 Domain Controller. I am trying to elaborate steps that I followed: Step1:…
TekQ
  • 25
  • 7
1
vote
1 answer

can't connect to AD without specifically connecting to a DC

I'm trying to bind to an Active Directory server in C# but on-site I seem to have issues not reproducible in the test environment. I'm getting an Exception System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational. …
clows
  • 332
  • 5
  • 11
1
vote
1 answer

How Enumerate Domain Controllers through SSL port in Windows

In one of my domain we configured SSL and is blocked 389 port. After that DsGetDcName() is failing with error code 1355. When 389 port is enabled in dc DsGetDcName() is returning the Domain controllers. But when 389 port is disabled in domain…
snb
  • 633
  • 1
  • 6
  • 13
1
vote
4 answers

Compare LastLoginDate of user from multiple DC's

I got 2 DCs and need to get a list of all my users that haven't logged in for X days. I got a PS script that looks at the user his last logon date on the domain and then filters and export the users that haven't logged on for the X days. PowerShell…
MisterMan
  • 23
  • 7
1
vote
1 answer

How to repair DCDiag Connectivity test on windows server 2012

We have two Domain controllers on our second domain. Both fail dcdiag connectivity test. Neither can update DNS records, AD won't start because a domain controller cannot be found and all of the certificates on this domain have expired. When I…
1
vote
0 answers

Get domain controller address by netbios name

I am trying to authenticate a user to an Active Directory in node.js. By using the npm library "active directory" or "ad" I can do this. My problem is to get the fully qualified name of the domain controller from the NetBios Name (NT format). What I…
1
vote
1 answer

Hard-coded domain controller MVC

I've been tasked with checking if the domain controller for a C# MVC web portal has been hard-coded, and if it has, update it. I have access to the source but I can't seem to locate where the domain controller is defined. I'm wondering where the…
J Though
  • 11
  • 1