Forum Discussion
mohemedd93
Dec 06, 2024Copper Contributor
uninstall error exchange server CAS role:
hi teams ,
i have an error when i try to uninstall exchange server : in role CAS at 70% :
the iis admin service not started , 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
any help
IIS and Exchange Services Diagnostic
# Stop all related services
net stop "World Wide Web Publishing Service"
net stop "IIS Admin Service"
net stop MSExchangeADTopology
net stop MSExchangeTransportLogSearch
net stop MSExchangeFrontEndTransportService# Check service status
sc query "IIS Admin Service"Comprehensive Cleanup
# Remove Exchange-specific IIS configurations
%windir%\system32\inetsrv\appcmd delete module WebDAVModule# Clean up Exchange directories
Remove-Item "C:\Program Files\Microsoft\Exchange Server" -Recurse -Force# Remove Exchange Registry Entries
reg delete "HKLM\SOFTWARE\Microsoft\Exchange" /f- Active Directory Cleanup
- Use ADSI Edit to carefully remove:
- Exchange Administrative Groups
- Exchange Server objects
- Specific protocol configurations
- Prerequisites and System Repair
# Reinstall Windows Features
Install-WindowsFeature Web-Server
Install-WindowsFeature Web-Asp-Net45
Install-WindowsFeature Web-Windows-Auth# System File Check
sfc /scannowRecommended Troubleshooting Sequence:
- Stop all Exchange and IIS services
- Clean up AD objects meticulously
- Remove IIS and Exchange configurations
- Repair Windows components
- Attempt clean uninstallation
- Reboot server if needed
Additional Recommendations:
- Ensure no active mailboxes
- Verify no service dependencies
- Use Exchange Uninstall Wizard
- Backup critical data beforehand
- Consider Microsoft Support if issues persist
Key Checks:
- Verify IIS Admin Service can start
- Check for any lingering Exchange processes
- Confirm proper permissions
- kyazaferrSteel Contributor
IIS and Exchange Services Diagnostic
# Stop all related services
net stop "World Wide Web Publishing Service"
net stop "IIS Admin Service"
net stop MSExchangeADTopology
net stop MSExchangeTransportLogSearch
net stop MSExchangeFrontEndTransportService# Check service status
sc query "IIS Admin Service"Comprehensive Cleanup
# Remove Exchange-specific IIS configurations
%windir%\system32\inetsrv\appcmd delete module WebDAVModule# Clean up Exchange directories
Remove-Item "C:\Program Files\Microsoft\Exchange Server" -Recurse -Force# Remove Exchange Registry Entries
reg delete "HKLM\SOFTWARE\Microsoft\Exchange" /f- Active Directory Cleanup
- Use ADSI Edit to carefully remove:
- Exchange Administrative Groups
- Exchange Server objects
- Specific protocol configurations
- Prerequisites and System Repair
# Reinstall Windows Features
Install-WindowsFeature Web-Server
Install-WindowsFeature Web-Asp-Net45
Install-WindowsFeature Web-Windows-Auth# System File Check
sfc /scannowRecommended Troubleshooting Sequence:
- Stop all Exchange and IIS services
- Clean up AD objects meticulously
- Remove IIS and Exchange configurations
- Repair Windows components
- Attempt clean uninstallation
- Reboot server if needed
Additional Recommendations:
- Ensure no active mailboxes
- Verify no service dependencies
- Use Exchange Uninstall Wizard
- Backup critical data beforehand
- Consider Microsoft Support if issues persist
Key Checks:
- Verify IIS Admin Service can start
- Check for any lingering Exchange processes
- Confirm proper permissions