Saturday, 30 March 2013

Exporting a Mailbox to PST on Exchange x64

Strangely, you cannot run the Export-Mailbox command on a 64-bit version of Exchange Server 2007 in order to export a mailbox to a PST file.

Instead you need to
  • create a 32-bit VM (say Windows XP 32 bit)
  • Join that machine to your domain
  • install Outlook (32-bit) onto it
  • Install IIS Common Files from Add Or Remove Windows Components
  • download and install the Exchange Management Tools for 32-bit
  • Login as Domain Admin
then run the Export-Mailbox command from the Exchange Management Shell.

export-mailbox -identity <user> -PSTFolderPath c:\backup\<filename>.pst

This then fails with

Are you sure you want to perform this action?
Exporting mailbox content from the mailbox '<User>' into .pst file
<filename>.pst'. This operation may take a long time to complete.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
(default is "Y"):a

Export-Mailbox : Error was found for <User> because: Error occurred in the step: Moving messages. Failed to copy messages to the destination mailbox store with error:
MAPI or an unspecified service provider.
ID no: 00000000-0000-00000000, error code: -1056749164
At line:1 char:15
+ export-mailbox <<<<  -identity <User> -PSTFolderPath <Path>
    + CategoryInfo          : InvalidOperation: (0:Int32) [Export-Mailbox], Re
   cipientTaskException
    + FullyQualifiedErrorId : 2742F138,Microsoft.Exchange.Management.Recipient
   Tasks.ExportMailbox

This is because the running user does not have permission to access the mailbox.

Run

Get-Mailbox | Add-MailboxPermission -User "<YourUserName>" -AccessRights FullAccess
and repeat

export-mailbox -identity <user> -PSTFolderPath c:\backup\<filename>.pst

Friday, 29 March 2013

Removing iLivid rubbish

http://www.ghacks.net/2012/11/17/how-to-remove-httpwww-searchnu-com406-from-your-browser/

Why Norton Internet Security is a waste of space - ILivid

So my son installed iLivid accidentally whilst trying to install a Minecraft mod. He got directed to one of those dodgy File hosters where they hide the actual download link and put a flashing "Download Now" button in front of it.

iLivid creates services, puts exceptions in the Windows Firewall, changes the browser home page, installs a browser toolbar, creates hidden files and sprinkles itself all over the Windows Registry.

Everything it needs to update itself, or download trojans or viruses at a later date.

And guess what. Norton allows this! Furthermore, if you click on the Windows Search Results folder (where it hides itself) and do a full scan on that, Norton still says its OK!

Apparently Norton excuses itself with the excuse that it is not a direct virus, just a Potentially Unwanted Program (PUP). So let's be clear about this; Norton DOES NOT PROTECT your PC against bad behaviour, keyloggers, malware etc. it will only protect you against viruses that have made their way onto your PC.

And viruses now are a bit old school, it's keyloggers and trojans you have to worry about. Consider alternative products. I am now looking. And installing a proxy and preventing my sons from downloading.