Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Defragging the registry


  • Please log in to reply
6 replies to this topic

#1 diggiedo

diggiedo

  • Members
  • 155 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:23 AM

Posted 25 December 2016 - 07:05 AM

I know its not a good thing to clean or mess with the registry but is it ok to defrag it.just a ?.



BC AdBot (Login to Remove)

 


#2 FreeBooter

FreeBooter

  • Members
  • 3,137 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Turkey - Adana
  • Local time:08:23 AM

Posted 25 December 2016 - 07:49 AM

Yes its okay to defragment the registry it will boost speed of Windows and application accessing the registry hives. You can use Quicksys RegDefrag program.



Share your knowledge. Its a way to achieve immortality.
- Dalai Lama

 

 


#3 ranchhand_

ranchhand_

  • Members
  • 1,569 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Midwest
  • Local time:11:23 PM

Posted 25 December 2016 - 07:52 AM

No, it is not. I discern by your question that you have no experience with the registry. A registry cannot be defragged; data fragmenting happens only to a hard disk drive when various parts of a single data subject are spread throughout various sections of the disk(s) for storage, and the platter heads must travel back to those several places to re-assemble the data before presenting in on your screen. Over time this slows the speed of accessing data and increases wear on the hard drive. The registry does not store data as such; there are entries that have had the original program deleted but "orphan" registry entries are still existing. But there is no random fragmentation such as with an operating system and data storage.

If you are not experienced with the registry, avoid it. One wrong change can literally nuke a program, or your entire operating system. There are ways of removing old entries, but even those are very dangerous to do and a user must really know what he is doing before venturing into that mine field.

If you are dead-set on doing this, first create an image backup of your entire partition so when a disaster happens you can restore.


Edited by ranchhand_, 25 December 2016 - 07:57 AM.

Help Requests: If there is no reply after 3 days I remove the thread from my answer list. For further help PM me.


#4 Rocky Bennett

Rocky Bennett

  • Members
  • 2,537 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:New Mexico, USA
  • Local time:11:23 PM

Posted 25 December 2016 - 08:12 AM

No, never defrag the registry, it is a bad idea.


594965_zpsp5exvyzm.png


#5 kaljukass

kaljukass

  • Banned
  • 291 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:23 PM

Posted 25 December 2016 - 08:50 AM

No, it is not.

Spoiler

 

Where did this wisdom has been taken. Registry file is simple Data Fail. Of course there isn't only one file and all they are always automatically backed up.
 
The location of These Registry hives are AS FOLLOWS:
 
HKEY_LOCAL_MACHINE\SYSTEM    \system32\config\system
HKEY_LOCAL_MACHINE\SAM    \system32\config\ sam
HKEY_LOCAL_MACHINE\Security     \system32\config\security
HKEY_LOCAL_MACHINE\SOFTWARE\    system32\config\Software
HKEY_USERS\userprofile  \WinNT\Profiles\username
HKEY_USERS.DEFAULT  \system32\config\default
 
Of course, it is necessary to clean up the registry, and occasionally defragment.
 
So, as You know now, You have always at least one registry backups, usually also default registry backup, but have You ever heard, someone speaking about you have them. Always have been spoken, You must do registry backup. Of corse You can, is really good if You have at least copy, if windows was fresh. But if don't, doesn't mean. that everything is gone as "Runaway Train"
Spoiler
 
Spoiler

Edited by kaljukass, 25 December 2016 - 09:11 AM.


#6 Rocky Bennett

Rocky Bennett

  • Members
  • 2,537 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:New Mexico, USA
  • Local time:11:23 PM

Posted 25 December 2016 - 08:57 AM

Well there you go. Four different answers and four different opinions. Happy holidays!!!!!


594965_zpsp5exvyzm.png


#7 Platypus

Platypus

  • Moderator
  • 13,716 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Australia
  • Local time:03:23 PM

Posted 25 December 2016 - 10:17 AM

There are two procedures that could be referred to as defragmenting the registry, both of which will probably not achieve a lot for most home computer users.

 

Defragmenting the hive files as they are stored on the hard drive, which can be done if they are actually fragmented, by PageDefrag:

 

https://technet.microsoft.com/en-us/sysinternals/pagedefrag.aspx

 

Compacting or compressing the database entries stored in the hive files, which can be done by Registry Usage (RU):

 

https://technet.microsoft.com/en-us/sysinternals/dn194428.aspx

 

Similar functions are offered by Registry Compressor:

 

http://www.tweaking.com/content/page/tweaking_com_registry_compressor.html

 

The latter part of this discussion of a problem with registry bloat in Win 8.x/Server 2012 has some interesting mention of the Registry hives and using RU to check their sizes and compress:

 

https://blogs.technet.microsoft.com/askperf/2014/10/22/unable-to-restart-server-due-to-registry-bloat-over-2gb/


Edited by Platypus, 25 December 2016 - 10:18 AM.

Top 5 things that never get done:

1.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users