Create Saved Query in Windows Server 2008
When a network setup is big and contains several user accounts organizational units shared folders etc. it becomes very hard for the administrators to locate any object on the basis of its name description etc. Microsoft understands this and therefore it has integrated a feature named Saved Queries to Windows server 2008 operating system which allows administrators to search for any object on the basis of the specified criteria. This feature works as a real-time search option as administrators need to define the criteria just once and every time the query is used the latest information is displayed as a result. For example if an administrator has saved a query to locate computers which have starting names as ‘Web’ it would display appropriate result every time the query is initialized. After some time even if the number of web servers are increased the query will come up with the results containing both older and newer web servers available in the network setup. As an administrator if you want to create a new Saved Query you are required to follow the steps given below (this section uses an example of searching a user account):
1.      Logon to Windows server 2000 a domain controller with domain admin account.
2.      At the bottom of start menu in search box type DSA.MSC and press enter key to open Active Directory Users and Computers snap-in.
3.      Right click on Saved Queries and from the available menu go to New.
4.      From the submenu click on Query.
5.      On New Query box specify the name of the new saved query.
6.      Click on Define Query button and in the Find drop-down box click on Users Contacts and Groups.
7.      In Name field type the name of the user account that you want to search for and click on Ok button to create the query.
8.      Back on New Query box click on Ok button to start the real-time results.