r/activedirectory

How do I let domain users run programs as administrators?

Hello everyone,

I need help on how to allow domain users in my domain to run certain software as administrators without always having to enter domain admin credentials, and without adding the users to the local Administrators group.

I would really appreciate any advice or guidance on the best and most secure way to achieve this.

This is also my first post here, and I am still a beginner in network administration and Active Directory, so I am looking forward to learning from your experience and support.

Thank you in advance.

reddit.com
u/Nanidasilva — 14 hours ago
▲ 6 r/activedirectory+2 crossposts

Is ts even possible? My boss wants me to do this.

I want to achieve the following in our Microsoft 365 / Outlook environment:

When a user receives an email from someone within our organization, I would like the sender to appear in Outlook as:

Display Name (Department)

For example:

John Smith (IT)

instead of just:

John Smith

Our environment consists of on-premises Active Directory synchronized with Microsoft Entra ID.

The key requirements are:

  1. Maintainability

    • The solution should be centrally managed and scalable.

    • We do not want to manually edit the Display Name of individual users one by one.

  2. Department-Based Logic

    • The department value should come from the existing Department attribute in AD/Entra ID.

    • Ideally, Outlook would dynamically display:

DisplayName + " (" + Department + ")"

  1. Automatic Updates

    • If a department name changes (e.g., "IT" becomes "Technology"), we should only need to update the department value in one place.

    • All affected users should automatically reflect the new department name in Outlook without requiring manual updates to each user's display name.

  2. Minimal Ongoing Administration

    • We do not want a solution that requires running scripts daily or performing regular manual maintenance.

    • A one-time configuration, automated synchronization, or event-driven update process would be acceptable.

My main question is:

Does Outlook/Microsoft 365 support displaying a user's name together with another directory attribute (such as Department) without modifying the user's actual Display Name attribute?

If not, what would be the most maintainable approach to achieve this behavior in an AD + Entra ID synchronized environment?

u/jackey_lackey11 — 2 days ago

Active directory migration

Hi friends,

I recently faced an active directory server with multiple useless domains and I decided to migrate the active domain to newly installed DC, at my First search I found ADMT that can migrate all the Object with it's attributes such as passwords of user object or profile of Computer object. It also could disjoin and rejoin the object to the new domain automatically.

In the process, the migration of all objects was successful, but the security translation and computer migration were not!

After reading lots of logs and Microsoft official docs, I found out it is buggy for a domain newer than ADDS 2016.

Have you any other solution or any experience for migration of ADDS 2022?

Both domains are 2022 with a 2016 functional level.

If there is anything besides QUEST or AD Manager, please suggest me🙏

reddit.com
u/Vegetable-Pen2 — 5 days ago
▲ 43 r/activedirectory+1 crossposts

🔐 Free IAM Community Workshop – Hardening AD Against Real-World Attacks

Wanted to share another free IAM workshop we’re hosting on Saturday, June 6:

🛡️ Hardening Active Directory Against Real-World Attacks

Active Directory is still one of the most targeted systems in enterprise environments and a lot of organizations are more exposed than they realize.

We’ll be covering:

  • common AD attack paths
  • risky misconfigurations
  • practical hardening strategies
  • defensive concepts that actually matter in real environments

It’s beginner-friendly but still valuable for people already working in IT, sysadmin, IAM, or security roles.

We’ll also have live Q&A and open discussion afterward.

Zero to Sec has turned into a really solid group of people learning IAM together, sharing knowledge, helping others break in, and leveling up.

If that sounds interesting, feel free to join us.

Free RSVP: https://addcal.io/e/q0ygijv094gd

u/iamblas — 4 days ago

Building a Highly Available CRL and AIA Distribution Platform for AD CS

I recently spent some time looking at high availability for CRL and AIA distribution in AD CS.

My first thought was to keep things simple: two IIS servers behind a load balancer, each hosting its own CRL share. From a client perspective this actually worked pretty well. As long as the load balancer performed health checks, clients could continue downloading CRLs even when one of the web servers was unavailable.

What surprised me was the publishing side.

The CA was configured to publish CRLs and Delta CRLs directly to both web servers. When I simulated the loss of one of the publication targets, the Base CRL continued to publish, but Delta CRL publication failed completely. Event Viewer started throwing a mix of ERROR_DIRECTORY (0x8007010b) and E_ABORT (0x80004004) errors.

