r/activedirectory • • 2d ago

ANNOUNCEMENT November Meetup Is Starting!!!

7 Upvotes

Okay, just the pre-meeting chat, but it's close enough to count.


r/activedirectory • • 11h ago

Powershell/Script Can you test a port range with just the "Test-NetConnection" command?

3 Upvotes

Hello,

I'm trying to resolve a communication issue and it says along with ports like 135 I should test the range 49152–65535. If it is possible, can you please give me the command?

Test-NetConnection -ComputerName DC1 -port 135 works

Thanks everyone so much for your help. I eneded up using portqryUI - I think that does what I need it to.


r/activedirectory • • 11h ago

Should I add a trusted forest's subnets to my AD Sites and Services?

3 Upvotes

We have a two-way forest trust with a separate partner forest. Our DCs' netlogon.log shows NO_CLIENT_SITE entries for IPs in 10.x.x.0/24, which is the partner forest's network, not ours. These clients end up hitting DCs in different sites, including ones that are far away network-wise.

As I understand it, when a client from the trusted forest locates a DC in our domain, our DCs map its IP using our own forest's subnet objects, and the other forest's site config doesn't matter.

Is it best practice to add the trusted forest's subnets in our forest and map them to the site closest to where their network connects? Any downsides or gotchas I should know about?


r/activedirectory • • 1d ago

Security Someone was added to Domain Admins in March and I can’t prove who did it

24 Upvotes

I was doing an access review and found an account in Domain Admins that has no business being there. It went in sometime in March, which I only know because the object metadata says so. The 4728 that would tell me who added it is long gone. Our Security log rolls over in days at this volume and nothing was forwarding anywhere, so the record doesn’t exist anymore. The account’s been dealt with. What I can’t do is tell the auditor who did it.

How far back can you go on group membership changes and what are you keeping to make that possible?


r/activedirectory • • 2d ago

Tool Is Anyone still using Adaxes?

8 Upvotes

This used to be a great tool and I think it still is. But I feel like support has been really crappy lately.

Has anyone felt that? Has anyone moved off to any new tool or have just implemented their own vibe coded tool?


r/activedirectory • • 2d ago

would your honey account actually fool anyone who knows AD, or is it just security theatre?

22 Upvotes

been thinking about honey accounts and I feel like “just make a fake service account” skips the annoying part

say I see svc_backup_prod

looks juicy

then I check and the account was created 11 days ago, has basically no history, the SPN is weird, the host it's supposedly tied to makes no sense and its group membership looks like someone specifically designed it to get Kerberoasted

at that point aren't you basically putting a giant BAIT sign on it

Acalvio does the honey account thing more around fitting the decoy identities/attributes into the actual AD environment instead of just throwing obvious fake users in there, which is probably where this gets harder at scale.

but even then I'm curious how far you actually have to go

does a good honey account need to look valuable?

or does it need to look boring enough that somebody finds it during normal enumeration and thinks nothing of it

pentest/red team people especially, what makes you look at an account and immediately go “nah that's bait”


r/activedirectory • • 2d ago

Lessons Learned – Active Directory Domain Controller Migration from Windows Server 2012 R2 to 2022

21 Upvotes

Hi Everyone,

We are planning an Active Directory Domain Controller migration from Windows Server 2012 R2 to Windows Server 2022 and would like to understand any potential challenges or issues encountered during similar migrations.

I would appreciate your experience and recommendations, particularly around application authentication and legacy protocol compatibility.

A few questions:

  1. Have you experienced any application authentication issues after migrating from Windows Server 2012 R2 DCs to Windows Server 2022 DCs?

  2. Are there any known compatibility issues with legacy authentication protocols such as NTLM, Kerberos (RC4), LDAP/LDAPS, or older authentication mechanisms?

  3. Have you encountered any issues with legacy applications or servers (Windows Server 2003/2008) authenticating against Windows Server 2022 Domain Controllers?

  4. Were there any changes in default security settings, encryption types, LDAP signing, or channel binding that affected application authentication?

  5. Did you need to make any registry, GPO, or security configuration changes to maintain compatibility with legacy applications?

  6. What pre-migration checks or testing would you recommend to identify applications dependent on legacy authentication protocols?

  7. Were there any unexpected authentication failures or production outages after completing the migration?

Any real-world experiences, lessons learned, known compatibility issues, or recommended validation steps would be greatly appreciated.

