Friday, December 14, 2012

Kaspersky Administration Kit "MMC cannot open the file C:\Program Files\Kaspersky\..."

When I try to launch the Kaspersky Administration Kit interface, I get an error message starting that:

MMC cannot open the file C:\Program Files\Kaspersky Lab\Kaspersky Administration Kit\CS Admin kit.msc

This may be because the file does not exist, is not an MMC console, or was created by a later version of MMC. This may also be because you do not have sufficient access rights to the file".

  • Locate the file "CS Admin Kit", and Delete it.
"CS Admin Kit" is located in:

 For Windows XP open: C:\Documents and Settings\AdminUser\Application Data\Microsoft\MMC\CS Admin Kit.

For Windows 7 and Server 2008 open: C:\Users\AdminUser\Application Data\Microsoft\MMC\Cs Admin Kit.

Note: Remplace the "AdminUser" with the user name you are using.

Now you are ready to open Kaspersky Administration Kit; enjoy it :)

Wednesday, December 5, 2012

Full Mailbox Access Permission Exchange Server 2010

When an Assistant Administrator or Department Supervisor need full access to a mailbox other than  their own for X reasons. You can do this quickly and easy using the Exchange Management Shell.

In the scripts below you can see the permissions assigned to different users in your organization and how you can assign a user Full Mailbox Access. Only remember to replace the blue text with the appropriate information of your organization.

To start, going to open the Exchange Management Shell
  1. Click Start < All programs < Microsoft Exchange Server 2010.
  2. Right click on "Exchange Management Shell", then click on "Run as administrator
  • To view permission on a Mailbox use the below command:
Get-MailboxPermission "User Name"

  • To assign Full Mailbox Access permission from one "User Mailbox" to another "User Mailbox" use the below command:
Add-MailboxPermission "User Name" -AccessRights FullAccess -user "Another User Name"

  • To assign Full Mailbox Access permission to grant a specific user full access to everybody on a specific Exchange Server use the below command:
Get-Mailbox -Server "Server Name" -ResultSize unlimited | Add-MailboxPermission -User "User Name" -AccessRight FullAccess -Inheritancetype all

  • To remove Full Mailbox Access permission on a specific Exchange Server use the below command:
Get-Mailbox -Server "Server Name" -ResultSize unlimited | Remove-MailboxPermission -User "User Name" -AccessRight FullAccess -Inheritancetype all

Congratulation!!! Now you know how you can assign Full Mailbox Access quickly in Exchange Server 2010. :)

Tuesday, December 4, 2012

Delete Emails in Specific Mailbox or in Multiple Mailboxes from Exchange Server 2010

In order to find and delete a certain email from one mailbox or from multiple mailboxes you can perform the following steps
  • Click Start < All Programs < Microsoft Exchange Server 2010.
  • Right click on "Exchange Management Console", then click on "Run as administrator".
Now you opened Microsoft Exchange Management Console as administrator.  Type the command below and change blue text according to appropiate.

*   If you need remove a specific message from a mailbox: 

Search-Mailbox -Identity "User Name" -SearchQuery subject:"Email Subject" -DeleteContent
*   If you need remove a specific message from all mailboxes:

Get-Mailbox –Server “servername” –ResultSize unlimited | Search-Mailbox -SearchQuery subject:"Email Subject" –DeleteContent

If you receive the error “Search-Mailbox” Is Not Recognized as the Name of a cmdlet..., don't worry!!! This error will be generated if the snap-in has not been registered, for fix this error type the next command.
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
Now you can trying again. :)