r/activedirectory • • 21h ago

Active Directory Cleanup of AD Sites and Services after DC Demotion

9 Upvotes

Hey guys. What is the proper way to safely clean up “AD Sites and Services” after a DC demotion?

We have two sites: Prod & DR

(3) DCs at each site.

I demoted an older DC at my DR site. I waited a bit and then manually deleted the old DC from Sites and Services at that site. Aftrrwards, my remaining DCs at my DR site set up proper replication with the Prod site.
So from the point of view from my DR site:

DC01-DR replicates with DC02-DR
and DC01–PROD.

DC02-DR replicates with DC01-DR and DC02-PROD

From the point of view from my Prod site:

If I try and delete the old DC-DR server object from AD Sites and Services, it warns me that I need to demote it first, (which I obviously have).

DC01-PROD still trys to replicate with the old DC controller at my DR site. None of my DCs at my PROD site are trying to replicate with my DR site.

Do I need to manually delete the NTDS objects for the old DC-DR controller from AD Sites and Services at my PROD site?

Looking for the proper way to do this cleanup. I had thought that after demoting the old DC, the site-to-site replication would work itself out on its own.

I ran dcdiag and repadmin tools prior and all came back clean.

Edit

The old DC in DR was responsible for intersite replication. All my DCs are Global Catalog servers and the FSMO roles reside on a DC at my Prod site. What should my gameplan be at this point? Should I just create a manual NTDS link between one of my DCs in Prod to one of my DCs in DR to get he KCC working? Right now my Prod site is only trying to replicate with the demoted DC. Thank you again!

Thanks guys.

Edit:

It sounds logical to manually add one of the new DCs at my DR site as an NTDS link at my Prod site. I’m thinking this should kickstart the replication again? This way I’m manually intervening and creating the link that can’t get created. Would this work, is this safe to do? Thank you again!

Edit: OK - just ran repadmin /showrepl from DC01-Prod and It can't connect to the DR site:

Last attempt @ 2026-11-20 07:13:15 failed, result 8524 (0x214c):

The DSA operation is unable to proceed because of a DNS lookup failure.

Edit:

So the old demoted DC was a bridgehead server. Do I need to manually create another one over at the DR site? Now there are none.


r/activedirectory • • 1d ago

Active Directory CertiGhost (CVE-2026-54121): CA still flagged after July 2026 update, does the patch clear EDITF_ENABLECHASECLIENTDC?

5 Upvotes

We patched our Enterprise CA servers with the July 2026 update for CVE-2026-54121, but our security scanner still reports "Certificate Authority with CertiGhost chase fallback enabled". The check only looks at the EDITF_ENABLECHASECLIENTDC bit in EditFlags, and it can't read patch state remotely.

Questions:

  1. Does the update leave the bit set (it only validates the chase target), or should it clear it ?

  2. Is it safe to clear the bit on a patched CA (certutil -setreg policy\EditFlags -EDITF_ENABLECHASECLIENTDC), and does anything legitimate rely on it ?

  3. Is a patched CA with the bit set still exposed, or is it safe to mark the finding as a false positive ?

  4. How do you confirm the patch on a CA beyond the Windows update history ?

Thanks.


r/activedirectory • • 2d ago

Active Directory Onedrive not working on server 2016?

6 Upvotes

Anyone suddenly had issues with Onedrive not working on 2016 servers? Found this is on a client server and looks like MS did an update and the version won't work on 2016 server now.


r/activedirectory • • 2d ago

LDAP Signing Auditing Method

1 Upvotes

Hello Experts,

I am looking for a way to audit unsigned LDAP traffic in an Active Directory environment.

I have gone through the Microsoft documentation and understand that enabling diagnostic logging can help identify unsigned LDAP traffic. However, during our testing, this approach generated an excessive amount of logs, making it difficult to manage. Our team is also not in favour of proceeding with this approach.

I would like to know if there are any alternative tools or recommended approaches to monitor and identify unsigned LDAP traffic without generating excessive logs.

Has anyone implemented this successfully in their environment? Any suggestions, tool recommendations, or practical insights would be really helpful.

Thanks in advance!


r/activedirectory • • 3d ago

how to get network logins from endpoints

13 Upvotes

Hi,

I've been asked to get logins from endpoints to our network via AD. We send the data to a SIEM, but not sure exactly which event that I'm looking for - is it 4624? Can someone point me in the right direction?


r/activedirectory • • 4d ago

Active Directory is The New Mainframe

Thumbnail
infisical.com
46 Upvotes

Super curious about what y'all think of this kind of take. I agree that we're not going back to a single convenient directory. But at the same time, so much is connected to AD, and I can't imagine we'll wholesale-replace it in any org where it's already thgere.


