Monday, July 7, 2014
How to use DSQUERY to find computers in Active Directory ?
Dsquery is a command-line tool that is built into Windows Server 2008. It is available if you have the Active Directory Domain Services (AD DS) server role installed. To use dsquery, you must run the dsquery command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.
Here a few examples;
1. Find all computers:
dsquery * -Filter "(&(objectClass=computer)(operatingSystem=*))" -Attr name operatingSystem -limit 100000000
2. Find only Servers:
dsquery * -Filter "(&(objectClass=computer)(operatingSystem=Windows Server *))" -Attr name operatingSystem -limit 100000000
3. Find Windows Server 2012:
dsquery * -Filter...
Wednesday, July 2, 2014
Active Directory Replication Registry Entries
Notice: This article was not written by me, but is very useful. Source
The information here is provided as a reference for use in troubleshooting or verifying that the required settings are applied.
It is recommended that you do not directly edit the registry unless there is no other alternative. Modifications to the registry are not validated by the registry editor or by Windows before they are applied, and as a result, incorrect values can be stored. This can result in unrecoverable errors in the system. When possible, use Group Policy or other Windows tools, such as...
Monday, December 30, 2013
Microsoft Active Directory Topology Diagrammer
The Microsoft Active Directory Topology Diagrammer reads an Active Directory configuration using LDAP, and then automatically generates a Visio diagram of your Active Directory and /or your Exchange Server topology. The diagramms may include domains, sites, servers, organizational units, DFS-R, administrative groups, routing groups and connectors and can be changed manually in Visio if needed.
With the Active Directory Topology Diagrammer tool, you can read your Active Directory structure through LDAP. The Active Directory Topology Diagrammer tool automates Microft Office Visio to draw a diagram of the Active Directory Domain topology, your Active Directory Site topology,...