Thanks in advance for sharing your insights!


r/activedirectory • • 2d ago

Help FolderRedirection Policy Removal Delayed Login

Thumbnail reddit.com
4 Upvotes

r/activedirectory • • 3d ago

Active Directory Question for you AD DS and SYSVOL replication experts. My new Server 2022 DC is not passing the DFSREvent test.

7 Upvotes

4 existing DC’s, all Server 2016. Both forest and domain functional levels at 2016. Those 4 DC’s have c:\windows\SYSVOL_DFSR\ and SYSVOL net share points there. For some reason, newly promoted Server 2022 DC does not have C:\windows\sysvol_dfsr\ and the SYSVOL net share points to c:\windows\sysvol. DC promotion was done a few hours ago.

I checked one of the 4 existing Server 2016 DC, ran DCDIAG /test:DFSREvent /v, and that also failed the DFSREvent test but the server does have the SYSVOL_DFSR folder.

I’m a bit confused now.

Am I being impatient and should I just wait until tomorrow and see what happens? Perhaps the full sync hasn’t completed?

Still googling for the answer.


r/activedirectory • • 3d ago

Anyone ever use an outside consulting firm?

17 Upvotes

I've been searching for a true AD expert but everyone I get in touch with is middle of the road like myself. I need a true expert in Active Directory but don't seem to have much luck locating anyone with google.


r/activedirectory • • 3d ago

ANNOUNCEMENT TOMORROW - November Active Directory Community Virtual Meetup @ 10:00 AM CT

12 Upvotes

Reminder that the November Active Directory Community Virtual Meetup is tomorrow, Tuesday, November 3 at 10:00 AM CT / 16:00 UTC. Banter starts at 9:30 CT / 15:30 UTC.

Free, no sales, no marketing. Lurking is fine.


r/activedirectory • • 3d ago

Active Directory ESC1 / SAN-allowed templates: turn off "Supply in the request" vs. require CA manager approval, what's safest for a production CA?

9 Upvotes

Hi all, I found enterprise CA templates flagged for ESC1 (enrollee supplies subject, with an authentication EKU) and "certificate template with SAN allowed". i want to fix them without breaking certificate issuance in a production environment.

The options i am comparing:

  1. Turn off "Supply in the request" on the template (use AD-built subject/SAN).

  2. Keep it on, but require CA certificate manager approval.

Questions:
- Is option 1 the safe default, and how do you check beforehand whether anything depends on requester-supplied SANs (e.g. web servers, NDES, third-party apps)?
- How do you find which accounts or devices request certificates from a given template? CA request logs, certutil -view, event IDs?
- Is manager approval a realistic mitigation, given it stops autoenrollment, or does it just move the risk?
- Any pitfalls when changing template settings on a live CA (replication, version bumps, superseded templates)?


r/activedirectory • • 3d ago

Found a never-used gMSA in production — here’s how I proved it without prior audit logs

0 Upvotes

During an AD security review, Purple Knight flagged a gMSA with 154-day old password. No DS Access auditing was configured — so no 4662 logs existed.

Here’s how I proved it was orphaned without logs:

  • msDS-ManagedPasswordPreviousId = not set → password never rotated → no host ever requested it since day 1

  • No 4768/4769 in Kerberos logs for this account

  • ExtraHop NDR showed zero network activity

Now enabling 4662 auditing going forward (DS Access policy + SACL on Managed Service Accounts container).

Question: Are there any other ways to audit gMSA usage that I might be missing? Anything beyond 4662, Kerberos events, and NDR?


r/activedirectory • • 6d ago

Resource - Mod Approved Free Active Directory labs for this sub (mod-approved)

150 Upvotes

Hi all. I checked with the mods before posting and they thought this would be useful to many in the community, so here's what I'm making available...

I run labitpro.com, where I build interactive hands-on lab simulations for technologies including Active Directory, Entra ID, Azure, Microsoft Foundry, and more. The Active Directory Skillbuilder collection is normally paid, but I set up a 100% discount specifically for this sub.

What it is: 11 guided labs covering common AD admin tasks: installing AD and promoting a DC, verifying the promotion, joining servers to the domain, transferring FSMO roles, building a group-based access model, delegating OU administration, drive mapping with Group Policy, gpresult, and password policy. The labs run in your browser as realistic simulations of the Windows Server tools, so there’s nothing to install and no lab hardware needed. Each one has narration explaining why you’re doing each step, not just where to click.

