For some reason SharePoint 2013’s prerequisite msi cant find which server manager to use and fails installation of Prerequisite files.
So you need to go Windows/System32, find servermanager.exe ,duplicate it and then rename it to servermanagercmd.exe
After this,re-run prerequisite installer,it will work.
If it doesn’t,you haven’t enabled downloading setup files remotely in mmc(group policy editor) settings.
To do this;
1-You need to add “GP Editor” Snapin in MMC.
2-Go to Computer Configuration->Administrative Templates-> System
2-Update “Specify settings for optional…” policy as Enabled
3-Update “Contact Windows Update…” as selected