If you cannot install optional update features in Windows 11, run the system file checker and make sure Windows is updated to the latest version available. However, if that doesn't help, install the feature using Windows Terminal.