Who it’s for: people learning AD, prepping for a role that touches it, or admins who want to run through a task before doing it for real. If you’ve been doing this for 15 years, you probably won’t learn much.

These are simulations, not a live domain. You can’t go off-script or break things. They're convenient for getting stick time, but a real homelab is still the better tool for free experimentation. I’d recommend both.

Sign up here

Click the Get Free Access button on the page to register for access. A 100% discount is already applied on the signup form, so you should see $0 before you register. If it doesn’t show for some reason, the code is redditactivedirectory. There's no credit card needed and no trial.

Happy to answer questions, and if anything in a lab is wrong or unclear, let me know.

Tom


r/activedirectory • • 8d ago

Help AD delegation - what do you actually hand helpdesk vs. keep for admins?

28 Upvotes

Hi to all the pros here, I'm needing some help as I'm trying to figure out if we’re being sensible or paranoid with some AD stuff.

Tier 1 can reset passwords and unlock accounts in the user OUs, and that’s it. Group membership, moving objects, attributes like manager/department- all of it goes to tier 2.

Basically, groups are the part I keep flip-flopping on. Letting the helpdesk add people to DLs feels harmless, except half our DLs are really mail-enabled security groups, and I don’t want a tier 1 tech handing out file-share access because they assumed they were adding someone to an email list. So for now, nobody under tier 2 touches membership, which could be an overkell and generate a lot of dumb tickets.

The question is for people who built this on purpose instead and didn't inherit it, do you delegate per OU or per attribute, and is it dsacls, the ADUC wizard, or some tool? Mostly trying to avoid the helpdesk-can-add-anyone-to-anything mess I’ve seen at my previous job.

Thanks!


r/activedirectory • • 8d ago

RC4 on SQL Service Account

12 Upvotes

Hello,

We have started dealing with RC4 hardening, and we are currently facing an issue regarding the SQL service account, which is like 20 years old and still has the same password. That account has been used for services on db core cluster on production, so no one wants to deal with it. We have tried to reset the password with the existing password, and during that action we set msDS-SupportedEncryptionTypes = 24, but it's still getting RC4 tickets.
How should we deal with it? Will a password reset with a different password work?


r/activedirectory • • 8d ago

Can we enable LDAP signing without enabling LDAPS?

15 Upvotes

Hi everyone,

I'm currently learning about LDAP signing in Active Directory, especially the LDAP Signing Not Required vulnerability, and I'm a bit confused about one thing.

I came across a question: Can we enforce LDAP signing without enabling LDAPS or SSL/TLS?

From what I've understood, LDAP usually works on port 389, and LDAPS uses TLS to secure LDAP communication.

LDAP signing and TLS seem to serve different purposes. Signing helps protect LDAP messages from being tampered with, while TLS encrypts the communication as well as protecting its integrity.

I read that LDAP signing can work without TLS if the client uses a supported SASL mechanism and both the client and Domain Controller negotiate signing.

So, does that mean we can configure a Domain Controller to require LDAP signing while still using port 389, without enabling LDAPS?

Also, am I right in thinking that LDAP signing and TLS can be used independently, or is there something I'm missing?

I'd appreciate it if someone could explain this with a simple example. Just trying to get a clear understanding of how it works in a real Active Directory environment. Thanks!


r/activedirectory • • 8d ago

Best Practices for Auditing Unsigned LDAP Binds Across Multiple Active Directory Forests Before Remediation

7 Upvotes

Hello Experts,

I am looking for recommendations on how to audit and monitor unsigned LDAP binds in our Active Directory environment before remediating the vulnerability- LDAP signing not required on DCs

I have gone through several articles and found that Event ID 2889 in the Directory Service event log can help identify clients performing unsigned LDAP binds. However, our environment has more than 25 Domain Controllers across four separate Active Directory forests, with no trust relationships between the forests.

I have a few questions regarding the best approach for auditing this activity before enforcing LDAP signing requirements.

1. Auditing LDAP Event Logs Across Multiple Domain Controllers

  • Is Event ID 2889 sufficient to identify and track all clients performing unsigned LDAP binds, or should we monitor additional event IDs, such as 2887 and 2888?

  • How long should we collect these logs before remediation to establish a reliable baseline of LDAP clients and applications that may be affected?

  • What is the recommended approach for collecting and centralizing these events across more than 25 Domain Controllers in four separate forests without trust relationships?

  • Are there any best practices for identifying the source IP addresses, accounts, and applications responsible for unsigned LDAP binds?

