Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - Defragment Boot Files - Enable or Disable

Comment
 
LinkBack Tutorial Tools Display Modes
<!-- google_ad_section_start -->Defragment Boot Files - Enable or Disable<!-- google_ad_section_end -->
Defragment Boot Files - Enable or Disable
How to Enable or Disable Defrag of Boot Files at Startup in Vista
Published by Brink
05-28-2008

How to Enable or Disable Defrag of Boot Files at Startup in Vista

Information
  This will show you how to enable or disable the defragging of the boot files automatically during the startup or restart of Vista. This is enabled by default in Vista.
NOTE
  When enabled, this can help improve the performance of the computer by consolidating the fragmented boot files to get a faster startup time.
Tip
  If you would like to create a Defragment Boot Files shortcut so you can manually defrag the boot files when you want to without having to restart the computer, then see: How to Create a Defragment Boot Files Shortcut in Vista
RELATED LINKS:



OPTION ONE:
Through a Download
1. To Disable Defrag of Boot Files at Startup -
A) Click on the download button below to download the Disable_Auto_Boot_Defrag.reg file.

B) Go to step 3.


2. To Enable Defrag of Boot Files at Startup -
A) Click on the download button below to download the Enable_Auto_Boot_Defrag.reg file.


3. Click on Save, and save the .reg file to the Desktop.

4. Right click on the .reg file (on Desktop) fand click Merge.

5. Click on the Run button for Security Warning pop-up.

6. Click on Continue (UAC), Yes, and then OK when prompted.

7. When done, you can delete the .reg file (on Desktop).



OPTION TWO:
The Manual Way
1. Open the Start Menu.

2. In the white line (Start Search) area, type regedit and press Enter.

3. Click on the Continue button for the UAC prompt.

4. In regedit, go to: (See screenshot below)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction
reg_enabled.jpg
5. To Disable Defrag of Boot Files at Startup -
A) In the right pane, right click on Enable and click Modify. (See screenshot above)

B) Type N and click OK. (See screenshot below)
Name:  Modify_Disabled.jpg
Views: 12220
Size:  25.9 KB
C) The registry will now look like this. (See screenshot below)
reg_disabled.jpg
D) Go to step 7.
6. To Enable Defrag of Boot Files at Startup -
A) In the right pane, right click on Enable and click Modify. (See screenshot above)

B) Type Y and click OK. (See screenshot below)
Name:  Modify_Enabled.jpg
Views: 12240
Size:  25.9 KB
C) The registry will now look like this. (See screenshot below step 4)
7. Close regedit.
That's it,
Shawn
Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 23,775
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Page copy protected against web site content infringement by Copyscape

Old 07-30-2008  
krisdestruction
The One


Join Date: Jul 2008
Vista Ultimate / XP Platinum
 
Rep Power: 11
krisdestruction has a spectacular aura aboutkrisdestruction has a spectacular aura aboutkrisdestruction has a spectacular aura about
  krisdestruction is offline

Re: Defragment Boot Files - Enable or Disable

does vista do this every time it starts up?
My System SpecsSystem Spec
Old 07-30-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Defragment Boot Files - Enable or Disable

Hi Krisdestruction, and welcome to Vista Forums.

Yes, but only as needed.
My System SpecsSystem Spec
Old 08-08-2008  
WildEagle
Banned


Join Date: Jan 2008
Vista X64 Ultimate
Where it always stinks when an East wind is blowing
 
Rep Power: 0
WildEagle is an unknown quantity at this point
  WildEagle is offline

Re: Defragment Boot Files - Enable or Disable

Gonna do the work to set the Vista defrag utility to defrag boot files, on boot up as needed, when I get a chance.

Thanks for this, I was wondering if something like this was possible, since I don't use Diskeeper anymore.
My System SpecsSystem Spec
Old 08-08-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Defragment Boot Files - Enable or Disable

Your welcome WildEagle. It should be enabled by default though.
My System SpecsSystem Spec
Old 08-08-2008  
WildEagle
Banned


Join Date: Jan 2008
Vista X64 Ultimate
Where it always stinks when an East wind is blowing
 
Rep Power: 0
WildEagle is an unknown quantity at this point
  WildEagle is offline

Re: Defragment Boot Files - Enable or Disable

Just checked it is enabled by default. Wasn't sure if it was enabled already.
My System SpecsSystem Spec
Old 08-11-2008  
krisdestruction
The One


Join Date: Jul 2008
Vista Ultimate / XP Platinum
 
Rep Power: 11
krisdestruction has a spectacular aura aboutkrisdestruction has a spectacular aura aboutkrisdestruction has a spectacular aura about
  krisdestruction is offline

Re: Defragment Boot Files - Enable or Disable

I'm currently using PerfectDisk 2008 and defrag on boot is not a problem. Defragging the MTF and lots of other places are available too.
My System SpecsSystem Spec
Old 10-19-2008  
TorchMan's Avatar
TorchMan
Newbie


Join Date: Jan 2008
Vista Ultimate x64
 
Rep Power: 14
TorchMan has a spectacular aura aboutTorchMan has a spectacular aura about
  TorchMan is offline

Re: Defragment Boot Files - Enable or Disable

Hello. I have a little qestion. What mean's "LcnEndLocation"? In your registry entry i can seen value 575821, but in my registry is this value 0. Is this range of space in bytes of the system files on the disk or something?

Thank you in advice

TorchMan™
My System SpecsSystem Spec
Old 10-19-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Defragment Boot Files - Enable or Disable

Hi Torchman,

Well basically LcnEndLocation stands for the "Logical Cluster Number (on the hard drive) End Location" of the files moved by Disk Defragmenter for boot optimization (defrag), and LcnStartLocation is for the start location.

The data within these cluster numbers is usually the prefetch data. The size numbers for LcnEndLocation and LcnStartLocation will vary and should not be manually modified.

Hope this helps,
Shawn
My System SpecsSystem Spec
Old 02-20-2009  
kiddieboy12
sloowlag


Join Date: Dec 2008
Vista Home Premium 32bit
 
Rep Power: 9
kiddieboy12 is on a distinguished road
  kiddieboy12 is offline

Re: Defragment Boot Files - Enable or Disable

um. what if i use smart defrag. and i defag like every 20 minuites. will i need it?
My System SpecsSystem Spec
Comment

Tags
boot, defrag, defragmenter, performance & maintenance, startup

Tutorial Tools
Display Modes


Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
DEP - Enable or Disable Brink Tutorials 109 1 Day Ago 11:47 PM
Defragment Boot Files - Create Shortcut Brink Tutorials 6 11-13-2008 07:43 AM
Select Files - Disable or Enable Full Row Select Brink Tutorials 6 07-19-2008 08:08 AM
Files that won't defragment TM Vista performance & maintenance 3 09-16-2007 02:55 PM
UAC: Is there a GPO option to disable/enable UAC? tavis Vista security 3 07-05-2006 11:56 PM


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006