(Solved) Installation of one or more roles or features failed. Error 0x800f0831

Windows Server makes it easier to extend the server capabilities by installing new roles and features. You can use Server Manager to install or uninstall new capabilities. Server Manager provides an easy-to-use wizard to guide you through the process. However, you may come across to this error code in some cases: 0x800f0831.