Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Registry problem

Reply
Thread Tools Display Modes

Registry problem

 
 
Ed
Guest
Posts: n/a

 
      09-01-2009
Our software modifies HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Perflib\009\Counter and help to add performance
monitor counters. It has been working for years on XP. It does not work
on Vista. To test, I tried to add a key to Perflib\009 but I got "Cannot
to registry" dialog box. I tried to modify the permission and got
"Invalid handle". I can add key to \Perflib but not \Perflib\009. I am
logged in under administrator account.

What's wrong and what's the solution?

Thanks
 
Reply With Quote
 
 
 
 
Ed
Guest
Posts: n/a

 
      09-02-2009
Thanks. This is exactly what I was looking for.


Daniel Martín [MVP] wrote:
> Take a look at this blog entry:
>
> Registering ATL Performance Counters on Vista and Server 2008
> http://blogs.msdn.com/patricka/archi...rver-2008.aspx
>
>
> --
> Regards/Saludos,
> Daniel Martín
> Microsoft MVP Windows User Experience
>
> "Ed" <> wrote in message
> news:#...
>> chas2209 wrote:
>>> "Ed" <> wrote in message
>>> news:e27$...
>>>> Our software modifies HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
>>>> NT\CurrentVersion\Perflib\009\Counter and help to add performance
>>>> monitor counters. It has been working for years on XP. It does not
>>>> work on Vista. To test, I tried to add a key to Perflib\009 but I
>>>> got "Cannot to registry" dialog box. I tried to modify the
>>>> permission and got "Invalid handle". I can add key to \Perflib but
>>>> not \Perflib\009. I am logged in under administrator account.
>>>>
>>>> What's wrong and what's the solution?
>>>>
>>>> Thanks
>>>
>>>
>>> Contact your software Author
>>>
>>> chas2209
>>>
>>>
>>>

>>
>> Thanks but I am the software author and trying to debug it. The
>> sforware (a DLL) gets invalid handle when writing to the registry but
>> can read it fine. I try to add a test key under Perflib\009 using
>> regedit but it gave me "Cannot write to regsitry". Trying to change
>> the permission of Perflib\009 in regedit, gives Inavlid handle. I
>> tried it with several other keys (including \Perflib itself) and all
>> worked fine. What can be different with 009? All the permissions seem
>> to be the same as any other.

>

 
Reply With Quote
 
Daniel Martín [MVP]
Guest
Posts: n/a

 
      09-02-2009
You're welcome, Ed.

--
Regards/Saludos,
Daniel Martín
Microsoft MVP Windows Desktop Experience

"Ed" <> wrote in message
news:#...
> Thanks. This is exactly what I was looking for.
>
>
> Daniel Martín [MVP] wrote:
>> Take a look at this blog entry:
>>
>> Registering ATL Performance Counters on Vista and Server 2008
>> http://blogs.msdn.com/patricka/archi...rver-2008.aspx -
>> -
>> Regards/Saludos,
>> Daniel Martín
>> Microsoft MVP Windows User Experience
>>
>> "Ed" <> wrote in message
>> news:#...
>>> chas2209 wrote:
>>>> "Ed" <> wrote in message
>>>> news:e27$...
>>>>> Our software modifies HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
>>>>> NT\CurrentVersion\Perflib\009\Counter and help to add performance
>>>>> monitor counters. It has been working for years on XP. It does not
>>>>> work on Vista. To test, I tried to add a key to Perflib\009 but I got
>>>>> "Cannot to registry" dialog box. I tried to modify the permission and
>>>>> got "Invalid handle". I can add key to \Perflib but not \Perflib\009.
>>>>> I am logged in under administrator account.
>>>>>
>>>>> What's wrong and what's the solution?
>>>>>
>>>>> Thanks
>>>>
>>>>
>>>> Contact your software Author
>>>>
>>>> chas2209
>>>>
>>>>
>>>>
>>>
>>> Thanks but I am the software author and trying to debug it. The sforware
>>> (a DLL) gets invalid handle when writing to the registry but can read it
>>> fine. I try to add a test key under Perflib\009 using regedit but it
>>> gave me "Cannot write to regsitry". Trying to change the permission of
>>> Perflib\009 in regedit, gives Inavlid handle. I tried it with several
>>> other keys (including \Perflib itself) and all worked fine. What can be
>>> different with 009? All the permissions seem to be the same as any
>>> other.

>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Registry problem chas2209 Windows Vista General Discussion 4 09-01-2009 09:12 PM
Registry Cleaners? Bill Walsh Windows Vista Performance 8 08-24-2009 12:59 AM
Error Message 80070005 installing WMP Godenjoyer Windows Media Player 7 08-08-2009 09:18 PM
Very urgent Registry problem Rajeev Dhungel Windows Server 1 06-02-2007 08:32 AM
Registry help spock Windows 64 Bit 9 11-04-2005 01:17 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59