Monday, May 12, 2014

Exchange 2013 Move-Databasepath fails with Error: WMI exception occurred on server

Problem:
Move-Databasepath command is not working and showing the following error after 5 min


Resolution:
  • Perform a Full Backup of the Server which in effect will purge the logs.  This can be performed by using Windows Server Backup or another product.
  • Enable Circular Logging, dismount/remount the database, then Re-enable Circular Logging.
  • Manually delete the log files.  Do not perform this procedure without checking first that all log files have been played into the database, doing so could result in loss of data. 
Verify:

Run> Get-MailboxDatabase “DatabaseName” | FL Name,*Path*



Or you can login to Exchange Admin Center





References:
http://clintboessen.blogspot.ae/2012/10/error-wmi-exception-occurred-on-server.html
http://clintboessen.blogspot.com.au/2010/09/flush-transaction-logs-in-exchange.html
http://tmitegypt.wordpress.com/2013/05/05/move-database-path-error-wmi-exception-occurred-on-server-quota-violation/
http://careexchange.in/how-to-move-database-path-and-log-folder-path-in-exchange-2013/