Hello
Based on your description, you can follow the steps below to troubleshoot:
Installing .NET Framework 4.8
Step 1: Run the System File Checker (SFC)
Open Command Prompt as an administrator:
• Press Windows + X and select Command Prompt (Admin).
Type the following command and press Enter:
sfc /scannow
Allow the scan to complete. This will check and repair any corrupted system files.
Step 2: Run the Deployment Imaging Service and Management Tool (DISM)
In the same Command Prompt window, type the following command and press Enter:
DISM.exe /Online /Cleanup-Image /RestoreHealth
This command will fix any corruption in the Windows image.
Step 3: Disable Security Software Temporarily
Temporarily disable any third-party antivirus or firewall software to ensure they are not interfering with the installation.
Step 4: Check for Windows Updates
Go to Settings > Update & Security > Windows Update.
Click on Check for updates and install any pending updates.
Step 5: Use the .NET Framework Repair Tool
Download the Microsoft .NET Framework Repair Tool.
Run the tool and follow the on-screen instructions to detect and fix issues.
Step 6: Install .NET Framework 4.8
Download the .NET Framework 4.8 offline installer from the official Microsoft site.
Run the installer and follow the prompts to complete the installation.
Server Manager Crashing When Adding Roles
Step 1: Check Event Logs
Open Event Viewer:
• Press Windows + X and select Event Viewer.
Navigate to Windows Logs > Application and Windows Logs > System.
Look for any error logs related to Server Manager and note down the details.
Step 2: Delete Server Component Cache
Open Command Prompt as an administrator:
• Press Windows + X and select Command Prompt (Admin).
Type the following command and press Enter:
reg delete "HKLM\SOFTWARE\Microsoft\ServerManager\ServicingStorage\ServerComponentCache" /f
Restart your server.
Step 3: Reboot the Server
Sometimes a simple restart can resolve issues. Restart your server and try adding the role again.
Step 4: Check for Pending Updates
Go to Settings > Update & Security > Windows Update.
Install any pending updates and restart the server if necessary.
Step 5: Disable Third-Party Software
Temporarily disable any third-party antivirus or firewall software that might be interfering with Server Manager.
Best regards
Yanhong
=====================================
If the answer is helpful, please click "Accept answer" and upvote it