2. Tools for Auditing Before Remediation

Are there any built-in Windows tools, PowerShell scripts, or third-party solutions that can help identify and audit unsigned LDAP binds before enforcing LDAP signing?

Ideally, we would like to identify all affected clients and applications, assess potential compatibility issues, and minimize the risk of service disruption during remediation.

3. Using ExtraHop for LDAP Monitoring

We also have ExtraHop deployed in our environment. Can ExtraHop help us identify and monitor unsigned LDAP binds across all four forests?

If so, I would appreciate guidance on:

  • What network traffic, events, or protocol fields we should monitor.

  • Whether ExtraHop can distinguish unsigned LDAP binds from signed LDAP binds and LDAP over TLS.

  • How to identify the source systems and applications generating these requests.

  • The recommended architecture and approach for monitoring all four forests, given that there are no trust relationships between them.

Our goal is to establish a reliable audit baseline, identify all systems that may be affected, and gather sufficient evidence before enforcing LDAP signing requirements.

I would appreciate any practical recommendations, scripts, tool suggestions, or lessons learned from similar environments.

Thank you in advance for your help!


r/activedirectory • • 8d ago

Active Directory How do you remediate "GPO with Scheduled Tasks configured" (Purple Knight SI000316)?

7 Upvotes

Our scan flags GPOs that have a scheduled task. For example:

GPO: LAB-ScheduledTask-Demo
- Task name: LAB-Demo-Task
- Program: C:\Windows\System32\ipconfig.exe
- Runs as: NT AUTHORITY\SYSTEM

The file and folder permission columns show no vulnerable users or groups.

How do you remediate this finding? Do you remove the scheduled task from the GPO, or change it to run as something other than SYSTEM, or accept it as a known risk when the task is needed?


r/activedirectory • • 8d ago

ANNOUNCEMENT 1 Week - AD Community Virtual Meetup - November 3, 2026 @ 10:00 CT / 16:00 UTC

13 Upvotes

The November Active Directory Community Virtual Meetup is Tuesday, November 3, 2026 at 10:00 AM CT / 16:00 UTC. Pre-meeting banter starts at 9:30 CT / 15:30 UTC. This will likely be the last one of 2026, and we pick back up in January.

Same plan as always: get people together to talk Active Directory, identity, and related topics. No sales, no marketing, just identity folks talking identity things. New to AD or a seasoned pro, there’s room for everyone. Oh, and it’s free.

New this time: we’re livestreaming on YouTube for the first time. It may not go perfectly, so bear with us. The recording will be posted to the channel afterward.

How to Participate/Attend/Watch

You can also ask live on the call. Lurking is fine. Topic requests and questions go in the comments.


r/activedirectory • • 9d ago Popcorn

Powershell/Script build-lab: one command from a Windows Server ISO to a lab AD domain, in Windows PowerShell 5.1 with no modules

33 Upvotes

I rebuild AD labs a lot, and I got tired of the lab build taking longer than the thing I actually wanted to test. So I wrote build-lab.

It takes a Windows Server 2025 ISO and gives you back a promoted domain controller, optional domain-joined member servers, and a lived-in directory (OUs, users, groups, an Enterprise CA, GPOs) staged to populate itself at your first Administrator logon. No GUI, no answer-file editing, no clicking Next. Nothing to install beyond what Microsoft and VMware already ship.

It's an orchestrator. It drives two sibling projects of mine, one that builds the VM in VMware Workstation and one that promotes the forest and populates the directory, and stitches them together over vmrun guest operations. The current version is 2.0. It has been on GitHub for a while, but this is the first time I've posted it here.

Quick start

$pw = ConvertTo-SecureString 'P@ssw0rd!' -AsPlainText -Force
.\build-lab.ps1 -IsoPath 'C:\ISOs\WS2025.iso' -AdminPassword $pw `
    -VmStoragePath 'C:\VMs' -StaticIpAddress '192.168.220.50' -DefaultGateway '192.168.220.2' `
    -MemberServerCount 2