r/activedirectory • • 4d ago

Active Directory [Game]Identity Crisis: The Last Defender

0 Upvotes

Trigger warning: contains AI generated stuff.

​

AI built me a thing - a fully functioning and playable platform scroller; which is likely the world's first and only game built around AD and Entra ID!!! That's right we got a game about AD before GTA VI (just).

Can you defeat professor persistence?

https://dcdiagfix.itch.io/identity-crisis-the-last-defender

This was/is just a fun project I've been working on - the hat logo may look familiar to a specific well known AD company - but that is 100% coincidence!

It does however follow the lifecycle of a breach, recovery, cloud sync and removing persistence so it’s a fun-ish way to learn :D

Note: itch.io may trigger a block on a MDE as it's a game hosting platform.


r/activedirectory • • 5d ago

Active Directory - Security Improvement Windows Server NTLM Signing Security Improvements

73 Upvotes

Last week, Microsoft introduced/announced security improvements to NTLM coming to Windows Server. I've had a busy week so I'm a little late bringing this one up, but it is good info.

https://support.microsoft.com/en-us/servicing/os/windows/docs/2026/11/kb5135557-ntlm-signing-security-improvements

I extracted some of the specifics below. Before that part though, if you're having issues disabling NTLM or running into applications that won't budge, Microsoft does have a resource for you.

This email can be contacted to inform Microsoft of blockers to NTLM disablement they can help with. This is not a general support email. This goes into the Product Group for review.

[email protected]

Details on the NTLM Signing Changes

This change is in two phases.

  • Phase 1 (NOW, Nov. 10, 2026) - Client devices begin offering NTLM signing on all connections by default. Servers accept both signed and unsigned clients. Auditing events identify clients not using signing.

  • Phase 2 (May 2027): Windows servers begin requiring NTLM signing by default. Clients that do not offer signing will be rejected by secure servers.

Event IDs

  • Event 4023: Signing Negotiated - Warning - A remote client is using NTLM to authenticate to this workstation.

  • Event 4023: Signing Absent (Will be rejected in Phase 2) - Warning - A remote client is using NTLM to authenticate to this workstation.

The key think to look for in the event is Session Key Status: Present and Negotiated Flags. These indicate the level of signing.

Registry Keys

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0

    • Name: ClientAllowUnsignedNtlm

    • Values

      • 0 (default) - Client offers SIGN on all non-anonymous connections.

      • 1 - Client does not offer sign on. use only for temp compatibility.

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0

    • Name : ServerRequireNtlmSign

    • Values

      • 0 (default) - Server accepts both signed an unsigned

      • 1 - Server rejects unsigned. (Recommended, but may reject needed connections).

    • Only enable 1 if the Event 4023 shoes no unsigned connections.


r/activedirectory • • 8d ago

IAM admins: what did you actually work on yesterday?

10 Upvotes

I'm a researcher in the cybersecurity world, not trying to sell anything just trying to understand IAM admins better!!! Just curious what a normal IAM workday looks like for everyone. Two access requests, okta group cleanup, audit evidence pull?? Bonus points for detail :)))))))))


r/activedirectory • • 8d ago

Recommendations for Legacy Applications When Enabling LDAP Signing

12 Upvotes

We are planning to enable LDAP signing in our Active Directory environment.

However, we have some existing applications that authenticate against Active Directory using regular username and password credentials through LDAP.

Some of these applications may not support LDAP signing.

In this situation, what should be our recommendation for such legacy applications when we enable LDAP signing?

How can we ensure these applications continue to function properly while maintaining security?

What are the recommended best practices for handling such applications without impacting their existing functionality?

Looking for practical recommendations from those who have handled similar scenarios in enterprise Active Directory environments.


r/activedirectory • • 8d ago

How to Identify Client Machines and Backend Applications Using LDAP Communication

9 Upvotes

In our Active Directory environment, multiple client machines and backend applications communicate with Domain Controllers using LDAP.

We want to identify which client machines and applications are performing LDAP authentication and directory queries.

What is the recommended way to trace LDAP communication back to the actual application or service running on a client machine?

What information should we collect to identify the application, its authentication method, and the type of LDAP bind being used?

Are there any recommended auditing or monitoring tools for this purpose?


r/activedirectory • • 8d ago

Best Practices for Centralized LDAP Auditing Across Multiple Domain Controllers

15 Upvotes

We have an Active Directory environment with around 25 Domain Controllers.

We want to enable LDAP auditing across all Domain Controllers.

What is the recommended approach to configure auditing centrally instead of manually configuring each DC?

Can we use GPO to deploy the auditing settings across all DCs?

Also, what is the best practice to collect and monitor LDAP audit logs from all DCs in one centralized location?


