Technical Anshu
Tutorials Blog
🚪 Leaver Routine

Employee Leaving Disable the Active Directory Account First and Delete It Later

The fastest click on a leaver account is Delete - and it is the one you will regret. This page gives the order that keeps mail, files and accountability intact while access ends on the spot.

✍️ Technical Anshu🪟 Windows Server⏱️ 8 minute read
🎥 Watch the full video - every OU, user and group created live, step by step

When someone leaves, two things must happen at different speeds. Access must end immediately. The account itself must end slowly, because that account is woven into file ownership, shared mailboxes, application logins and the audit trail that answers "who changed this?" months later. Deleting on day one confuses the two speeds and always picks the wrong one. The routine below - disable, move, strip, wait, delete - is the one used by careful admins everywhere, and each step has a reason.

Leaver account - state on day one (example)
Account statusDisabled ☑ (logon impossible)
LocationDisabled Users OU
Group membershipsRemoved - list saved in the ticket
Deletion dateAfter 30-90 days, if nothing is missed

Access ends today. The account - and everything it proves - ends only after the waiting period.

1

Step one - disable the account the moment the person leaves

Disabling is instant, total and reversible: right-click the account → Disable Account, or Disable-ADAccount -Identity "rahul.sharma". A disabled account cannot log on anywhere, but it still exists - its SID, its mailbox, its file ownership and its history all stay readable. If the departure turns out to be a transfer or a mistake, re-enabling takes five seconds. Un-deleting takes a restore operation. Choose the reversible action first, every time.

2

Step two - move it to the Disabled Users OU and strip its groups

Move the account into the leavers OU with Move-ADObject so it stops receiving normal user policy and stands out in every listing. Then remove its group memberships - shares, VPN, application groups - after saving the list in the ticket or HR record. That saved list is gold if the person returns, and it is the proof of exactly what access was withdrawn if anyone asks later.

3

Step three - hand over the work before you touch the data

The leaver's mailbox and home folder usually hold live work. Give the manager access to what the business needs through groups, export or forward the mailbox by company policy, and only then let the waiting period run. Honest warning: deleting the account does not delete most of this data - it orphans it, leaving files owned by an unknown SID string and a mailbox nobody can open cleanly. Order matters more than speed here.

4

Step four - delete after a waiting period, on a schedule

Thirty to ninety days is a sane window: long enough for the forgotten dependency - a scheduled task, a scanner, a report - to complain while recovery is still trivial. Pick one deletion day per month, work from the Disabled Users OU list, and delete only accounts whose waiting period has passed. If your company has legal or audit retention rules, those rules win over this page - ask before the first deletion round, not after.

5

The shared-account trap in leaver handling

Leaver day is when shared accounts expose themselves: if three people used one login, disabling it locks out two people who stayed. The routine above is your detection tool - before disabling, ask the manager who else uses the account. Where sharing is real, create individual accounts for the stayers first, then disable. It is extra work on the busiest day, and it is still cheaper than the alternative.

🔴 Never delete to "be safe". Deleting is the unsafe option - it destroys the audit trail, orphans file ownership and turns a reversible situation into a restore job. Disable for safety; delete for tidiness, later, on schedule.

🎥 Watch the Complete Video

The full OU, user and group creation process - live on a real domain controller, step by step.

▶️ Watch Full Video
❓ Common Questions (FAQ)

Can a disabled account still receive email?

Yes, in most setups mail keeps arriving in the mailbox even though the person cannot sign in - which is usually what the business wants during handover. If mail must stop or bounce, that is a separate mailbox setting; disabling alone does not do it.

What happens to files the leaver owned if we delete the account?

The files stay, but their owner becomes an unresolved SID - a long number instead of a name - and permissions pointing at the account stop resolving. Administrators can take ownership, but it is slow, manual work that the disable-first routine avoids entirely.

Should we change the leaver password as well as disabling?

Disabling already blocks sign-in completely, so a password change adds little. Some companies do both when the departure is disputed. What matters more: end their VPN, mail and application sessions the same day, because a live session can outlive the click.

This guide is based on the Technical Anshu video on Active Directory OU, user and group creation • Stuck on a step? Ask in the video comments - you will get a reply 🙏