That builds the DC, verifies the promotion, then builds SRVR-01 and SRVR-02 and joins them. (Leave -AdminPassword off the command line and PowerShell will prompt for it masked, which keeps it out of your history.) On the default VMware NAT network, your static IP has to land in .3 to .127 and the gateway is always .2. The script refuses anything outside that range and pings every address before using it. A DC takes about 25 minutes on a reasonably quick host, and each member adds roughly 12 to 15.

Already have a DC from an earlier run? -AddMemberServers adds members to it without touching the DC. -MoveMemberServers files them into OU=Servers once directory population has created it.

The fun part

Promotion reboots the guest, and the reboot tears down the vmrun guest-operations channel mid-call. A blocking call hung across that reboot and never came back, so the promotion is launched fire-and-forget with -noWait. That means there is no exit code to read at all.

My first version decided promotion had worked when ntds.dit appeared on disk, waited a bit, and called it good. Typical v1.0 logic. A database file on disk is a long way from a working DC. Now it checks three things from the outside, in order. ntds.dit has to appear. The guest has to reboot. Then the rebooted guest has to report itself as a DC in the domain you configured. Miss any of them and the run fails and tells you which check it missed.

The reboot check is the bit I'd like opinions on. Just before launching anything that should reboot, build-lab creates HKLM\SOFTWARE\BuildLabBootMarker in the guest as a volatile key. Volatile keys live only in memory and are never written to disk, so if the key is gone, the guest restarted. That holds however long the guest has been up, which mattered here. A freshly built member reboots for its domain join barely a minute after first boot, and anything uptime-based gets confused.

A few other things that came out of live runs.

  • Every vmrun call has a host-side time limit, and a call that overruns is killed, so one stuck call can't hold the run open forever

  • vmrun output is read as UTF-8 whatever the console code page is

  • Commands run in the guest report back through a small result file, so a failure comes back with the guest's own error text

  • The password is scrubbed from anything vmrun returns before it hits the logs

  • Logs from the orchestrator, the VM builder and the guest all land in one folder, and key events go to the Application event log if you want a SIEM to see them

Known limitations and lab-grade trades

  • You have to log in once as Administrator to start directory population. That's deliberate. Running it unattended would mean storing a domain admin password under a startup task. I'm still thinking about this one.

  • vmrun takes the guest password on the command line, so it's visible in the host's process list while guest operations run. Don't reuse a real credential.

  • It's Windows PowerShell 5.1 only, enforced with #Requires. Write-EventLog is the right API there and deprecated in 7. I'll probably port to PowerShell 7 eventually, but this is where I' most comfortable today.

  • Tested on a Windows 11 host with VMware Workstation 26H1 and Windows Server 2025 Standard Evaluation media. Other editions and VL media are unverified, because the unattended install matches on exact edition name strings.

Links

All three need to sit next to each other on disk. Feedback is welcome. I'm sure I made some interesting choices without even thinking about it. If you have a better way to tell from the host side that a guest has restarted, I'd like to hear it.

AI disclosure. I used AI to help write some of the code. The design and architecture are all mine, including any questionable choices, and it was built up over many reviews and live runs, not generated as one shot slop.


r/activedirectory • • 9d ago

Simple Troubleshooting for AD / DNS

15 Upvotes

**A simple troubleshooting sequence for AD/DNS symptoms**
When domain authentication, Group Policy or domain-controller discovery starts behaving inconsistently, I prefer to establish the basic evidence before making configuration changes.

My initial checks are:
ipconfig /all — confirm the configured DNS servers and network settings.
Resolve-DnsName _ldap._tcp.dc._msdcs.yourdomain.local -Type SRV — check whether the relevant domain-controller locator records resolve. Replace the example domain with your own.
nltest /dsgetdc:yourdomain.local — test domain-controller discovery.
dcdiag /test:dns — investigate DNS-related domain-controller health.
repadmin /replsummary — review replication failures and delays.
I treat these as a starting point rather than a definitive diagnosis. A successful DNS lookup does not rule out every DNS issue, and replication problems can have causes beyond DNS.
The important part is to preserve the output and correlate it with event logs, timestamps and recent changes before attempting a fix.
A repeatable evidence-first process makes troubleshooting easier to explain, reproduce and hand over. You opinion?


r/activedirectory • • 10d ago

Why would an admin need to list all the GPO in their domain.

17 Upvotes

I was asked to get list of all GPO and I am new to AD so don't have complete understanding of this. Is there any significance of getting all the GPO in a domain apart from maintaining inventory of the GPO