r/activedirectory • • 8d ago

GPO ownership remediation — should a recursive SYSVOL ownership scan be default-on or opt-in?

0 Upvotes

I'm working on a remediation script for the finding "GPOs owned by unprivileged accounts" and need some advice on one design decision.

A GPO has two components: the AD object (GPC) and the SYSVOL template (GPT). Both have independent ownership. Additionally, individual files and folders inside the GPT (Machine\, User\, GPT.INI, etc.) can have different owners.

This means the AD object and SYSVOL root could be owned by Domain Admins while individual child files are still owned by unprivileged accounts.

Currently, my script fixes AD and SYSVOL root ownership by default. Recursive child-level scanning and remediation require an explicit -DeepSysvol switch.

My concern:

  • Recursive Get-Acl over SMB can be expensive across hundreds of GPOs.

  • Changing ownership of every child item by default feels too aggressive.

  • However, skipping the scan could leave ownership issues undetected.

I'm considering a middle approach: always scan recursively, but only remediate child ownership when explicitly requested.

I'd appreciate feedback on three things:

  1. How common is divergent ownership inside SYSVOL GPT folders in real-world environments?

  2. Would you prefer conservative defaults or comprehensive detection enabled by default, even if it's slower?

  3. For those using Gpozaurr or similar tools, do they inspect and remediate ownership of individual SYSVOL child files, or only the root folder?

The script also maintains SDDL backups and supports rollback of ownership, DACLs, and child-item security settings.

Interested in hearing from admins who've handled this in production.


r/activedirectory • • 9d ago

Help - Active Directory [Active Directory] SYSVOL access failure on a single domain-joined device

Thumbnail reddit.com
2 Upvotes

Crossposting this here as it's an Active Directory-related issue involving SYSVOL access.


r/activedirectory • • 9d ago

Finding and cutting the shortest attack path to Domain Admins: a blue-team BloodHound workflow

23 Upvotes

Most AD compromises I read about are no t exotic. They are chains of ordinary ACL misconfigurations: a help-desk group with GenericAll over a user, that user admin on a server, an admin with a live session on it. BloodHound models this as a graph, which means a defender can ask the same question an attacker asks, and fix the answer.

**1. Ask the attacker's question first%2 A*

MATCH p=shortestPath((u:User {name:'[email protected]'})-\[\*1..8\]->(g:Group {name:'DOMAIN [email protected]'}))
RETURN p

Run it fo r a few ordinary accounts, not just your admins. If a Tier 2 user reaches Domain Admins in 4 hops, those hops are your remediation backlog.

**2. Look for dangerous edges, not dangerous users**

GenericAll, WriteDacl, WriteOwner, GenericWrite and ForceChangePassword on users and groups are the usual links. WriteDacl and WriteOwner are the%2 0worst: the holder can grant themselves anything. Also list who holds replication rights on the domain object (DCSync) and check that only domain controllers do.

**3. Cut the fewest edges**

You rarely need to fix everything. Find the edge that appears in the most shortest paths (the "choke point") and remove that ACE first. In a%2 0typical path, removing one over-broad group ACE collapses several routes at once.

**4. Prune, then verify**

