转载:http://stackoverflow.com/questions/17301640/access-to-the-registry-key-global-is-denied-when-accessing-performance-count