Monday, July 22, 2013

Delete Outlook Profile from registry Windows 7

Delete Outlook Profile from registry

You may need a quick way to remove an Outlook 2007 or Outlook 2003 profile or two from a desktop computer running Windows XP or Windows Vista. Although you can access the email profiles through the Mail control panel application, another method to completely remove the profiles or in case for whatever reason the Mail control panel applet does startup or work properly (might hang at startup, prompt for a password, take long to timeout while loading bad information).
Windows stores the registry settings for Outlook profiles in the following location.
HKCU\Software\Microsoft\Windows NT\Current Version\Windows Messaging Subsystem\Profiles\{user id}


Monday, July 8, 2013

Windows 2008 Scheduled tasks result codes

                                         Task Scheduler Errors at Microsoft
  • 0 or 0x0: The operation completed successfully.
  • 1 or 0x1: Incorrect function called or unknown function called.
  • 2 or 0x2: File not found.
  • 10 or 0xa: The environment is incorrect.
  • 0x41300: Task is ready to run at its next scheduled time.
  • 0x41301: Task is currently running.
  • 0x41302: Task is disabled.
  • 0x41303: Task has not yet run.
  • 0x41304: There are no more runs scheduled for this task.
  • 0x41306: Task is terminated.
  • 0x8004130F: Credentials became corrupted (*)
  • 0x8004131F: An instance of this task is already running.
  • 0x800704DD: The service is not available (is 'Run only when an user is logged on' checked?)
  • 0xC000013A: The application terminated as a result of a CTRL+C.
  • 0xC06D007E: Unknown software exception.

Wednesday, July 3, 2013

Configuring Mailbox Quota Warning Messages to Messaging Administrators

http://ibenna.wordpress.com/2012/08/07/configuring-mailbox-quota-messages-to-messaging-administrators/

In Exchange, storage quotas allow messaging administrators to control the size of mailboxes and manage the growth of mailbox databases. As storage is cheap these days, many organizations decide not to put any limits on mailbox storage sizes. This can cause the mailbox database sizes to balloon to unmanageable sizes, thus causing long backup and restore times, sometimes failure of backups, long and unfinished online maintenance and takes ridiculous amounts of time to perform any offline maintenance.
It is highly recommended to place mailbox storage quotas on all new deployments of Exchange to avoid these issues. Quota limits can always be changed on individual mailboxes that may require additional storage sizes. The following limits can be placed on mailbox databases:
  • Issue warning at (KB)   Use to specify the maximum storage limit in kilobytes (KB) before a warning is issued to the mailbox user. The value range is from 0 through 2,147,483,647 KB. If the mailbox size reaches or exceeds the value specified, Exchange sends a warning message to the mailbox user
  • Prohibit send at (KB)   Use to specify a prohibit send limit in KB for the mailbox. The value range is from 0 through 2,147,483,647 KB. If the mailbox size reaches or exceeds the specified limit, Exchange prevents the mailbox user from sending new messages and displays a descriptive error message
  • Prohibit send and receive at (KB)   Use to specify a prohibit send and receive limit in KB for the mailbox. The value range is from 0 through 2,147,483,647 KB. If the mailbox size reaches or exceeds the specified limit, Exchange prevents the mailbox user from sending new messages and won’t deliver any new messages to the mailbox. Any messages sent to the mailbox are returned to the sender with a descriptive error message
It is usually the case that users will ignore such warning messages and will attempt to contact administrators when their mailboxes cannot send or receive emails anymore. To workaround this, monitoring applications can be used to monitor the sizes of the mailboxes and notification sent to administrators. For those organizations that do not have any monitoring applications, Exchange transport rules can be used.
quota message is an e-mail message that’s automatically sent by Microsoft Exchange to the owners of a mailbox when a size limit (called a storage quota) for the mailbox is exceeded. Quota messages are sent with high importance and aren’t subject to storage quotas. They’re always delivered, even if the recipient’s mailbox is full. The table below shows the mailbox quota messages sent by exchange
EventSubject Of MessageDefault Message Text
Mailbox of unlimited size exceeds its Issue warningquotaYour mailbox is becoming too largePlease reduce your mailbox size. Delete any items you don’t need from your mailbox and empty your Deleted Items folder.
Mailbox of limited size exceeds its Issue warningquota
Bb232173.important(en-us,EXCHG.141).gifImportant:
The message associated with the Issue warning quota won’t be sent to the user unless the value of the quota is greater than 50% of the value specified in the Prohibit send quota. For example, if you set the Prohibit sendquota to 8 MB, you must set the Issue warning quota to at least 4 MB. If you don’t, the Issue warning quota message won’t be sent.
Your mailbox is almost fullPlease reduce your mailbox size. Delete any items you don’t need from your mailbox and empty your Deleted Items folder.
Mailbox of limited size exceeds its Prohibit send quotaYour mailbox is fullYour mailbox can no longer send messages. Please reduce your mailbox size. Delete any items you don’t need from your mailbox and empty your Deleted Items folder.
Mailbox of limited size exceeds its Prohibit send and receive quotaYour mailbox is fullYour mailbox can no longer send or receive messages. Please reduce your mailbox size. Delete any items you don’t need from your mailbox and empty your Deleted Items folder.
For an administrator to receive the quota messages as well, create a transport rule using the following steps:
  1. Navigate to Organization Configuration > Hub Transport.  In the result pane, click theTransport Rules tab. In the action pane, click New Transport Rule
    Create New Transport Rule
  2. On the Introduction page, provide a meaningful name for the rule and enter a descriptive comment (highly recommended) for the rule so other administrators know the function of it. The Enable Rule checkbox is selected by default – do not change it
  3. On the Conditions page, complete the following fields. In the Step 1. Select condition(s) box select When the Subject field contains specific words.
  4. This selected conditions requires additional value so in the Step 2. Edit the rule description by clicking an underlined value box, click the blue underlined word.
  5. Enter your mailbox is as the words, click Add then OK to return to the wizard. ClickNext to continue
  6. On the Actions page, in the Step 1. Select actions box, select Blind carbon copy (Bcc) the message to addresses as the action to take.
  7. Click the blue underlined word and enter the address of the administrator (or the address of a distribution group containing multiple administrators). Once added click OK then. After you      configure all the actions, click Next
  8. On the Exceptions page, no changes were made so click Next to continue
  9. On the Create Rule page, review the Configuration Summary. If you’re satisfied with the configuration of the new rule, click New
  10. On the Completion page, review the following, and then click Finish to close the wizard:
    • A status of Completed indicates that the wizard completed the task successfully.
    • A status of Failed indicates that the task wasn’t completed. If the task fails, review the summary for an explanation and then click Back to make any configuration changes.