In other words, the web tier remained highly available, but the publication process itself wasn't.

That eventually led me to a different design based on DFS Namespaces, DFS Replication, IIS and gMSAs. The CA now publishes to a single DFS path, DFS-R takes care of replication, and the web servers simply serve the content.

One thing I found interesting during this project is that making CRL distribution highly available is actually the easy part. Making CRL publication highly available requires a bit more thought. I've written up the complete design, implementation steps, PowerShell configuration and some lessons learned along the way:

https://michaelwaterman.nl/2026/06/04/building-a-highly-available-crl-and-aia-distribution-platform-for-ad-cs/

Hopefully this helps someone who's looking at the same challenge. At the very least, it might save you from spending an evening or more wondering why Base CRLs keep publishing while Delta CRLs suddenly refuse to cooperate.

reddit.com
u/aprimeproblem — 6 days ago

Confusion about minimum password length in domain Default Policy

With the last old devices gone (NT4!), this forest is running fully on Win10/11 and Server 2019/2022 now.

There was an audit from an external security company, and I should set the minimum password length to 16 instead of 14.

The problem is that the maximum value of "Minimum password length" on 2019 servers is 14 - an all DCs are 2019. I'm already happy I went from functional level 2003 to 2016 this year. I get no budget to buy a few thousand 2022 or 2025 CALs this year.

From a 2022 server I went into the GPO management to turn "Relax minimum password length limits" on, but now I am unsure how this replicates. It is not visible on the 2019 servers - I expected at least an error because of a missing admx or so.

Also, I'm unsure whether this Relax etc. policy belongs in the Default Domain Policy with the password policy, or in the Default Domain Controller Policy, as the setting is probably only relevant for DCs anyway.

Thank you for your opinions.

reddit.com
u/YellowOnline — 5 days ago

Community Meetup Video Is Live + More!

We did it! Earlier this week we held our first ever Virtual Meetup and, I may be biased, but it was a massive success!

Thanks for attending, those of you who could, and big thanks to David and u/aprimeproblem being a part of the panel. For those of you who couldn't I have news! The recording is posted!

Don't stop reading there are a couple more items we need to throw out there.

Post-Meeting Survey

Whether or not you made it I'm interested in what you think about some of the items. Especially some of the logistics items.

Based on the previous survey Tuesdays worked best. Currently this one is suggesting a different time. I want to give the most people the opportunity to join as I can, so if nothing else answer that part. Oh, and if you want to be considered as a panelist, let me know in the survey (provide me your contact info, please).

Merch?

AD Subreddit Merch Link

OKay, hear me out. I wanted to put them out there as an opportunity for us to share a common theme. I'm using Printify and Etsy to do all the sales/distribution part. They are priced just above cost with idea of only covering cost changes and to make Printify not bug me.

I have zero intention of making money off this and will use the funds to fund more meetups. Anything more will go to one or more charities. If you want to know ask and I'll show you the numbers.

Next Meeting?

TBD at the moment. We'll probably post it about 2 weeks before we actually do it, but right now we are planning early July. I'll do some more posts when it is time.

Other Events

First, make sure you're subscribed the talks, cons, and webinar's thread Identity Conferences/Webinars/Podcasts Megathread.

I'll be presenting at Zero To Sec's town-hall/meeting Saturday. I'll post details in the con's thread.

Also if any of you are going to Hobocon, I'll be there and presenting as well if you want to say hello.

Everything after this is just some reflection and discussion.

Takeaways

The AMA/Q&A style discussion ended up surprising me. I've been to several conferences, trainings, etc. and rarely are they structured to be a back-and-forth discussion. This really enabled some conversation that I don't think happens often and after talking with a colleague I think it may be needed.

That said, I think we'll keep the open Panelist-AMA-style discussion in future meet ups.

Eventbrite, Teams, etc.

Eventbrite was not my first choice. I'm going to evaluate other options for next time. The idea here is I need a means to track registration so I know what to plan for. If you have any suggestions or recommendations, let me know.

Teams

There were a couple of challenges with teams. Admittedly, I've not done teams calls outside of the workplace and that added a layer that surprised me. I said it before I'm looking at using Proton in the future, but we'll see. I don't have any licensing I own outside of Teams currently so there are lots of variables.

Reach Out If you have ideas or suggestions, reach out. Otherwise, thanks everyone for everything and for making this an awesome community.

I love any input anyone has. Just reach out!

u/poolmanjim — 5 days ago

How to configure Site Links and Costs for full mesh network?

I'm trying to optimize our AD Sites & Services Site Links to accurately reflect the costs of replication traffic. There are 7 physical sites that each have a single connection to the internet via their local ISP, however site-to-site VPN tunnels are configured to be full mesh, ie any one office can send traffic directly to another. The tricky thing is that the quality of the ISP connection varies from office to office with a few being high latency. How should I create site links and group sites within them so that DC replication occurs over the higher quality connections first and avoids poor-ISP to poor-ISP replication links?

reddit.com
u/StoopidMonkey32 — 5 days ago
▲ 22 r/activedirectory+2 crossposts

AD Primary groups and Entra

Came across something today and just felt the need to share. I was having an issue with a particular group that we were trying to sync to Entra. The group itself synced but it had no members on the entra side. After a lot of searching and testing I found out the following: If a user has a group set as their primary group, that user does not get listed in the "members" attribute and thus their membership doesn't get synced to Entra.

By default, a user gets added to the "domain users" group and that gets set as their primary group. If you happen to create a user that is not a member of the "domain users" group, whatever group you add them to first gets set as their "primary group". If you then want to sync that group to entra, they won't show up. Hopefully this post will save someone else some time in the future...

reddit.com
u/therealtacopanda — 6 days ago

Chaging the Inter-Site Topology Generator

Hi All,

Just looking for some advice.

I'm doing some AD prep before an uplift and I've come across an Inter-Site failure in dcdiag for one of our AD sites.

The failure is due to a deleted former RODC, and you can see this referenced in the 0ADEL CN. You can also see this in the ISTG Server and Site listing, which is "Invalid".

This was obviously not demoted properly and thus the reference for this site has stayed.

However, I am confused as to why this has not automatically switched to a working DC within the Site, of which there are two.

The only way I am aware of for fixing this, is to change the attribute 'interSiteTopologyGenerator' to the NTDS CN of a working DC within the site. Is that correct?

I was also wondering if emptying the attribute value and forcing a "Check Replication Topology" would also resolve the problem, by embedding a working NTDS value itself.

An help/input appreciated.

Domain/Forest level is 2016.

reddit.com
u/coolbeaNs92 — 7 days ago

Nested group membership is giving people access to things they shouldn't have and I can't even see it without running a script

Inherited this environment two years ago. Previous admin nested groups inside groups inside groups. Last month I finally pulled a full membership expansion report.

14 users have access to a finance file share with no obvious reason to be there. Traced it back through four levels of nesting. One group in the chain was a distribution list added to a security group six years ago and never removed. That DL had 40 members. All 40 inherited the file share access.

None of this is visible in AD Users and Computers. You see direct members, not transitive ones. The access looks clean unless you specifically expand the full membership tree.

We run quarterly access reviews. Managers certify their team's access. They're certifying what the tool shows them  and the tool doesn't surface transitive memberships. So the reviews are passing on access nobody knows exists.

Three of the 14 users with unintended finance access have since left the company. Accounts disabled, group memberships never cleaned up. The nesting is still intact for whenever those accounts get reused.

Is there a standard approach for auditing and flattening nested groups in AD without breaking things that depend on the current structure? Specifically wondering whether people tackle this top-down from the resource or bottom-up from the user.

reddit.com
u/Consistent_Buddy_698 — 7 days ago

DFSR issue after domain controller restart - proper procedure for maintenance?

Hello,

I have noticed this behavior in several two domain controller HA setups.

The usual sequence is:

  1. DC02 is patched and rebooted (vi Azure update manager).
  2. After DC02 comes back online and appears usable — login works, services are running, etc. — DC01 is patched and rebooted.
  3. After DC01 reboots, DFSR/SYSVOL replication seems to enter an unhealthy state.
  4. DC02 appears to have issues with DFSR synchronization, even though it looked healthy immediately after its own reboot.

I noticed in all cases DFSR backlog remains between DC01 and DC02, and SYSVOL replication does not return to a clean state without manual intervention...?

It looks like DC02 is considered “back online” from an OS/login perspective, but DFSR may not yet be fully healthy or ready before DC01 is rebooted.

We also noticed this when using start / stop procedure for domain controllers in Azure on dev envs when saving cost. When in one point both DCs are in stopped stated, then we start DC01, wait for it idk, maybe 15 minutes, and then start DC02, DFSR is always in this stuck state and it wont continuer on its own.

Is this expected (replication is stuck until manual intervention)?

To solve this i always have to resort to procedure:

Force synchronization for Distributed File System Replication (DFSR) replicated sysvol replication - Windows Server | Microsoft Learn

Where i set DC01 to be authoritative, force sync and restart DFSR and then is all back to working as expected.

Any ideas?

u/yukee2018 — 7 days ago

Can't for the life of me delegate AD computer permissions, help please!

I'm setting up a new desktop technician role in my AD environment and want to give that group the ability to manage our workstations in AD, to include, creating, moving, deleting, resetting computer objects and joining/unjoining the domain, basically anything needed for our workstations.

I created a new security group and put the account in the group. I went to the top OU where our computer objects live, and the computers container, and went through the delegation wizard. Selected the custom settings, selected computer objects, and chose full control. I verified on the OU and computer objects within, that the group has full control including Reset Password.

The admin logs in, we confirm membership of that group, and token is fresh, When attempting to reset a computer object, he gets access denied. He can move computer objects within the computer container and the assigned OUs.

I did update the Default Domain Controllers policy to allow this group "Add workstations to domain", as we had restricted that previously. Doesn't really apply in this problem, but would come up. I've also added them to allow Computer Account Re-use setting in my Domain Controllers GPO.

I feel like I'm just missing one critical component that I can't track down and haven't had any luck with finding a good article, or CoPilot, ChatGPT, or Claude getting me over the finish line. The goal is to limit entitlement so we move our desktop tech role away from being a Domain Admin. Would love any suggestions!

reddit.com
u/J2E1 — 8 days ago
▲ 2 r/activedirectory+1 crossposts

Pass-through authentication failing with some DCs offline

We’re taking our HQ building offline at the end of the week for a full switch infrastructure refresh - so all users will be remotely working.

In readiness this evening we tested that users would still be able to sign-in to Office365 and all cloud services inc. those with SSO to Entra. To simulate our HQ building being offline we took down both DCs at this site, leaving our Azure VM DC up and a DC at our branch office location up.

Unfortunately things didn’t go as expected…users couldn’t pass-through authenticate.

We’ve got an Entra Connect with PTA instance in Azure (active), and a second instance at our HQ in staging mode. The only time we could get PTA to work was when we also switched OFF the Entra Connect instance at our HQ…just leaving the Azure DC and Azure Entra Connect.

Entra wants multiple Entra Connect and PTA agents - but it seems like they become a problem if they are up with no local DCs.

Any ideas? Experience of Entra Connect in a failure scenario? Should it be seamless?
I’m wondering if maybe a DNS configuration issue on the HQ Entra Connect instance - does it need the DNS address of the non-HQ DCs?

reddit.com
u/Prancing__Moose — 8 days ago

Active Directory Passwordless Authentication with Yubikey

I’d like to share with you #Quickadcs a PowerShell script, the idea is to simplify the implementation of Passwordless Authentication with Yubikey.
Quickadcs allows you to :

# Configure a Public Key Infrastructure, PKI
# Provisioning smartcard certificate template
# Configure smardcard GPOs

Securing the most critical identities.
It’s free and open source, available in GitHub : https://github.com/Marlyns-GitHub/Quickadcs.git

reddit.com
u/Mank_05 — 9 days ago
▲ 28 r/activedirectory+3 crossposts

EVENT TOMORROW - Active Directory Community Virtual Meetup & Happy Hour

Less than 24 hours until our inaugural community meetup! I hope you all are excited, because I know I am! I will start the event early and do some pre-meeting banter if anyone is interested. Also, I'm going to open up for more attendees (we're sold out).

If you can't make it, no worries. I'll be recording it and will make it available through a couple of platforms.

