What do to when SQL Server Management Studio installation fails the performance counter check

When you install SQL Server Management Studio, the setup sometimes fails the check “Performance counter registry hive consistency” In that case, just run the downloaded executable with the following parameters “/ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck”