Showing posts with label windows 2012 server. Show all posts
Showing posts with label windows 2012 server. Show all posts

Tuesday, October 6, 2015

Unable to Add roles and features on Windows 2012 server ( Server manager is collecting inventory data. The wizard will be available after data collection finishes

Issue: after I build Windows 2012 server and delivered to Application team, application tried to add IIS role on windows 2012 server and suddenly noticed that they cannot add any roles due to when they click add roles and features button on server manager, it shown as below






and when I refereshed the manager, it shown below error refresh failed



quick Fix: 

open command prompt with admin rights and execute as below


cd C:\Windows\System32\wbem\AutoRecover

for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

 



once execute it, it would automatically recover all the mof file as below



that it, now you are free to do anything on server