Wednesday, April 29, 2009

Chinese Delivery Status Notifications In Outlook 2002

If you are running Outlook 2002 with Exchange 2007, you may receive Delivery Status Notification Messages that appear to be Chinese. They are not. Exchange 2007 sends HTML DSN's in a format that Outlook 2002 may not be able to display. To resolve, turn off HTML format of DSN messages. This is done with the command

Get-TransportServer|Set-TransportServer -InternalDSNSendHtml $False

Monday, April 27, 2009

DFS and BackupExec

When backing up files that are part of a DFS replication scheme, do not select the files directly. While the BEWS selection list shows the files, since DFS has control over the files they won't be backed up. Instead, at the bottom of the selection list choose the option called "Shadow Copy Components". Under this node a folder exists called "User Data" within this folder is where the files handled by DFS can be select. Backupexec will then snapshot data and backup the snapshot.

Friday, March 27, 2009

HyperV Client Access Via Remote Destop

In order to connect to a guest OS within Hyper-V through an RDP connection to the Hyper-V server, you must install Inegration Services on the Guest OS. Without this mouse functions cannot be captured. Furthermore if the Guest OS is Windows 2003, it must be running SP2 before the Integration Services can be installed.

Thursday, March 19, 2009

Exchange OWA Redirect

When setting up an exchange server and configuring OWA, you may want to create an AutoRedirect for your end users so that they do not have to type the complete URL. This is most simply accomplished by creating a default.htm file in c:\inetpub\wwwroot (or wherever the default web is loaded). In this file, place the following line of info (note to replace parenthasis with gt and lt symbols).

Exchange 2007
(script language="'JavaScript'")window.location='https:///owa';(/script)

Exchange 2000/2003
(script language="'JavaScript'")window.location='https:///exchange';(/script)"

This will allow redirection to the secured page for logon.

Wednesday, March 11, 2009

Speed Up Network Connections in Vista

With Windows Vista Microsoft has introduced new features to the TCP stack. In some situation, these features may adversly affect network performance. Therefore you may want to consider disabling them. These "features" are known as Receive Side Signaling (RSS), AutoTuning, and Chimney. To view the current setting for these features launch an elevated command prompt and type (note that all commands issues hereafter must be run from an elevated command prompt):

netsh interface tcp show global

To disable these, issue the following commands:

netsh interface tcp set global autotuning=disabled
netsh interface tcp set global chimney=disabled
netsh interface tcp set global rss=disabled


To re-enable the original settings, issue:

netsh interface tcp set global autotuning=normal
netsh interface tcp set global chimney=enabled
netsh interface tcp set global rss=enabled


Note that to re-enable autotuning set it to normal.

Saturday, February 28, 2009

Grant Full Permissions to All mailboxes in Exchange 2007

To grant full permissions to all user mailboxes in exchange, issue the following command from the exchange command shell

Get-MailboxDatabase -Server Add-ADPermission -User -ExtendedRights Receive-As

Once complete, restart the Exchange Information Store service for the settings to take effect.

Remove Disconnected Mailboxes In Exchange

Removing Disconnected mailboxes in exchange is now a multi-step process.  The first part is to get a listing of the disconnected mailboxes so that the GUID of it can be obtained.  Then, using this GUID and the name of the mailbox database, the second command is then executed to actually remove the mailbox

To list all disconnected mailboxes, issue the following  command into the command shell:

Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

Then to actually remove the mailb0x issue:

Remove-Mailbox -Database -StoreMailboxIdentity -confirm:$false

If you wish to remove all disconnected mailboxes at the same time, issue the following from the command shell to get a list of all users:

$users = Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

Next issue the following to remove all:

$users | ForEach { Remove-Mailbox -Database "Mailbox Database" -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }