Re: Perflib bug!



Per,

Unless the key is locked by another component (maybe the case if performance counters are on) you can log in as Local System account
and run regedit there either in automatic mode or manually with GUI to delete the key (use "at /interactive" command).

--
=========
Regards,
KM

Hi Andy,

Thanks but this does not help since we need to supply a patch to fix this
issue for products that has already been shipped to customers.
Is there ANY way to delete this key programmatically? Which application is
using this key and therefore preventing it to be deleted while the system is
running?



"Andy Allred [MS]" wrote:

To delete it post FBA, you may need to boot to an offline OS, like WinPE
or something else, then load the hive offline to edit it. Please let us
know if this helps or not.

----
Andy

Check out the Embedded team blog: http://blogs.msdn.com/embedded/
This posting is provided "AS IS" with no warranties, and confers no rights.



Per Dunberg wrote:
How can I fix the .NET Framework performance counter problems on already
deployed systems?

More information,
http://blogs.msdn.com/astebner/archive/2004/08/13/214220.aspx

It is NOT possible to delete the registry key
(HKLM\Software\Microsoft\Windows NT\CurrentVersion\Perflib\009\) while the
system is running. It fails with an error message "Cannot delete 009: Error
while deleting key."




.



Relevant Pages

  • Re: PerfNet Error in Event Viewer
    ... This stopped the error message appearing ... but I still did not have a server service in Services ... Sharing for Microsoft Networks installed. ... service and I have since re-enabled the performance counters without any ...
    (microsoft.public.windowsxp.general)
  • RE: MSSQL$Sharepoint service will not start!
    ... Select 'Log on as Local System account' option. ... What issue happened in Exchange server? ... Can you give me the error log when access Sharepoint sites? ... we got an error message that a service had ...
    (microsoft.public.windows.server.sbs)
  • Re: redit is not a valid win32application?
    ... Then restart into safe mode and run a full system scan with your preferred ... antivirus software. ... If I attempt to run regedit. ... will not run - and creates the error message: ...
    (microsoft.public.windowsxp.general)
  • Re: Restrictions in effect
    ... If you are unfamiliar with Regedit, then ensure you know how to ... Alan Edwards, MS MVP W95/98 Systems ... I get an error message that "Restrictions are ...
    (microsoft.public.windows.inetexplorer.ie6.setup)
  • Re: This operation has been cancelled... restrictions in effect
    ... If you are unfamiliar with Regedit, then ensure you know how to ... since some time ago I get this error message when I try to click on ... >tools-> internet options. ...
    (microsoft.public.windowsxp.general)