To fix the corruption, and allow StoreFront to be installed correctly, rebuild the Performance Counters counters using the following steps on the virtual machine that was exhibiting the problem:

1. Restore the affected virtual machine from a Snapshot or template.

2. Rebuild Performance Counters, together with extensible and third-party counters, type the following commands at an Administrative command prompt. Press ENTER after each command.

cd c:windowssystem32
lodctr /R
cd c:windowssysWOW64
lodctr /R

3. Stop and restart the Performance Logs and Alerts service. 

4. Stop and restart the Windows Management Instrumentation service.

Open on