Posts

Showing posts from 2016

Archiving Exchange 2010 PST

Exchange 2003 had a very useful utility called ExMerge that can be used to backup a Mailbox into a PST file. I like to use it to 'archive' the account before permanent closure (ie, after resignations). Unfortunately, this tool is no longer available on Exchange 2010. The good thing is, it's not difficult to do using the exchange console. Here's how. Open Exchange Management Console Enter the following: New-MailboxExportRequest -Mailbox "{mailbox name}" -FilePath "\\localhost\d$\archive\{mailbox name}.pst" Press enter The destination path has to be a valid UNC, so I used the d$ share to do this on my server.

Amazon: Delete bucket created by Elastic Beanstalk

I tested Beanstalk once and found it not suitable for my requirements, so I decided to terminate it right away. However, it had created an S3 bucket that persisted. I tried manually deleting the bucket but it gave me an 'Access Denied' error, which was odd because I had full permissions on it. After some research, I found this quick fix: On S3 console, select the bucket and go to its Properties Expand Permissions Click on Edit bucket policy  Scroll down to where it says: { "Sid": "eb-58950a8c-feb6-11e2-89e0-0800277d041b", "Effect": "Deny", "Principal": {                 "AWS": "*"             }, "Action": "s3:DeleteBucket", "Resource": "arn:aws:s3:::elasticbeanstalk-ap-southeast-1-662143823546" } Change the "Deny" value to "Allow". Save and that's it. You can now delete the bucket

Windows Update broke Windows Server Update Service

Sometime back in May 2016, I noticed that our Windows Server Update Service stopped working. Win 7 users are no longer getting updates. Windows 10 users are getting notifications to Get Updates but doing so will just lead to errors. Upon checking the WSUS server, I found that I can no longer open the WSUS console (MMC snap-in). After many hours checking on the internet, I finally found the solution. Aparently, it's one of the Updates that broke the system. The best solution I found was at http://byronwright.blogspot.com.au/2012/06/kb-2720211-kills-wsus.html . It wasn't really the article itself that helped me, but the comment July 11, 2012 at 8:02AM by Martjin His words: First I changed the HKEY_LOCAL_MACHINE\Software\Microsoft\Update Services\Server\Setup\wYukonInstalled to 0 Run the update and changed it back to 1. than: ◦Download and run WSUS-KB270211-x64.exe /extract to extract the files. ◦Use a program capable of extracting CAB files (7 zip) to open PCW_CAB_SUS an...

Steps to Introduce a New Host on a VMware infrastructure

This is the procedure I followed when replacing my old VM hosts with new server (different specs to new hosts) Remove all server from vCenter Vacate the VMs from one of the old servers Shutdown the server and remove from rack Remove the host from vCenter Install new server on Rack Connect only the power, video, and key/mouse cables Boot up new server Assign Management Interface Connect the Management interface ethernet cable to one of the ports Logon to ESX console, then press F2 to configure Replace the default blank password Go to Network Management Assign IP address Assign DNS server Assign the Network Interface (there should be only one connected at this point) If you would like multiple interfaces, connect them physically and assign one at a time Add host to vCenter then go to the host Click Configuration -> Time Configuration -> set the correct time and point to a valid NTP server Click Configuration ->  Software\AdvanceSettings  ...