View Single Post
  #3  
Old December 4th 17, 09:47 PM posted to alt.windows7.general
Ed Cryer
external usenet poster
 
Posts: 2,621
Default Win7 Registry Size

Mike S wrote:
On 12/4/2017 1:17 PM, Ed Cryer wrote:
I recently noticed just how much left-over rubbish there is in my
system's registry. It's 6 years old, never cleanly reinstalled, never
treated with snake-oil.
I'm not aware of any problem with it; no slow-down detected.
I used regedit, exported it, checked file size and it's 273 MB.

How does this compare with other users? I'd like to know.

Ed


I ran a powershell script and it reported 153 MB. w7 ult x64, been
running alittle over a year, Office, Photoshop, Visual Studio, several
browsers. I've cleaned it with ccleaner maybe half a dozen times.

$data=Get-WmiObject -Class Win32_Registry -ErrorAction Stop
#Format the results and write an object to the pipeline
$data | Select-Object -Property
@{Name="Computername";Expression={$_.__SERVER}},
Status,
@{Name="Current Size (Mb)";Expression={$_.CurrentSize}},
@{Name="Max Size (Mb)";Expression={$_.MaximumSize}},
@{Name="Free Size (Mb)";Expression={$_.MaximumSize - $_.CurrentSize}},
@{Name="Percent Free (%)";Expression={ (1 -
($_.CurrentSize/$_.MaximumSize))*100 }},
@{Name="Created";Expression={$_.ConvertToDateTime( $_.InstallDate)}},
@{Name="Age";Expression={(Get-Date) - (
$_.ConvertToDateTime($_.InstallDate)) }}

https://superuser.com/questions/3742...ze-of-registry


Interesting.
I ran Ccleaner, checked with regedit's export again, and got 270MB.

Then I ran your script and got this;
Current Size (Mb) : 200
Max Size (Mb) : 2048
Free Size (Mb) : 1848
Percent Free (%) : 90.234375
Created : 23/11/2011 15:05:46
Age : 2203.06:34:40.5049752

That's not much above your size after one year.
I wonder which method is giving the true size.

Ed

Ads