Windows server 2003/2008 and Exchange 2007 – How to modify database size limit

Posted by Thomas | Posted in Exchange 2007, Powershell, Registry, Windows 2003, Windows 2008 | Posted on 23-06-2009

0

By default Exchange server 2007 Stardart database size limit is 50Gb.

Exchange server 2007 Enterprise edition has no limit for database size.

In this post we will see how to change size for the mailbox database named “FirstDB”.

We will work with Exchange 2007 Standart “TestExchange” running on Windows server 2003.

First we need to retrieve GUID ID for “FirstDB” database, which can be found in FirstSG storage group.

To do it open exchange powershell and type:

Get-MailboxDatabase -Identity “TestExchange\FirstSG\FirstDB” | Format-Table Name, GUID

When you have GUID for your database open registry editor and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\TestExchange\Private-<database GUID>

If you can see DWORD value Database size limit in GB open it ant type your new limit for database in GB.

If value cannot be located, create new DWORD value with “Database size limit in GB” name and set value in GB.

Windows server 2003 and Windows XP – How to reset scheduled check disk (CHKDSK)

Posted by aidas | Posted in Windows 2003, Windows XP | Posted on 23-06-2009

0

Two days ago i have encountered following situation.

I have scheduled check disk for C: drive via command line on my Windows server 2003 because it was spitting some strange errors in event log about inconsistency of logical drive.

To check C: drive i have opened command line and typed:

chkdsk C: /f /r

to check logical disk,  locate bad sectors and recover any readable information if needed

After this i was asked if i want to schedule this procedure run after next restart as it cant perform this on running system.

I confirmed that by typing Y.

One hour after i foung buggy software that was the source of errors in event log and CHKDSK i scheduled earlier bacame needless.

After some googling i have found the way you can reset scheduled CHKDSK task.

For that you must open registry by typing regedit in command line.

Navigate to: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager

Can you see BootExecute string in there. I bet you do!

Open it and clear all value data by leaving only autocheck autochk *

regedit chkdsk windows

Registry editor BootExecute string

And… press OK. After this registry editing your CHKDSK sheduled task will be canceled.

Thats it !