SSD optimization

Nowadays there are a lot of articles, which claim about useless of windows optimizing, they say the system knows what to do, so let it go.

However, I want to show you paranoid-mode checklist, that will allow you to implement a more careful attitude towards SSD and most importantly, to extend its life.

The part of the points are not related to SSD directly, but they serve to reduce the overall load system and promote the better performance of the unassuming hardware.

In any case, use these suggested tips wisely.

 

1. Update Drivers and Firmware for Your SSD

2. Make Sure Your System is Running in AHCI Mode

Use Win+R shortcut to open the Run dialog box.
Type "regedit" and press Enter key to open Registry Editor.
Navigate to either:
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Msahci
or:
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/iaStorV
In the right panel, double-click on "Start" and enter "0" into the value field
Restart PC
Activate AHCI mode in the BIOS

3. Verify If TRIM Is Enabled or Not

Start
Type "cmd"
Open command console as administrator.
Type to find out current status:

fsutil behavior query DisableDeleteNotify

If the result is 0, then TRIM is enabled.
If the result is 1, then TRIM is disabled.

TRIM support can be activated with the command

fsutil behavior set Disable DeleteNotify 0

4. Check Whether SSD Partition Is Aligned or Not

Partition alignment is a new concept of SSD. It refers to the starting location of every partition on SSD has to be a multiple of 2048

To check the alignment of your SSD’s partition, you have two methods.

One is to check alignment using System Information: press Windows + R key combo to start Run.
Type “msinfo32” and hit Enter.
Then go Components > Storage > Disks and look for your SSD and check the Partition Starting Offset.
It needs to be divisible by 4096

The other is to check it with Diskpart: press Windows + R key combo to start Run, type “diskpart” and hit Enter.
Then type below commands to check: list disk > select disk n (n is the SSD) > list partition.
Check the “Offset” column. If it is the multiple of 1024KB, the partition has been aligned well.

It is easy to know Disk 0 has been well aligned. Otherwise the SSD block is not alignment correct.

5. Disable Disk Indexing

Uncheck "Allow files on this drive to have contents indexed in addition to file properties".
It’s better to do it on your HDD if you want to clone an existing Windows. The purpose of this is to minimize the use of disk resources.

6. Turn Off Scheduled Defragmentation

Open the Computer window.
Right-click the media you want to defragment, such as the main hard drive, C.
In the drive’s Properties dialog box, click the Tools tab.
Click the Defragment Now button.
Click on the Configure schedule button.
Uncheck the Run on a Schedule box.
Click on OK.

7. Turn Off System Protection

Open Start.
Right-click on Computer.
Click on Properties.
On the left side of the System window, click on the System Protection option.
Under "Protection Settings," if your device system drive has "Protection" set to "On," click the Configure button.
Select the Turn off system protection option.
Click Apply.
Click OK.

8. Disable Paging Files

Open Start.
Right-click on Computer.
Click on Properties.
On the left side of the System window, click on the Advanced system settings.
Click the Settings button under performance.
Click over to the Advanced tab.
Click the Change button in the Virtual memory section.
Uncheck the Automatically manage paging file size for all drives.
Select system drive (C:) in the "Paging file size for each drive" select window.
Click on "No paging file" radio button lower.
Click on Set button.
Click OK.

9. Disable Hibernation/Sleep Mode

Open the console as Administrator.
Type the next verses consequently:

powercfg -h off
powercfg.exe /hibernate off

Another way to do this is to edit the register.
Use Win+R shortcut to open the Run dialog box.
Type "regedit" and press Enter key to open Registry Editor.
Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power
In the right pane of the Power key, double click on HibernateEnabled
To disable hibernation type 0 (zero) in the value data box.
Click OK

10. Deactivate Prefetch

Use Win+R shortcut to open the Run dialog box.
Type "regedit" and press Enter key to open Registry Editor.
Navigate to
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management\PrefetchParameters".

Double click on "EnablePrefetcher" to open DWORD value box.
Change the value to "0".
Click "OK" to save.

11. Deactivate Superfetch

Use Win+R shortcut to open the Run dialog box.
Type "services.msc", then press Enter button.
In the Services dialog box, locate the SuperFetch entry and double-click it.
Set the Startup type to disabled.

Another way to do this is to edit the register as Administrator.
Use Win+R shortcut to open the Run dialog box.
Type "regedit" and press Enter key to open Registry Editor.
Navigate to
HKEY_LOCAL_MACHINE\Current\ControlSet\Control\Session Manager\Memory Management\PrefetchParameters
Set “EnableSuperfetch.” value to "0".

12. Disable GUI Boot

Use Win+R shortcut to open the Run dialog box.
Type "msconfig", press Enter button.
Click on Boot tab in System Configuration interface.
In boot options, check "No GUI boot"

13. Configure Write Caching

Double check to make sure the box next to "Turn off Windows write-cache buffer flushing on the device" IS NOT checked.
Dangerous setting is dangerous!

14. Disable ClearPageFileAtShutdown and LargeSystemCache

Both these options are found in your registry editor.
Use Win+R shortcut to open the Run dialog box.
Type "regedit" and press Enter key to open Registry Editor.
Navigate to
HKEY_LOCAL_MACHINE\Current\ControlSet\Control\Session Manager\Memory Management
Set them to 0.

15. Disable auto-off disk in power options

Sleep after to Never (0 minutes)

16. Disable updating of the Last Access Time stamp when directories are listed on NTFS volumes

Start
Type "cmd"
Open command console as administrator.
Type to find out current status:
fsutil behavior set disablelastaccess 1

17. Disable thumbnails cache in Windows 7

Log in as an Administrator
Press the Windows and R keys
Type gpedit.msc in the Run dialog
Click OK
The Local Group Policy Editor should open
Go to User Configuration
Then Administrative Templates
Then Windows Components
Then Windows Explorer
Double-click on Turn off the caching of thumbnails in hidden thumbs.db files
Select Enabled to turn off the cache.
Click OK

18. Disable CD/DVD-ROM if you not need on it.

Start
Type "cmd"
Open command console as administrator.
reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d 4 /f

19. Disable all logs of the windows and software such us browsers, viewers and players!

20. Disable Firefox browser.sessionstore.interval

about:config

browser.sessionstore.interval

Set over 30 minutes.
This parameter is set in milliseconds!

21. Disable Firefox disk cache

about:config

browser.cache.disk.enable

Set to false

browser.cache.disk.capacity

Set to 0

 

22. Remove telemetry updates from Task Scheduler

Section: