Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to find disabled Active Directory User accounts

Posted on 19/03/202017/08/2026 Christian By Christian No Comments on How to find disabled Active Directory User accounts
  1. Home
  2. Windows Server
  3. How to find disabled Active Directory User accounts
find disabled Active Directory User accounts

When the need arises to query (search) for disabled users in Active Directory in very large environments where there are a lot of organization units etc., there are few ways to go about it. This process is relatively very easy to find using the Active Directory Administrative Center. In this article, we will learn How to find disabled Active Directory User accounts. Please see how to detect who disabled a user in Active Directory, andWhat Happens if You Turn Off Your Computer During an Update.

Also, see the Concept of Active Directory Computer Account, how to use the built-in Azure Active Directory Connect tool, and how to query a list of installed programs in Windows.

Disable AD Accounts

To demonstrate this, I will proceed to disable some users in my test lab as shown below.

Active Directory

This will let you know that the object has been disabled as shown below

disabled user accounts

Now we have some users deleted as shown below.

user account search

Note: To mitigate against this process in the future, it is best practice to have a container created and dedicated for housing disabled users only. below are some procedures to achieve this

Find Active Directory Disabled Account via PowerShell

This will run the below cmdlets to return disabled accounts. This will display the list of disabled users with other user account parameters (attributes) as shown in the image below.

Search-ADAccount -AccountDisabled
Active Directory

To return only the username of disabled users, run the following cmdlets as shown below.

Get-ADUser -Filter {Enabled -eq $false} | FT samAccountName
user account search

Common Queries

I will be demonstrating this using the common queries. Open the “Active Directory User and Computer” console as shown below.

Click on Tools and select Active Directory User and Computer

find disabled Active Directory User accounts

Click on “Find an object in Active Directory Domain Services”. Please see how to query, stop and delete a service in Windows

Screenshot of the Active Directory Users and Computers interface, showing the toolbar and a 'Find Users, Contacts, and Groups' dialog box with fields for Name and Description.

Under the Find drop-down menu, select “Common Queries”. Select Disabled account, and click on Find now as shown below

A user interface window titled 'Find Common Queries' displaying options to define query variables such as Name, Description, and days since last login, with checkboxes for 'Disabled accounts' and 'Non-expiring passwords'.

This will display a list of disabled accounts in your Active Directory environment as shown below.

Screenshot of a computer application titled 'Find Common Queries' displaying a search interface with fields for finding user queries, showing a list of user accounts including 'Oscar Mark', 'Edith Osan', 'eric matthew', 'krbgt', and 'Guest'.

Via Saved Queries

The below steps are used in displaying disabled users in the Active Directory environment.

Launch the Active Directory User and Computer Console. Right-click on “Saved Queries”. Click on New, and click on Query

Screenshot of the Active Directory Users and Computers interface, showing the 'Saved Queries' section with a drop-down menu highlighting options for 'New', 'Query', and 'Folder'.

This will open the “New Query” properties window. Enter the Query name, and click on Define Query

Screenshot of a dialog box for creating a new query, highlighting the 'Name' field with the text 'Disabled users' and an option to 'Define Query...'.

Select Disabled Account and click on Ok

Screenshot of the 'Find Common Queries' window in a software application, showing options for searching user accounts. The 'Disabled accounts' checkbox is selected, with a button labeled 'OK' highlighted.

This will display a list of disabled accounts as shown below as a saved query.

Screenshot of Active Directory Users and Computers interface showing a list of disabled users, including Edith Osan, eric matthew, Guest, krbtgt, and Oscar Mark.

Ensure you have a procedure in place to delete disabled accounts after a certain period in order not to have a messy Active Directory environment.

I hope you found this article useful in learning how to find disabled Active Directory User accounts. Please feel free to leave a comment below.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Windows Server Tags:Active Directory, Active Directory Accounts, Microsoft Windows, users, Windows Server 2016

Post navigation

Previous Post: Post OS installation: Configure the properties of Windows Server
Next Post: How to detect who disabled a user in Active Directory

Related Posts

  • Remote desktop connection over udp and tcp
    Remote Desktop Connection behavior over UDP and TCP Windows Server
  • maxresdefault
    The following errors occurred attempting to join the domain: The specified domain either does not exist or could not be contacted Windows Server
  • maxresdefault 1
    DriveLock Components: Important DriveLock components to master Windows Server
  • article 1280x720.166f8634
    How to install DHCP role on Windows Server 2019 Windows Server
  • Perform Site Maintenance or reset this site greyed out
    Fix “Perform Site Maintenance or reset this site” greyed out Windows Server
  • image 63
    What to do when your Remote Desktop Licensing Manager Server Crashes Windows

More Related Articles

Remote desktop connection over udp and tcp Remote Desktop Connection behavior over UDP and TCP Windows Server
maxresdefault The following errors occurred attempting to join the domain: The specified domain either does not exist or could not be contacted Windows Server
maxresdefault 1 DriveLock Components: Important DriveLock components to master Windows Server
article 1280x720.166f8634 How to install DHCP role on Windows Server 2019 Windows Server
Perform Site Maintenance or reset this site greyed out Fix “Perform Site Maintenance or reset this site” greyed out Windows Server
image 63 What to do when your Remote Desktop Licensing Manager Server Crashes Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

veeaam100

Veeam Vanguard

  • How to Migrate Windows Servers from Hyper V to Proxmox Correctly
    Migrate Windows Servers from Hyper V to Proxmox Correctly Backup
  • redisf
    How to install Redis on Linux System Linux
  • logon failure and requested session denied
    Logon Failure: User has not been granted the requested logon type Windows
  • Free up filesystem root space
    How to fix the Filesystem root is running low on Disk space Virtualization
  • Grant Non Domain Admin Privileges to Manage Workstation
    Grant Non-Domain Admin Privileges to Manage Workstation Windows
  • Capture 91
    How to install IIS Web Server on Windows Server Web Server
  • VLC Media Player pcgh b2article artwork
    How to Set Quicktime or VLC as a default player on macOS Mac
  • screenshot 2020 02 23 at 10.50.09
    Perform Pleasant Password Self-serve Reset using the “link” Virtualization

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,757 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.