Thursday 19 October 2023

How to change Microsoft Exchange services startup type to automatic and start the services

 Issue:

There are some security patches of Microsoft exchange server which change the startup type of exchange services to disable from automatic, Due to which these services would not auto start after deploying the patches.  changing the startup type of these services may be time consuming and the better option would be to use the following command in exchange PowerShell. 



Get-Service | Where-Object { $_.DisplayName -like "Microsoft Exchange *" } | Set-Service -StartupType Automatic

Get-Service | Where-Object { $_.DisplayName -eq "IIS Admin Service" } | Set-Service -StartupType Automatic

Get-Service | Where-Object { $_.DisplayName -eq "Microsoft Filtering Management Service" } | Set-Service -StartupType Automatic

Get-Service | Where-Object { $_.DisplayName -eq "World Wide Web Publishing Service" } | Set-Service -StartupType Automatic

Get-Service | Where-Object { $_.DisplayName -like "Microsoft Exchange *" } | Start-Service

Get-Service | Where-Object { $_.DisplayName –eq “IIS Admin Service” } | Start-Service

Friday 29 September 2023

Resolved: This computer is a member of a database availability group (DAG). It must be removed from the DAG before you can uninstall Exchange.

Issue detail:

Was trying to decommission Exchange 2019, but was getting the following error.


 "Error:

This computer is a member of a database availability group (DAG). It must be removed from the DAG before you can uninstall Exchange."


Resolution:

From role and feature, remove the failover cluster feature and reboot the system and then try again to start the uninstall from control panel/uninstall program.

the above error was no more.  

Friday 3 March 2023

Resolved: An unknown error has occurred in outlook. mail could not be sent. the message has been moved to your drafts folder.

Issue: an unknown error has occurred in outlook. mail could not be sent. the message has been moved to your drafts folder. 

Issue detail:

User A has full access on user B mailbox. have migrate User B mailbox to Exchange 2019 recently, but User A was still on Exchange 2013. After that the issue was started (User A was unable to send email from User B mailbox, of which he has the rights)

Before migration of user B mailbox, there was no issue, User A was able to send the emails from User B.

Solution:

Did two things to resolve this issue:

  1. migration User A as well to exchange 2019
  2. Assign the permission again on User B to user A.