Old thing I was working on over a year ago. Well, maybe it is useful to someone:
PS C:\Windows\system32> cmd
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
Error: Unable to rebuild performance counter setting from system backup store, error code is 2
Info: Successfully rebuilt performance counter setting from system backup store