Defragment Boot Files - Create Shortcut

How to Create a Defragment Boot Files Shortcut in Vista


information   Information
This will show you how to create a Defragment Boot Files shortcut so you can manually defrag the boot files on the C: drive when you want to without having to restart the computer.
Tip   Tip
To enable or disable the defrag of boot files at the startup or restart of Vista automatically, see: How to Enable or Disable Defrag of Boot Files at Startup in Vista




STEP ONE
To Create the Shortcut

Through a Download:
1. Click on the Download button below to download the file below.​
Defragment_Boot_Files.zip
download

2. Click on Save and save it to the Desktop.​
3. Right click on the downloaded .zip file and click on Open.​
4. Click on Allow in the UAC prompt.​
5. Extract the Defragment Boot Files shortcut to the desktop.​
6. Place the shortcut where you would like to use it at.​
7. When done, you can delete the downloaded .zip file if you like.​
8. Go to the STEP TWO section below.​

The Manual Way:
1. Right click on a empty area of the desktop.​
2. Click on New and Shortcut.​
3. Copy and paste the location belowin the location field. (See screenshot below step 4)​
C:\Windows\System32\Defrag.exe -b %SystemDrive%

4. Click on the Next button.​
Step1.jpg

5. Type Defragment Boot Files for the name. (See screenshot below step 6)​
NOTE: You can name it anything you would like though.
6. Click on the Finish button.​
Step2.jpg

7. Place the shortcut where you would like to use it at.​
8. Go to the STEP TWO section below.​





STEP TWO
How to Use the Shortcut

1. Right click on the Defragment Boot Files (on desktop) shortcut and click Run as administrator. (See screenshot below)​
NOTE: If you do not click Run as administrator, the shortcut will not work and you will only see a quick flash of the command prompt instead.​
Run_as_administrator.jpg

2. Click on Continue in the UAC prompt.​
3. You will now see this command prompt window open. (See screenshot below)​
NOTE:
A) This command prompt window will close on it's own when the defrag of the boot files is done. It will usually only take just a few minutes or so to finish.​
B) If you need or want to stop it, then click on the command prompt window and press Ctrl+C. The command prompt will close soon after.​
Command_Window.jpg

That's it,
Shawn


 

Attachments

  • Defragment_Boot_Files.zip
    571 bytes · Views: 17,025
  • Disk_Defragmenter.png
    Disk_Defragmenter.png
    97.2 KB · Views: 425
Last edited:
hey thanks a lot~
 

My Computer

System One

  • CPU
    Intel Core 2 Duo T5250 1.5ghz
    Motherboard
    Intel Santa Rosa
    Memory
    2048 DDR2 667
    Graphics Card(s)
    Intel GMA X3100
    Hard Drives
    Fujitsu 5,400 250GB

    Western Digital 7,200 320GB
You're welcome Rav-e.

Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
does this actually ONLY defrag the boot files or just defrag the drive?

how come this isnt a very popular tweak , this is only site I can find it on but yet its probably one of the best Vista tweaks?

does this work with readyboot? (not readyboost)
 

My Computer

System One

  • Manufacturer/Model
    Acer Aspire 5051
    CPU
    AMD64 Turion 1.6Ghz x2
    Motherboard
    Acer
    Memory
    2Gb 667Mhz
    Graphics Card(s)
    256Mb ATi Xpress 1100
    Sound Card
    Realtek soundchip
    Screen Resolution
    1280x800
    Hard Drives
    120Gb Seagate SATAII 7200rpm
    Internet Speed
    16Mb o2 ADSL2+

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
thanks

i run this and it spent 10 minutes defragging? surely that cant be right if its just boot files and it does this auto every boot?
 

My Computer

System One

  • Manufacturer/Model
    Acer Aspire 5051
    CPU
    AMD64 Turion 1.6Ghz x2
    Motherboard
    Acer
    Memory
    2Gb 667Mhz
    Graphics Card(s)
    256Mb ATi Xpress 1100
    Sound Card
    Realtek soundchip
    Screen Resolution
    1280x800
    Hard Drives
    120Gb Seagate SATAII 7200rpm
    Internet Speed
    16Mb o2 ADSL2+
Not sure why it does take longer, but i would guess that it is because of it being done from within the OS and being allowed to completely finish.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Back
Top