Tuesday, January 27, 2009

Oh My God! I Forgot My Ubuntu Password

What do I do now? Follow this procedure:
  1. Reboot the system, when the grub loader screen appears, press [esc].
  2. This brings up the boot selection screen, highlight the version you wish to load.
  3. Press e to edit the loader.
  4. Locate the line that begins with Kernel..... At the end of this line enter the following string
    rw init=/bin/bash
  5. press enter to exit the edit mode. Then strike b to boot that version
  6. The system will then boot into the root shell
  7. Enter passwd you will be prompted for a username, enter the username as desired.
  8. Restart the system. On restart the system will return to the graphic interface. Enter the new password for your username to logon.

Tuesday, January 20, 2009

Outlook 2003 and 2007 PST File Size Limits

Outlook 2003 and Outlook 2007 have a maximum PST and OST size limit of 20GB. These values are configurable downward via the following registry values per user (HKEY_CURRENT_USER)

Set the Maximum File Size
Name: MaxLargeFileSize
Type: REG_DWORD
Range: 0x00000001 – 0x00005000
Default: 0x00005000 20,480 (20 GB)

Set a Warning When Approaching the Maximum Size
Name: WarnLargeFileSize
Type: REG_DWORD
Range: 0x00000000 – 0x00005000
Default: 0x00004C00 19,456 (19 GB)

Maximum Size PST can grow after limit is reached
Name: MaxFileSize
Type: REG_DWORD
Range: 0x001F4400 – 0x7C004400
Default: 0x7BB04400 2,075,149,312 (1.933 GB)

Maximum Size for Warning beyond limit
Name: WarnFileSize
Type: REG_DWORD
Range: 0x00042400 – 0x7C004400
Default: 0x74404400 1,950,368,768 (1.816 GB)

This information taken directly from Microsoft KB Article KB832925

Exchange 2007 Mailbox Export Headaches

Once again, the Microsoft Exchange Server 2007 development team suffers from cranal rectal inversion! Included in the Exchange 2007 management shell are the utilities needed to export data from a mailbox to a pst file. However, in their infinite wisdom, this cmdlet cannot be launched from the Exchange 2007 server because it won't run in a 64bit environment. So you must set up the management tools on a member workstation running a 32bit operating system.

Exchange 2007 is not supported running on a 32bit OS, but this is OK as we are only going to install the management tools.

Pre-requisites:
.NET Framework 2.0 SP1
MMC 3.0
Windows Powershell 1.0
Outlook (2003SP2 minimum)

Once the prerequisites are installed, then run the Exchange 2007 install and install only the tools. Alternatively, you can acquire the Exchange 2007 32bit management tools from Microsoft


On completion, and assuming your account has administrative permissions into exchange you can execute the following cmdlet from within powershell.

Export-Mailbox -Id "alias or email address" -PSTFolderPath "path to PST folder"

Alter SQL Server Database Name after imaging

If you image a system running SQL Server 2005. The hostname listed in the sys.servers view will contain the old server name. This can be altered to the new server name by executing

sp_dropserver

then add the new server name by executing

sp_addserver , local

If this is not done then features such as replication and logshipping will have issues.

Monday, January 5, 2009

Exchange 2007 Default Mailbox Freature Setting

Exchange 2007 does not allow a default per-user setting of disabled for OWA or ActiveSync. This can be turned off globally for the entire server. However, if it is enabled then by default all users have this feature enabled. Per user this can be turned off via a Exchange shell script:

Set-CASMailbox -Identity emailaddress -OWAEnabled $false -ActiveSyncEnabled $false