There has been many instances where the Exchange Management console crashes when I used to work on Exchange Servers, particularly on Exchange Server 2010. Most of the time the issue gets resolved when you end the task from Task Manager and launch a new session.
However, in this particular Exchange Server I was working with, the MMC kept on crashing throwing exceptions. This post provides the steps to resolve a similar issue.
The Exception I kept on getting is shown below :
This issue can be resolved with the help of a small .bat script..
All you have to do is in a notepad copy the below script and save it in .bat format.
“C:\Program Files\Microsoft\Exchange Server\V14\Bin\Exchange Management Console.msc”
Execute the script and confirm the working of EMC.
Reference :- https://social.technet.microsoft.com/Forums/exchange/en-US/02881780-9982-4a5a-a7fd-1cf609913779/exchange-2010-installing-emc-sp2-on-windows-8?forum=exchangesvrdeploylegacy
Recently, I faced an issue logging in to OWA on our client’s Exchange 2010 server. The error reported was as follows :
Outlook Web App didn’t initialize. If the problem continues, please contact your helpdesk.
Couldn’t find a base theme (folder name=base)
Initial troubleshooting steps were taken, like restarting the Microsoft Exchange Form Based Authentication service, re-creating OWA virtual directories etc..
Upon further researching on the issue, I found a similar post online where the OWA crashed after installing the Exchange updates..
So, in order to resolve the issue all you need to do is launch Exchange Management Shell, navigate to the location C:\Program Files\Microsoft\Exchange Server\V14\Bin and then execute the power shell script UpdateCas.ps1.
This script will find your OWA/ECP virtual directories, update them and make some modifications to metabase etc.. Once completed, you will be able to access your OWA/ECP like before.. 🙂
Reference :- https://social.technet.microsoft.com/Forums/exchange/en-US/dd91598d-3af9-4a98-8493-34726c763c62/owa-failed-to-initialize-after-install-of-rollup-1-for-exchage-sp1?forum=exchange2010
Volume Shadow Copy :-
VSS or Volume Shadow Copy is a service that creates snapshots or point in time copy [shadow copies] of disk volumes. This service was introduced in Windows Server 2003.
Components of VSS :->
- VSS Writer : Each VSS-aware application installs its own VSS writer to a computer during the initial installation.
- VSS Requestor : Software that commands the creation of Shadow Copies. It is actually the backup application itself.
- VSS Provider : It takes care of keeping the shadow copies after that consistent point-in-time
How to delete shadow copies ?
vssadmin delete shadows /for=<ForVolumeSpec> [/oldest | /all | /shadow=<ShadowID>] [/quiet]
To get the shadowID, use the command : vssadmin list shadows
- /for=<ForVolumeSpec> – Specifies the volume for which the shadow copies needs to be deleted
- /oldest – Deletes only the oldest shadow copy
- /all – Deletes all the shadow copies of the specified volume
- /shadow=<ShadowID> – Deletes the shadow copy specified by the ShadowID
- /quiet – command will not display any messages
How to troubleshoot VSS errors ?
In CMD, execute the command vssadmin list writers. In the result, check whether any errors are reported for the writers. Also, check the result for vssadmin list providers and troubleshoot if any errors are reported.
When trying to create an Exchange mailbox for a an existing Active Directory account, you may not be able to locate the AD account on the Exchange Server. However, when you check for the AD account in Active Directory Users and Computers snap-in, you will be able to locate the same user account.
You might wonder whats wrong at this point ?? The issue is because your AD account is corrupted and you might have to remove the Exchange attributes associated with the corresponding AD account to resolve the issue. Rather than wasting your time searching for the attributes and removing them we can use a script to quickly remove the same:
The below steps can help you resolve the issues :-
- Download the script RemoveExchangeattributes.zip from here – https://app.box.com/s/pbaeqydhpakkfk52gkq9
- Place the script in the C: drive of your Exchange Server.
- Now execute the script as shown below. Keep note of your AD account alias as it will be asked in order to proceed
- All the mailbox settings of the user will be removed after performing the above steps
- For those of you who needs to understand whats happening in the background – the following attributes are set to “null” when the above script is executed :
Blog reference : http://gallery.technet.microsoft.com/office/Remove-Exchange-Attributes-3b39b2de