Deleting Windows performance counter categories

后端 未结 4 1520
花落未央
花落未央 2021-01-31 18:44

I have a custom performance counter category. Visual Studio Server Explorer refuses to delete it, claiming it is \'not registered or a system category\'. Short of doing it progr

4条回答
  •  孤街浪徒
    2021-01-31 18:56

    I know this question if old but I found a way to do this non-programatically: http://msdn.microsoft.com/en-us/library/windows/desktop/aa372130%28v=vs.85%29.aspx

    Use unlodctr from command prompt, you might also need to use lodctr /q to query your category.

    Or do it the hard way by modifying the registry key (don't delete it): HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009 http://msdn.microsoft.com/en-us/library/windows/desktop/aa373172%28v=vs.85%29.aspx

提交回复
热议问题