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

Monday, August 29, 2011

How to find if office 2010 / 2007 is 64 or 32bit

When writing scripts sometimes we may need to identify the installed MS office version. Since the program and features in control panel doesn’t show the installed version (32/64bit) of MS office 2010 / 2007 we need to use registry to identify the bit version of MS Office 2010 / 2007. Here I show you how you can check this using registry editor…

Thursday, August 25, 2011

Script to clean the hosts file in windows

 Many of us are cleaning the hosts files in several occasion Eg: Virus cleaning. It's just a mater of cleaning the content of the file or deleting the existing hosts file and creating a new one, but in some cases it's hard to guide the users to do this. Most of the help desk people might experienced this :)