On Wed, 8/7/2024 8:07 AM, Ed Cryer wrote:
I was looking at all the old, obsolete entries in this PC's registry. There are zillions of them.
The PC is old but efficient; it's seen lots of software come and go.
Anyway, I was wondering how big the registry has actually got. So I ran regedit and exported a copy to Desktop, which failed at 476MB with a disc error message.
My instinct is to leave well enough alone, since there's no sign of trouble. However, I thought maybe some expert here might know better.
Ed
I've removed a lot of noise, such as registry journal files.
I wanted to list the main registry files (to show you don't
need to export anything to see sizes).
These are traditional Registry files, more or less.
At one time these were not journaled, and much easier to corrupt on a dirty shutdown.
NTFS is journaled, regfiles are journaled, there is two levels of
journaling, making registry files more bullet resistant than they
were long ago.
We don't expect these two OSes to vary much. The reason SOFTWARE
on the (relatively unused) Win10 is as big as it is, Visual Studio
Community Edition is installed there.
**************************** Win11 **************************
C:\Windows\System32\config
-a---- Tue, 8, 6, 2024 2:33 PM 38,535,168 COMPONENTS
-a---- Fri, 8, 2, 2024 10:42 AM 10,846,208 DRIVERS
-a---- Tue, 8, 6, 2024 10:38 PM 131,072 SAM
-a---- Tue, 8, 6, 2024 10:38 PM 65,536 SECURITY
-a---- Tue, 8, 6, 2024 10:38 PM 85,196,800 SOFTWARE
-a---- Tue, 8, 6, 2024 10:38 PM 28,049,408 SYSTEM
dir /ah C:\Users\username # Work in a Command Prompt, use dir /ah to see hidden items
Tue, 08/06/2024 10:37 PM 7,340,032 NTUSER.DAT <=== HKCU ???
**************************** Win10 **************************
H:\Windows\System32\config
-a---- Mon, 7, 22, 2024 7:09 AM 36,962,304 COMPONENTS
-a---- Mon, 7, 22, 2024 7:09 AM 7,974,912 DRIVERS
-a---- Mon, 7, 22, 2024 8:20 PM 65,536 SAM
-a---- Mon, 7, 22, 2024 8:20 PM 32,768 SECURITY
-a---- Mon, 7, 22, 2024 8:20 PM 90,701,824 SOFTWARE
-a---- Mon, 7, 22, 2024 8:20 PM 22,806,528 SYSTEM
H:\Users\Bullwinkle
Mon, 07/22/2024 08:20 PM 2,359,296 NTUSER.DAT
Even if these were memory mapped and fully populated in RAM,
this is a pimple on the memory subsystem. Like at one time,
if you had a 512MB machine, I could see size on these eventually
being a problem, as the "core" of the Registry might try to be
resident (parts of the Registry that are "polled" stay in memory).
But on modern machines with bigger RAM... hellooo is
anyone in here <huge empty hall>.
*******
You can use a Repair Install of the OS, for registry cleaning.
C:\Windows.old will contain the old OS (removable via "cleanmgr.exe"). C:\Windows is the new (smaller) output from the Repair install.
Of the Registry Files, I would expect SOFTWARE to be the most
dynamic. A Repair Install could shrink it. The others might be
a bit more resistant to poking.
Before a Repair Install, you do a backup of the disk. Restoring
from backup, is faster than a revert run by Windows.
The reason I have no sizes to offer on registry cleaning,
is I don't clean the registry. Not ever. And certainly
I would not use a Snake Oil Cleaner to do it ("we removed 8179 items").
Your printer could stop working if you did it that way.
Paul
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)