Event Link: https://www.eventbrite.com/e/active-directory-community-virtual-meetup-happy-hour-tickets-1990001856121

Pre Q&A Link: https://docs.google.com/forms/d/e/1FAIpQLSeFsbopcwHDeCkMoSKu1X5PVUl_nglFpNAPSKrd38-ZM9sI1g/viewform

>NOTE: We had originally planned to use Proton to do the meeting but will be using Teams. We'll try Proton next time.

We're taking some pre-questions for the Q&A if you can't make it or just want to submit something. The panelists will be trying to go through as many of these as we can. Don't worry, we'll also be keeping an eye on the chat.

Pre Q&A Link: https://docs.google.com/forms/d/e/1FAIpQLSeFsbopcwHDeCkMoSKu1X5PVUl_nglFpNAPSKrd38-ZM9sI1g/viewform

Agenda

  • Introductions + Warm Up
  • State of the Subreddit / Community Feedback
  • Community Discussion + Q&A + Panelist Discussion
  • Conclusions + Next Meeting Planning
u/poolmanjim — 8 days ago

Resources for PKI

Hi everyone,
I’m currently working in IAM and have realized that my understanding of SSL/TLS certificates and PKI is one of my weakest areas. While I understand the basic concepts of SSL/TLS, certificate-based authentication, and how certificates are used in applications, I want to build a much deeper and hands-on understanding of PKI from the ground up.
My primary focus is on Active Directory Certificate Services (AD CS). I’d like to learn everything properly, including:
Root CA and Intermediate CA hierarchy
Certificate chains and trust
CRLs and OCSP
Certificate templates
Enrollment and auto-enrollment
Certificate-based authentication
Smart cards and device certificates
PKI design and best practices
Common troubleshooting scenarios
AD CS attacks and security considerations
I’m looking for structured learning resources, labs, courses, home lab setups, websites, or platforms that provide practical hands-on experience rather than just theory.
For those who became comfortable with PKI and AD CS, what resources helped you the most? If you were starting from scratch today, how would you learn it?
Thanks in advance!

reddit.com
u/gigaMoron — 10 days ago

is it CCNA must?

I started working as a helpdesk and its been 7 months since i joined initially i went through some yt videos and got familiar with networking fundamentals and somewhere hands on knowledge with business grade routers and unmanaged switches the thing is i know how things work upto static routing which is more than enough for my role right now . But im focusing more towards system administration so do i need to get the CCNA certificate or just move towards system administration?

reddit.com
u/Formal_Box_746 — 8 days ago

OAuth consent phishing bypasses every detection layer that assumes phishing requires credentials

Email arrives requesting app permission, user clicks through the real Microsoft consent UI, attacker gets persistent API access to the mailbox without credentials or a session token. MFA is completely irrelevant because no authentication event occurs after consent is granted.

Nothing in the email itself is malicious. The sender can be legitimate, the link goes to a real Microsoft domain, the consent screen is genuine UI. The only signal is the application name and the permissions it is requesting, neither of which most monitoring setups are alerting on in real time. Revocation requires finding the application in enterprise app registrations which is not somewhere most analysts are looking regularly.

reddit.com
u/Traditional_Vast5978 — 11 days ago

Help!

I’m stuck on interpreting a NetNTLMv2 result.

Context:

- Target is a Windows Server domain controller

- SMB signing is required on the DC.

- Anonymous SMB and guest access fail.

- Responder captures repeated LLMNR/NBT-NS/mDNS requests for FileServer/FileServer.local.

- I captured a NetNTLMv2 response for a domain user.

- John cracks the NetNTLMv2 response to a plaintext candidate.

- However, the plaintext fails normal authentication:

- SMB: STATUS_LOGON_FAILURE

- LDAP simple bind: error 49 / data 52e

- WinRM: login failure

- Kerbrute confirms the username exists.

- I also tested LDAP relay with ntlmrelayx, but I’m still checking whether LDAP signing/channel binding or the authentication type blocks it.

Question:

Does a cracked NetNTLMv2 response that fails SMB/LDAP/WinRM usually indicate a stale/cached NTLM response, password change, old-password NTLM behaviour, wrong domain/format issue, or something else? What would be the correct methodology to prove which case it is, without just brute forcing?

reddit.com
u/Ok_Bad_9488 — 12 days ago