Blog

Archive for August, 2016

Exchange 2010 The mailbox dumpster size exceeds the target quota

Moving some customers mail boxes around i kept getting a error about dumpster size exceeding the target quota.I couldn’t find much info on it. But this seems to fix it.
1.) Give your account rights to open the mailbox.
2.) Go to control panel > mail > profiles > ask for a profile each time outlook opens
3.) Open Outlook > New profile > input appropriate info for mailbox and users alias > UNCHECK “cached exchange mode” > open the users mailbox once w/ Outlook, then close Outlook.
4.) Open MFCMapi (if Outlook is x64, then use x64 of MFCMapi)
5.) ok > Session > Logon and display store table
6.) Select the profile for the user you added.
7.) Double click “mailbox – user”
8.) Expand “Root Container” > right click on “Recoverable Items” and select > open contents table
9.) Give it a min to enumerate all items
10.) Select any unwanted items and right click “delete message”
11.) You can also expand recoverable items and then highlight purge or deletions and open the contents table for those as well.
12.) Then close windows until you get the original one and logoff.
Be careful with MFCMapi as it can cause serious damage to a mailbox.
Source https://social.technet.microsoft.com/Forums/exchange/en-US/0afd1d0e-7fe1-461f-a6f2-40908554852d/exchange-2010-purge-items-in-recover-deleted-items?forum=exchange2010

Posted in: Blog, Scripts

Leave a Comment (0) →

Windows 10 Bootrec – the requested system device cannot be found

After cloning a SSD for a customer it wouldn’t boot after running the normal

Bootrec /fixmbr
Bootrec /fixboot
Bootrec /scanos
Bootrec /rebuildbcd
But the Bootrec /rebuildbcd wouldn’t work with a error  “The requested system device cannot be found”

after spending time looking in to this issue i found a  forum post that fixed it right up.

Firstly, boot from a UEFI Windows 8/10 recovery disk (CD/DVD/USB) – I found that the automated recovery process didn’t find the correct Windows partition, nor when I managed to add it to BCD settings would it make it reliably bootable e.g. using BCDEDIT I got it to find and launch the Windows partition but it refused to cold boot or would not “keep” the settings after a 2nd reboot or power off.

Go into the Advanced options and run the Command Prompt.

Enter diskpart to use the DiskPart tool to ensure you have all the right partitions and to identify your EFI partition – the key thing here is that your EFI partition is formatted as FAT32:

DISKPART> sel disk 0

Disk 0 is now the selected disk.

DISKPART> list vol

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     E                       DVD-ROM         0 B  No Media
  Volume 1     C                NTFS   Partition    195 GB  Healthy    Boot
  Volume 2         WINRE        NTFS   Partition    400 MB  Healthy    Hidden
  Volume 3                      FAT32  Partition    260 MB  Healthy    System

Then assign a drive letter to the EFI partition:

DISKPART> sel vol 3

Volume 3 is the selected volume.

DISKPART> assign letter=b:

DiskPart successfully assigned the drive letter or mount point.

Exit DiskPart tool by entering exit and at the command prompt run the following:

cd /d b:\EFI\Microsoft\Boot\

bootrec /fixboot

Delete or rename the BCD file:

ren BCD BCD.bak

Use bcdboot.exe to recreate BCD store:

bcdboot c:\Windows /l en-gb /s b: /f ALL

The /f ALL parameter updates the BIOS settings including UEFI firmware/NVRAM, /l en-gb is to localise for UK/GB locale. The localisation defaults to US English, or use en-US.

Reboot and cross your fingers.

Source http://superuser.com/questions/460762/how-can-i-repair-the-windows-8-efi-bootloader

 

Posted in: Blog, Scripts

Leave a Comment (197) →

Clear Mailcleaner Incomming Que

If you need to clean out the incoming que from the mail cleaner que try the command below in the SSH.

 

If you want to test first run

/opt/exim4/bin/exiqgrep -C /usr/mailcleaner/etc/exim/exim_stage1.conf domain.tld

If that shows the emails that you want to remove try

/opt/exim4/bin/exiqgrep -C /usr/mailcleaner/etc/exim/exim_stage1.conf -i domain.tld | xargs /opt/exim4/bin/exim -C /usr/mailcleaner/etc/exim/exim_stage1.conf -Mrm

Posted in: Blog

Leave a Comment (0) →