Forum Discussion
Error unisntall exchange server
Hi teams,
i have an error when i rty to uninstall exchange server : in role CAS at 70%
Mailbox role: Client Access service FAILED:
the iis admin service not start , and i delete all folder (owa, mapi, ...) in http folder Configuration > CN=Configuration> CN=Services > CN=Microsoft Exchange > CN=EXOIP > CN=Administrative Groups > CN=Exchange Administrative Group (FYDIBOHF23SPDLT) > CN=Servers > CN=srv_name > CN=Protocols > CN=HTTP.
and i delete also the folder http from adsi edit,
i also repair all prerequis (iis rewrite, vs2012...)
any help
4 Replies
- Prepare for Clean Uninstall
- Backup all critical data
- Ensure no active mailboxes
- Verify no dependencies
- Use Exchange Uninstall Wizard with full cleanup option
Recommended Sequence:
- Stop all Exchange services
- Remove AD objects carefully
- Uninstall Exchange through Add/Remove Programs
- Clean up remaining files and registry entries
- Reboot server
- mohemedd93Copper Contributor
thank you,
now i have another problem when i try to install exchange in the same server after uninstall :
i remove the file in c:\programfile\....\exchangeserver :
also i find thes services exchange :
any help
Some steps you can try to resolve this issue:
- Check the IIS Admin Service: Ensure that the IIS Admin Service is running properly. You can try stopping and restarting the service using the PowerShell commands provided in the image.
- Clean up Exchange-related configurations: Remove any Exchange-specific IIS configurations, such as the WebDAVModule, using the provided PowerShell command.
- Verify Active Directory cleanup: Carefully remove any remaining Exchange-related objects from Active Directory using a tool like ADSI Edit.
- Repair Windows components: Reinstall the necessary Windows features, such as Web-Server, Web-Asp-Net45, and Web-Windows-Auth, to ensure the system is in a healthy state.
- Attempt a clean Exchange uninstallation: Before reinstalling Exchange, try to perform a clean uninstallation using the Exchange Uninstall Wizard, ensuring that you select the full cleanup option.
- Reboot the server: After completing the cleanup and uninstallation steps, reboot the server to ensure a fresh start.
IIS Admin Service Troubleshooting
# Stop and Restart IIS Services
net stop "World Wide Web Publishing Service"
net stop "IIS Admin Service"
net start "IIS Admin Service"
net start "World Wide Web Publishing Service"# Check Service Status
sc query "IIS Admin Service"Exchange Cleanup Steps
# Disable Exchange Services
net stop MSExchangeADTopology
net stop MSExchangeFrontEndTransportService# Remove Exchange Registry Entries
reg delete "HKLM\SOFTWARE\Microsoft\Exchange" /f# Clean Up Remaining Exchange Directories
Remove-Item "C:\Program Files\Microsoft\Exchange Server" -Recurse -ForceActive Directory Cleanup
# Remove Exchange Objects from Active Directory
# Use ADSI Edit or PowerShell Active Directory Module
# Carefully remove:
# - Exchange Administrative Groups
# - Exchange Servers
# - Exchange OrganizationPrerequisite Repair
# Reinstall Windows Features
Install-WindowsFeature Web-Asp-Net45
Install-WindowsFeature Web-Net-Ext45
Install-WindowsFeature Web-Windows-Auth# Reset IIS
%windir%\system32\inetsrv\appcmd uninstall module "WebDAVModule"