Create Saved queries – Disabled Users Active Directory
This tutorial you will learn how to filter any kind of objects and get particular attributes such as ‘disabled account’, User, computer, operation system, etc…. Usually, when our boss asked for a list of users with “IT” department or users are enabled” we are automatically thinking about Powershell, It is not bad, but I want to introduce you another feature that more user-friendly
Usually, when our Manager asks for a list of users with “IT” department attribute or users which are enabled” we are automatically thinking about Powershell, It is not bad, but I want to introduce you another feature that more user-friendly than Powershell
Here I want to create kind of a list of all disabled users in my Active Directory.
Open active directory and then right click on “Saved Queries” > New > Query.
- Here we have to select string but before that, we have to define query > so click on “Define Query“
- We have “Disabled Account” by default and we just need to check it.
there are a lot of filter options if it locked users, time login, specific location, and more…
- Type the name of the query, query root and then OK
And here you can see all users which are disabled.
Very simple, not complicated, indeed, it’s user-friendly GUI.
So why not make use of this feature?