Pages

Monday, December 01, 2008

Increase Exchange 2003 Storage Limits With ADSI

Exchange 2003 has a storage limites of 2GB or 2097151 KB by default. To get around this use Active Directory Services Interface (ADSI Edit) tool. ADSI Edit (adsidedit) is one of Windows Server 2003's support tools. Install the whole support tools package from the Server CD: \support\tools\supptools.msi. Once the two programs files adsiedit.dll and adsiedit.msc are installed, you also get a shortcut on the Start, Programs menu or you can use adsiedit.msc from the Run line.

Note if you copy adsiedit.dll manually then you need to paste into the 'path' for example C: \windows\adsiedit.dll. Then you need to register the dll with:
regsvr32 adsiedit. (If you install from supptools.msi there is no need for this extra step).

The following table displays the equivalent Active Directory attributes for the storage limit properties that are available in the Active Directory Users and Computers snap-in interface or in the Exchange System Manager interface.













Storage limit properties available in the GUIEquivalent attributes
Issue warning at (KB)mDBStorageQuota
Prohibit send at (KB)mDBOverQuotaLimit
Prohibit send and receive at (KB)td> mDBOverHardQuotaLimit


Modify the storage limits for a user's mailbox

To use the ADSI Edit tool to modify the storage limit values for a user's mailbox, follow these steps.

Note The following steps modify the limits for a user who is named User1.
  1. On a server that has the Windows Support Tools installed, open a command prompt.
  2. Move to the Drive_Letter:\Program Files\Support Tools folder.
  3. Type adsiedit.msc, and then press ENTER.
  4. On the Action menu, click Connect to.
  5. In the Connection Settings dialog box, type the name that you want to use for this connection in the Name box.
  6. In the Connection Point area, click Select a well known Naming Context, and then click Domain in the list.
  7. In the Computer area, click Select or type a domain or Server, and then type the FQDN of the server in the box. Alternatively, you can click Default (Domain or Server that you logged in to), if applicable.
  8. Click OK.
  9. Locate the CN=User1 object in the following path:
    Domain [Server_Name.Domain_Name]\DC=Domain_Name,DC=Root_Domain\CN=Users\
  10. Right-click CN=User1, and then click Properties.
  11. Click to select the Show optional attributes check box.
  12. In the Attributes list, double-click mDBOverHardQuotaLimit.
  13. In the Value box, type the value of the limit in kilobytes that you want to set, and then click OK. For example, to set a limit of 3 GB, type 3145728, and then click OK.
  14. Repeat steps 12 and 13 for any other attributes that are listed in the table in the "Active Directory attributes" section.
  15. Click OK to close the properties sheet for the User1 object.
  16. On the File menu, click Exit.

Modify the storage limits for a mailbox store
  1. On a server that has the Windows Support Tools installed, open a command prompt.
  2. Move to the Drive_Letter:\Program Files\Support Tools folder.
  3. Type adsiedit.msc, and then press ENTER.
  4. On the Action menu, click Connect to.
  5. In the Connection Settings dialog box, type any name that you want to use for this connection in the Name box.
  6. In the Connection Point area, click Select a well known Naming Context, and then click Domain in the list.
  7. In the Computer area, click Select or type a domain or Server, and then type the FQDN of the server in the box. Alternatively, you can click Default (Domain or Server that you logged in to), if applicable.
  8. Click OK.
  9. Click the CN=First Storage Group object in the following path:
    Configuration [Server_Name.Domain_Name]\DC=Configuration,Domain_Name,DC=Root_Domain\CN=Services\CN=Microsoft Exchange\CN=First Organization\CN=Administrative Groups\CN=First Administrative Group\CN=Servers\CN=Server_Name\CN=Information Store\
  10. Right-click CN=Mailbox Store (Server_Name), and then click Properties.
  11. Click to select the Show optional attributes check box.
  12. In the Attributes list, double-click mDBOverHardQuotaLimit.
  13. In the Value box, type the value of the limit in kilobytes that you want to set, and then click OK. For example, to set a limit of 3 GB, type 3145728, and then click OK.
  14. Repeat steps 12 and 13 for any of the other attributes that are listed in the table in the "Active Directory attributes" section.
  15. Click OK to close the properties sheet for the "Mailbox Store (Server_Name)" object.
  16. On the File menu, click Exit.



Taken from http://support.microsoft.com/kb/930366 and http://www.computerperformance.co.uk/w2k3/utilities/adsi_edit.htm

No comments: