Category Archives: Windows

Exchange 2010 – Recover deleted items from Dumpster

The user simona.x managed to permanently delete (hard delete) an entire folder from Outlook. Can we recover her e-mails ? Thanks to Microsoft Transport Dumpster, data is stored for 14 more days (or custom) in the dumpster, before being purged. … Continue reading

Posted in Exchange | Leave a comment

Cannot delete or cancel print job

1) Run services.msc and STOP the printer spooler. 2) Go to C:\Windows\System32\spool\PRINTERS and delete all files in this directory. 3) Start the printer spooler.      

Posted in Windows | Leave a comment

Exchange – configure automatic replies using Shell

Use a variable and html to format text: $OOF=“Hi,<br>I am away until 14th August.<br>In my absence please contact Sara Rundel ( M:07700 000 000) with any queries.<br><br>Kind regards,<br>John Smith” Set-MailboxAutoReplyConfiguration john.smith -AutoReplyState Scheduled -StartTime “07/27/2017” -EndTime “14/08/2017” -ExternalMessage $OOF -InternalMessage … Continue reading

Posted in Exchange | Leave a comment

Your mailbox appears to be unavailable. Try to access it again in 10 seconds. If you see this error again, contact your helpdesk.

If as a Domain Admin you cannot open someone else’s mailbox: Remove-MailboxPermission -Identity username -User “DOMAIN\Domain Admins” -AccessRights FullAccess -Deny Add-MailboxPermission -Identity username -User “DOMAIN\Domain Admins” -AccessRights FullAccess Access to all mailboxes: $gm = get-mailbox $gm | ForEach-Object { add-MailboxPermission … Continue reading

Posted in Exchange | Leave a comment

Stuck mail in Outbox – Powershall Exchange 2010

Check all mailboxes with “stuck” e-mails in Outbox: Get-Mailbox -OrganizationalUnit ‘ resources’ | Get-MailboxFolderStatistics -FolderScope Outbox | ft identity,name,itemsinfolder -AutoSize Script for getting all mailboxes with items more than 0 in Outbox: Get-Mailbox -resultsize unlimited| Get-MailboxFolderStatistics -FolderScope Outbox | where … Continue reading

Posted in Exchange | Leave a comment

There is a problem with the proxy server’s security certificate. The name on the security certificate is invalid or does not match the name of the target site Outlook is unable to connect to the proxy server (Error Code 0)

There are many possible causes for the Outlook Error 0 message. I’ve spent some time trying to figure out what’s causing this and also most of the solutions found on Internet didn’t help as they were suggesting server-side operations. As … Continue reading

Posted in Exchange, Windows | 4 Comments

Enable Remote Desktop Connection on Windows 7 Home Premium SP1

Download this file:  W7-SP1-RTM-RDP-v4 Right click on Install.cmd, then choose Run as administrator. There are some switches available: -? – Show this help help – Same as -? multi – Enable multiple sessions per user blank – Enable remote log … Continue reading

Posted in Windows | 23 Comments

Exchange – view the size of all Deleted Items folders

Get-Mailbox -ResultSize unlimited | Get-MailboxFolderStatistics | where{$_.FolderType -eq “DeletedItems”} | Select-Object Identity, {$_.FolderAndSubFolderSize.ToMb()}, ItemsInFolderAndSubFolders | sort Identity By default, the Sort-Object cmdlet performs an ascending sort  ( sort -desc for descending sort )  

Posted in Exchange | Leave a comment

Exchange – A few archiving commands

1. Which mailbox users have the personal archive enabled; Get-Mailbox | where {$_.ArchiveDatabase -ne $null} 2. List all archive enabled users along with their archive mailbox settings; Get-Mailbox | where {$_.ArchiveDatabase -ne $null} | ft name, archivedatabase, archivename, archivequota, archivewarningquota … Continue reading

Posted in Exchange | Leave a comment

Exchange DB whitespace & LastFullBackup

Get-MailboxDatabase -Status | Select-Object Server,Name,AvailableNewMailboxSpace Get-MailboxDatabase -Status | Sort -Property LastFullBackup |ft Identity,LastFullBackup

Posted in Exchange | Leave a comment