How to solve the error code 0x800f0950: Windows couldn't install roles and features in Windows Server 2019
There are several steps you can take to solve the error code 0x800f0950 when installing roles and features in Windows Server 2019:
- Check for updates: Make sure your server is up to date with the latest updates and patches. Go to Settings > Update & Security > Windows Update and click Check for updates.
- Use the DISM tool: Open Command Prompt as an administrator and run the following command: DISM /Online /Cleanup-Image /RestoreHealth. This will repair any corrupted system files that may be causing the error.
- Check the source files: Make sure the source files for the roles and features you are trying to install are available and accessible. If you are installing from a network share, make sure the share is accessible and you have the necessary permissions.
- Disable antivirus software: Sometimes antivirus software can interfere with the installation process. Try disabling your antivirus software temporarily and see if the installation completes successfully.
- Use the Server Manager: Instead of using PowerShell or DISM to install roles and features, try using the Server Manager. Open Server Manager, select the server you want to install the roles and features on, and click Add roles and features. Follow the wizard to complete the installation.