Hi Soporte_OP,
in your case, here are some steps you can try:
- Check the Windows Update history to see if any updates related to IIS were installed recently. If so, try uninstalling those updates and then attempt to remove the IIS role again.
- Try removing the IIS role using PowerShell instead of the Server Manager GUI. Open PowerShell as an administrator and run the following command: Uninstall-WindowsFeature -Name Web-Server -Restart
This will uninstall the IIS role and automatically restart the server.
- If the above steps don't work, you can try manually removing the IIS role by deleting the following folders:
C:\Windows\System32\inetsrv
C:\inetpub
However, please note that this is not a recommended method and may cause issues with other applications that rely on IIS.
Hope it helps.
Best regards,
Lei