If you have been trying to load any roles or features onto your Server 2012 R2 Core using Powershell, then you may find that you are the victim of this error message everytime you try to run your command:
No matter was source you enter, it will not work. This frustrated us for days until we found a site with the solution…
Basically the problem is that when your Server 2012 R2 Core is updated through Windows Updates, your source media is then out of date. So, you have to update your source WIM with the Windows Updates that you have installed on your server. Feels like a massive step back and complete stupid to have to do such a thing, but trust us – it does work.
The website with all the information on it is here:
We would like to thank whoever came up with this solution as we were on the verge of doing a format c: !!!