Monday, April 9, 2012

Add or Remove other file shares to SBS 2011 Remote Web Access

The new Microsoft Small Business Server 2011 (SBS 2011) has a great “Shared Folders in Remote Web Access (RWA)” feature. Unfortunately this feature shows only the folders shared on the same SBS server.

What if you want to add shared folders on other servers / NAS drives to Remote Web Access (RWA)?

What if you want to hide certain shared folders on Remote Web Access (RWA)?

Friday, January 13, 2012

How to recover a lost WordPress admin password

Recently I lost one of my WordPress site's admin password which i don't have access to the email associated with the account. After scratching my head for few mins, I found a way to reset the admin password of WordPress 3.3.1

So I thought sharing it will save some of your valuable time. So let's start.

Note: you need to have access to the WordPress database in order to complete this successfully.

First thing "WordPress stopped using plan md5() hashing to store passwords! From WP 2.7 (correct me if I'm wrong :) ) they moved to Openwall's phpass to encrypt and validate passwords"

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…