Tuesday, November 8, 2011

AutoDiscover fails for all users with error code 0x80072F0C

If the AutoDiscover service not working properly users may experience problems when setting Out of Office replies, sharing calendars, viewing Free/Busy information in outlook client.

This happens if the client certificate option selected in IIS for AutoDiscover virtual directory.

Although client certificates and SSL server certificates both use certificates, they are not directly related to each other.

Sunday, November 6, 2011

How to export user attributes to a file in active directory

To export user attributes to a file in AD we need dsquery.exe & dsget.exe

dsquery.exe command to pipe the results to a dsget.exe command.

dsquery.exe returns objects based on defined search criteria such as an OU, a domain, common name containing... , etc.

dsget.exe in turn takes the objects and reports on attributes within the object. Email address being one of the many attributes defined for user objects in a standard AD schema.

Saturday, November 5, 2011

Parameters for the dsquery user command


Parameters
{StartNode | forestroot | domainroot}

Specifies the node where the search will start. You can specify the forest root (forestroot), domain root (domainroot), or a node’s distinguished name (StartNode). If forestroot is specified, the search is done using the global catalog. The default value is domainroot.

Friday, November 4, 2011

List of objects dsget can extract attributes from


List of objects dsget can extract attributes from

DSGET COMPUTER
DSGET CONTACT
DSGET SUBNET
DSGET GROUP
DSGET OU
DSGET SERVER
DSGET SITE
DSGET USER
DSGET QUOTA
DSGET PARTITION