Remove the ACE (Get-Acl / Set-Acl on the AD: drive%2 9, re-collect, and re-run the query. If the path is gone, the fix worked. If a longer path appears, repeat.

**5. Harden the destination**

  • Put admin accounts% 20in Protected Users (no NTLM caching, AES-only Kerberos, 4h non-renewable TGT, no delegation).

  • Enforce tiering: Tier 0 credentials never log on to Tier 1/2 machines.

    • Use LAPS so a local admin password is not shared across machines.

**6. Detect the changes**

  • 5136: directory object modified (nTSecurityDescriptor, member, servic ePrincipalName)

  • 4662: privileged directory access (replication rights, extended rights)

  • 4728 / 4732 / 4756: member added to a privileged group

Alert on DACL chang es to Tier 0 objects; they are rare in a healthy domain.

Caveats: BloodHound shows what is reachable from the data you collected, so stale collection means stale answers. Run it from an authorized account in an environment you own or are cleared to assess.

I wrote this up as a chapter with a small lab so people can practice the path-f inding and pruning on a fake domain: https://github.com/lsszz2100/VibeHacking (the AD chapter is 54_Active_Directory_Attacks/08). Corrections welcome.


r/activedirectory • • 9d ago

Security Password not required

9 Upvotes

I am busy with an AD hardening project and i have a bunch of users with "Password not required" set to true and i just want to verify rhe behavior when i correct the setting Will the account be forced to ceeate/enrer a password or will thar only happen if the "User must change password at next logon" is selected


r/activedirectory • • 9d ago

I’m just following this thread bc I’ve may have gone off the rails

0 Upvotes

How do I verify that at some point I may, have had too much access to AD, crazy I know…well I actually don’t, but reading random shit online, has lead me to believe that I was one of those random lost users with an extremely high level of access, or something along those lines.

Why it matters, I think I may have been hacked or something similar by someone. Should I care?


r/activedirectory • • 10d ago

What are you using for AD change auditing and recovery in production?

14 Upvotes

Not looking for pros and cons, just a pulse check. Quest (Change Auditor, Recovery Manager), Semperis (DSP, ADFR), Netwrix, ManageEngine, native logs plus a SIEM, scripts, nothing yet?


r/activedirectory • • 10d ago

Active Directory Jorge’s script to reset the krbtgt account password

18 Upvotes

Morning guys. I need to reset my krbtgt password in my small domain environment. 22 users.
It’s old enough to drive and rent a car.

I’d like to reset this before I migrate my DCs from 2016 to 2022.

I’m going to use this script as it seems to be the most popular:

reset krbTgt

Just curious how the folks that use this script , use it. What options do you use?
What is your workflow? What do you look out for?

How will the script let you know when it’s safe to do the second reset?

Things like that.

Thank you.


r/activedirectory • • 11d ago

Active Directory What do you do with the Domain Built In Administrator Account?

39 Upvotes

Do you disable or keep it enabled? If enabled what do you specifically do to secure it? I see best practice seems to be keep it enabled now. Wondering what you all think and do about it.


r/activedirectory • • 11d ago

Server 2025 domain controller shows DC Version Unknown in ADUC

Thumbnail reddit.com
1 Upvotes

r/activedirectory • • 11d ago

Server 2025 domain controller shows DC Version Unknown in ADUC

9 Upvotes

We upgraded an existing domain controller from Windows Server 2016 to Windows Server 2025. I know an in-place upgrade of a DC is not the preferred approach, but storage and infrastructure limitations prevented us from building a replacement DC and migrating cleanly.

The upgrade completed successfully. AD health checks pass, SYSVOL and NETLOGON are available, and the domain and forest functional levels are now 2025.

In ADUC under Change Domain Controller, the server shows Online and GC, but DC Version displays Unknown.

Has anyone else seen this with Server 2025? Is it only a cosmetic ADUC display issue, or is there anything else I should verify?

-lee


r/activedirectory • • 11d ago

How much of your daily work is on AD (on prem) rather vs Entra-ID?

29 Upvotes

I understand that both are tools and they have advantages and disadvantages.
Question is mostly to know if those claims of "companies switching to cloud only" is mostly overstated compared to the reality? .
Knowing that Microsoft likes to push their clients sometimes on the direction they want where they make most of the money, been Azure one of them; i wonder if things like AD have become harder and harder to work with, so companies start following the cloud first type of advice.

Since on the official's website it says =
State 4: Active Directory minimized = "A state of minimizing Active Directory is more difficult to achieve, especially for larger organizations that have significant on-premises technical debt".

But i wonder, is it really only because of "technical debt" or companies still want to have control over important stuff on prem and microsoft does not want to accept that?

So I though maybe i could ask experienced people when it comes to identity management in today's context, to see what is the actual reality on your daily work?


r/activedirectory • • 11d ago

Help - RC4 Remediation on Win Server 2019 [SOLVED] RC4 Remediation for 2019 Domain Controller, Clients and SAMBA

6 Upvotes

After a power failure this morning, none of our WD PR4100 (3) joined back into AD, so none of the CIFS Shares could be mounted by the Windows 7/10/11 clients:

Failed to join domain.Failed to lookup DC info for domain 'MYDOMAIN-US.ORG' over rpc:The attempted logon is invalid. This is either due to a bad username or authentication information.

Also, the Hyper-V servers (2) won't allow domain accounts a Remote Desktop connection using their AD accounts (we can log in using the local server's accounts).

I think the error are related to RC4 encryption retirement.

I've been planning to update the two Win2019 domain controllers and I had a bunch of links opened for some step-by-step guidance on how it's done. I am (at best) decent Windows Admin, but it's not my area of expertise and I "inherited" this because I may be the only one left.

Assuming this is related to the RC4 remediation, I'm the only guy left that might be able to get that part working using the newer standard.

Is there a really good step-by-step guide on updating 2 Windows 2019 DC and get the clients to stop using RC4 (that includes SAMBA servers / WD PR4100 NAS)?

The actual number of PCs, servers and users is small enough, I could reinstall Server 2019 (I don't have licenses for anything newer), but I don't think that would "fix" the RC4 issue. I assume that Server 2025 would do it, but we are broke.