Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Registry and Pagefile, do they need to be defragmented?

10 Aug 2010   #1
Microhard

Windows 7 Ultimate 64 bit
 
 
Registry and Pagefile, do they need to be defragmented?

I rembered I had PageDefrag when I was using XP but now I'm using 7. So do I need to find 3rd party software or will 7's default defragmenter do the job?


My System SpecsSystem Spec
.
10 Aug 2010   #2
MilesAhead

Windows 7 32 bit
 
 

You can do it yourself. Disable virtual memory and reboot. Defrag your HD. Now go back in and set min and max of the paging file the same. You should never have to defragment it again. I used PageDefrag on XP also. But once I did the routine above, it always showed it as one big clump. I never had to defrag the page file once set.

edit: as for the registry, the only tools I trust are CCleaner for cleaning out dead data, and NTREGOPT for rewriting the registry hives. I don't use NTREGOPT often. But when I do, I notice the boot up is smoother for a week or so(assuming you shut down and boot up daily.)

edit2: on W7 you may have to take ownership to delete the page file once you have disabled VM and rebooted. See tutorials for adjusting virtual memory size and also how to take ownership. If they aren't here(which would surprise me) the ones on the Vista forum should work fine.

What to set for min and max page file size ... I don't get into those arguments. It varies by machine and how you use it.
My System SpecsSystem Spec
10 Aug 2010   #3
logicearth

Windows 10 Pro (x64)
 
 

You do not need to defrag the registry or page file.
My System SpecsSystem Spec
.

10 Aug 2010   #4
Wishmaster

Windows 7 Home Premium 64bit
 
 

In short No.

You can but it really isn't needed nor will help performance.
My System SpecsSystem Spec
11 Aug 2010   #5
Microhard

Windows 7 Ultimate 64 bit
 
 

So the pagefile and registry is better when left alone?
My System SpecsSystem Spec
11 Aug 2010   #6
logicearth

Windows 10 Pro (x64)
 
 

Yes.
My System SpecsSystem Spec
11 Aug 2010   #7
cluberti

Windows 10 Pro x64
 
 

Yes. You can make sure your paging file is contiguous (if it's been split on the disk) by disabling the paging file, rebooting, deleting the pagefile file itself, then re-enabling paging (set min and max values for size to be the same). The registry hives, however, are loaded as memory-mapped files - none of the reads or writes to the registry are actually done to/from disk directly, so defragmenting them will have basically zero effect on anything.
My System SpecsSystem Spec
11 Aug 2010   #8
richc46

Microsoft Community Contributor Award Recipient

Windows 10, Home Clean Install
 
 

Here is, what I consider a complete list of maintenance for windows 7
No reg cleaner and leave pagefile alone.

Suggestions for Proper Maintenance
My System SpecsSystem Spec
11 Aug 2010   #9
CarlTR6

Windows 7 Ultimate 32 bit
 
 

Quote   Quote: Originally Posted by Microhard View Post
So the pagefile and registry is better when left alone?
Absolutely yes. Win 7 manges the registry much more and efficiently and differently than does XP.
My System SpecsSystem Spec
11 Aug 2010   #10
Curzon

Win 7 Home Premium x64
 
 

Quote   Quote: Originally Posted by Microhard View Post
I rembered I had PageDefrag when I was using XP but now I'm using 7. So do I need to find 3rd party software or will 7's default defragmenter do the job?
I'll add my vote to this one. Leave them alone. Just use your prefered standard disk defrag prog.

The Page file absolutely does not need to be defragged. It's a system variable file, and sorts itself out. You don't defrag the RAM do you. Same soup, different gravy! Messing up the Registry will end in tears.

I've also used CCleaner for years, just to clean the registry, and then just once in a while for something specific. When it asks, create a backup of the changes, or create a restore point. I've never had to use these backups, but there is always a first time.

Cheers.
My System SpecsSystem Spec
Reply

 Registry and Pagefile, do they need to be defragmented?




Thread Tools




Similar help and support threads
Thread Forum
Scanned & Defragmented
After work, I came home and did my work on the computers that occurs every other Tuesday. Scanned and Defragmented the Windows 8.1 desktop as well as the Windows 7 Home Premium 64-bit laptops. My medicine wanted me to take a nap, but I didn't. So, now I am tired. Good night all!
Performance & Maintenance
Moved Pagefile.sys to second HHD and old pagefile.sys still on primary
Hello all, I have a SSD which runs my windows 7 and other processing heavy programs and a secondary HDD which holds files. I've been reading up on making sure I can get the most life out of my SSD since there are limited read/write cycles on them. Therefore, I looked into moving my...
Performance & Maintenance
d drive cannot be defragmented
hi all. my d drive (recovery) is 95% fragmented. only 2.16 gb out of 15 gb is free. i cannot defragment it either using the built in defragmenter or programs like defraggler, smart defrag or wise disc cleaner. when i run the hp disc checker it says there is a problem with the smart function of my...
Performance & Maintenance
Can i still use my pc while its being defragmented
I was wondering is it possible to play games and surf the internet or even listen to music and play around with photoshop while i doing a defragmentation on my pc? I am asking because I have heard that its not good to do anything or have any programs running while your pc is being defragged.
Performance & Maintenance
Defragmented
Hi basically when 1 hard disk currently defragmenting manual , show consolidate and defragmented , now i see my hard disk relocated , what is that ? problem of my hard disk ?
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:47.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App