Re: Slow registry access using StdRegProv
From: Doug Pickering (djpickering_at_nospam.nospam)
Date: 11/02/04
- Next message: Torgeir Bakken \(MVP\): "Re: Set registry value with .vbs"
- Previous message: Stefano Colombo: "Listing user's access to network resources"
- Next in thread: Al Dunbar [MS-MVP]: "Re: Slow registry access using StdRegProv"
- Reply: Al Dunbar [MS-MVP]: "Re: Slow registry access using StdRegProv"
- Reply: [MSFT]: "Re: Slow registry access using StdRegProv"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Nov 2004 07:55:01 -0800
Thanks to all for your help and suggestions.
For reference here are the symptoms in more detail:
On the best machine I could find with XP and SP1 installed the time take to
read 64 registry values from the HKLM hive was 9 seconds.
On many machines the same was taking in excess of 100 seconds.
On NT, the same was less than 1 second
On XP SP2, the same was less than a second.
Taking a machine that took 100 seconds I was able to deduce that a newly
created user on the same machine only took 10 seconds. This indicated that
something in the profile was causing the problem.
I eliminated files in the profile until I found that usrclass.dat was the
issue. AS this is a hive installed under HKCU\Software\Classes I tried to
find out what was wrong here.
After much trial and error I concluded that it was the amount of subkeys
under HKCU\Software\Classes\CLSID that was causing the issue. If I renamed
this key, a time of 90 seconds changed to 10 seconds, the best I had under
SP1.
Searching the KB I found article 836051 which discussed a performance issue
creating keys under HKCU\Software\Classes. Although not directly describing
the symptoms, it pointed to a hotfix for KB 819536 as having code that would
resolve the issue.
The hotfix for KB 819536 has now resolved my issue and now the test of 64
reads returns in less than a second.
The same hotfix is in SP2.
I hope this helps others....
Doug
"[MSFT]" wrote:
> You can try to run the script code in safe mode, to see if it is related to
> other applications/services running on the computer, for example, some
> antivirus software.
>
> Luke
>
>
- Next message: Torgeir Bakken \(MVP\): "Re: Set registry value with .vbs"
- Previous message: Stefano Colombo: "Listing user's access to network resources"
- Next in thread: Al Dunbar [MS-MVP]: "Re: Slow registry access using StdRegProv"
- Reply: Al Dunbar [MS-MVP]: "Re: Slow registry access using StdRegProv"
- Reply: [MSFT]: "Re: Slow registry access using StdRegProv"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|