Windows 7 - SSD Optimization

From Wiki³

Before you begin this guide I will assume you know how to disable UAC and have already done so.


Disable / Move the Swap File

  • WINKEY + PRTSCN to access the System control panel item.
  • Click Advanced system settings on the left panel.
  • Under the Advanced tab click Settings... under Performance.
  • Under the Advanced tab again click Change....
  • Deselect Automatically manage paging file size for all drives.

If you have 8GB+ RAM

  • Select your SSD, select No paging file, and click Template:Set.
    (Do the same for any other hard drive that has a page file set.)

If you have less than 8GB of RAM

  • Select your SSD, select No paging file, and click Template:Set.
    Select a SATA drive, select Custom size, and set it to 4096 - 6144.


Disable System Restore

  • WINKEY + PRTSCN to access the System control panel item.
  • Click Advanced system settings on the left panel.
  • Under the System Protection tab select your SSD and click Configure....
  • Select Turn off system protection and press OK.
    (Confirm any warning to delete current restores.)


Enable TRIM & Disable Hibernate

  • WINKEY + R to bring up the run dialog.
  • Run cmd.
    You should see Administrator in the window title
  • Execute the command fsutil behavior set disabledeletenotify 0
    You should see the response "DisableDeleteNotify = 0".
  • Execute the command powercfg -h off.


Disable Indexing

  • WINKEY + E to open an explorer window.
  • Select Computer from the tree on the left.
  • Right-click your SSD and select Properties.
  • Deselect Allow files on this drive to have contents indexed in addition to file properties. and click OK.
  • Click OK again to apply changes to all recursively.
    Accept any privilege escalation warnings.


Enable Write Cache

  • WINKEY + PRTSCN to access the System control panel item.
  • Click Device manager on the left panel.
  • Find your SSD, right-click and select Properties.
  • Navigate to the Policies tab.
  • Make sure Enable write caching on the device is checked.
  • Also make sure Turn off Windows write-cache buffer flushing on the device is checked.
  • Click OK to save the changes.


Disable Disk Defragmentation

  • In the Start-Menu right-click Computer and select Manage.
  • Navigate to Services and Applications > Services.
  • Right-click Disk Defragmenter and select Properties.
  • Under Startup type choose Disabled from the drop-down menu.
  • Click OK to save.


Disable Prefetch & Superfetch

  • WINKEY + R to bring up the run dialog.
  • Run regedit to open the registry editor.
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters.
  • Double-click EnablePrefetcher and change the value from 3 to 0 and click OK.
  • Double-click EnableSuperfetch and change the value from 3 to 0 and click OK.