How to Resolve Error Code 0x800f0950: Windows Couldn't Install Roles and Features in Windows Server 2019
Here are several methods to address the error code 0x800f0950 when adding roles and features in Windows Server 2019:
- Update your server: Ensure your server has the latest updates and patches. Navigate to Settings > Update & Security > Windows Update and select Check for updates.
- Utilise the DISM tool: Launch Command Prompt as an administrator and execute this command: DISM /Online /Cleanup-Image /RestoreHealth. This command repairs corrupted system files potentially causing the error.
- Verify source files: Confirm that the source files for the roles and features are available and accessible. If installing from a network share, ensure the share is reachable and you possess the required permissions.
- Disable antivirus: Occasionally, antivirus software may disrupt the installation process. Temporarily disable your antivirus software and check if the installation completes.
- Use Server Manager: Instead of PowerShell or DISM, try using Server Manager to install roles and features. Open Server Manager, choose the server for the installation, and click Add roles and features. Follow the wizard to finish the installation.