Geeks in Phoenix

Geek Blog


How to safely optimize your solid state drive

When it comes to getting the best performance out of your computer, nothing can beat a Solid State Drive (SSD). Right out-of-the-box they are extremely faster reading / writing data than a Hard Disk Drive (HDD). But there are a few things that you have to do differently with an SSD. Here's how to safely optimize your solid state drive.

The definition of tweak

There are plenty of articles out there that will give you a ton of different tweaks you can use to speed up the SSD access time. From turning off disk indexing to disabling Prefetch and Superfetch. Some may work for you, some may not. Generally speaking, if you're running Windows 7 or higher, the operating system should recognized the SSD and modify its behavior accordingly. The following tweaks are completely safe and will not harm your system in any way.

General SSD maintenance

SSD's operate differently from HDD's and there are a couple of things you should never do to an SSD. Since SSD's have limited read / write cycles, any program that intensively accesses the SSD could shorten the life span of the drive. Running a disk defragment program on an SSD is definitely not recommended. And as far as Check Disk (CHKDSK) is concerned, you'll need to contact the manufacturer of your SSD to find out if they recommend it or not.

Microsoft started building in support for SSD's in Windows 7 / Windows Server 2008 R2 and has expanded on it in Windows 8 / 8.1 & Windows Server 2012. Since low-level operation of SSD's is different from HDD's, the Trim command was introduced to handle deletes / format requests. To verify that Trim is on, you'll need to open an Administrative Command Prompt.

How to open a Command Prompt with Administrator privileges in Windows 7
How to open a Command Prompt with Administrator privileges in Windows 8
How to open a Command Prompt with Administrator privileges in Windows 10

You can verify that Trim is enabled by typing the following into an Administrative Command Prompt:

fsutil behavior query DisableDeleteNotify

If the command returns a 0 then Trim is enabled. If it returns a 1, then it is not. To enable Trim, just type the following into the Admin Command Prompt:

fsutil behavior set DisableDeleteNotify 0

SSD free space maintenance

SSD's do have one down side; their capacity is smaller than HDD's, so maintaining an adequate amount of free space is necessary. Now there are two scenarios for setting up computers with SSD's: Single-drive (SSD only) and Multiple drives (SSD + HDD). Laptops are usually single-drive and desktops are almost always multiple-drive. Here's a few ways to maintain free space.

Single-drive (SSD only)

The options here are limited. To free up space you could store your personal files like documents, photos and music to an external drive or to the cloud. Here are a few more ideas.

Turn off Hibernation.
With the speed of an SSD, boot times will be quite faster than with an HDD. You'll find that you can boot your computer just as fast as if you brought it out of hibernation. And since hibernation writes the system memory to disk, you'll free up the same amount of disk space that is equal to the total system memory. And if you have a lot of memory, this can free up a big chunk of space on your SSD.

Disable Windows hibernation and free up disk space

Turn off the virtual memory / pagefile.
Use this with caution! Technically, virtual memory is used when all of the system memory is full. If you have a large amount of system memory (16GB or more) and you don't run memory hog software like Photoshop, you should be alright disabling it. And you'll free up a few GB's of drive space in the process.

Managing Virtual Memory / Pagefile in Windows 7
Managing Virtual Memory / Pagefile in Windows 8
Managing Virtual Memory / Pagefile in Windows 10

Clean up drive on a regular basis.
Temporary files and browser caches are a few items you'll need to keep an eye on. Using a program like Piriform's CCleaner or Disk Cleanup that comes with Windows will take care of these files. Disk Cleanup can also be run as a scheduled task too.

Free up more disk space with Windows 7 Disk Cleanup
Clean up your hard drive in Windows 8 with Disk Cleanup
Clean up Windows 10 with Disk Cleanup
Clean up and optimize your computer for free with CCleaner

Multiple-drive (SSD + HDD)

This is the optimal setup. Everything under single-drive scenario applies here. Windows and program files need to be on the SSD. Almost anything else that Windows doesn't require for normal operation can go over to the HDD.

Move the virtual memory / pagefile.
Instead of turning it off, just move it to the HDD (see link above).

Move personal files to HDD.
Your documents, photos and music can take up a large amount of space on your drive. Get them off of the SSD and over to the HDD.

Modifying the default locations of user files and library properties in Windows 7
Modifying the default locations of user files and library properties in Windows 8

There are plenty of other tweaks you can do, like moving location of your browser cache and temp folders to the HDD. You can find all of that information and more with a quick search on Google.

How to upgrade your computers hard disk drive to a solid state drive

Most computers (laptop & desktop) nowadays come with a Hard Disk Drive (HDD) as standard equipment with a Solid State Drive (SSD) as an option. Each drive type has its pros and cons: HDD's are cheaper and have more storage, but SSD's are extremely fast (especially when connected to a SATA3 port). So if your existing computer has a HDD, odds are you could replace it with a SSD. Here's how to upgrade your computer hard disk drive to a solid state drive.

How to upgrade your computer's hard disk drive to a solid state drive

I wrote an article not long ago on how to upgrade the hard drive in your computer and will be referring back to it often. It describes how to clone a smaller drive to a larger one of the same type. Since SSD's normally have less storage than HDD's, this time I'll have to shrink the existing HDD (80 GB) partition(s) down below the capacity of the target SSD (64 GB) before I can clone it.

As in the aforementioned article, the first thing to do is a Checkdisk of the existing HDD. Doing this will assure there are no errors that may prohibit the cloning of the drive.

Running Checkdisk in Windows Vista
Running Checkdisk in Windows 7
Running Checkdisk in Windows 8

Now we have to start cleaning up the drive. Windows has a built-in tool called Disk Cleanup (cleanmgr.exe) that works pretty well at getting out the clutter. Try using it from an admin command prompt, that way you'll get more options.

Disk Cleanup Windows 7 / Vista
Disk Cleanup Windows 8

Since we are trying to get the maximum amount of free space we can, we will have to delete some files, which may include documents, photos, videos, etc. Doing a backup right now will insure we have a copy of all of the files if we need to recover some later.

Windows Vista Backup
Windows 7 Backup
Windows 8 Backup

Next thing I have to do is find out what is taking up the space on the existing HDD. For this I'll use a copy of SpaceMonger. After quick view, I see I can free up several gigabytes of space by permanently removing the hibernation file and temporarily deleting the swap file. Windows will warn you about having no swap file, but we will be recreating the swap file once the drive cloning is complete.

Disable Windows hibernation
Disable Windows swap file

The next thing we need to do to the drive is to defragment it. I'll use Defraggler from Piriform for this task. Once the drive is defragged, it's time to shrink it. To do this, open Computer Management, expand the Storage section in the left column and select Disk Management. In the right column, right-click on the partition marked as Boot (usually C:) and select Shrink. Remember to take the size down at least 10-15% below the capacity of the new SSD.

Shrinking a partition down in Windows 7
Shrinking a partition down in Windows 7

Once the partition has been resized, it's time to clone the drive. The following article has all of the details on how to clone you hard drive, including links to the cloning software.

How to upgrade the hard drive in your computer

Note: An issue not addressed in the article above is the form factor; the existing HDD is 3.5" form factor and SSD's are normally 2.5" form factor.
A desktop hdd and an ssd with adapter brackets
This can easily be resolved by using a pair of 2.5" to 3.5" adapter brackets.

Once the drive cloning is complete and the system is running again, we need to expand the boot partition to use any free space that may be available. Open Computer Management, expand the Storage section in the left column and select Disk Management. In the right column, right-click on the partition mark as Boot (usually C:) and select Expand. Once the boot partition has been resized, you can now enable Windows swap file.

Customer service is #1

Here at Geeks in Phoenix, we take pride in providing excellent customer service. From computer repair, virus removal and data recovery, we aim to give the highest quality of service.

Bring your computer to us and save

Our in-shop computer repair service  is based on the time we work on your computer, not the time it takes your computer to work!

Contact us

Geeks in Phoenix
4722 East Monte Vista Road
Phoenix, Arizona 85008
(602) 795-1111

Like Geeks in Phoenix on Facebook

Follow Geeks in Phoenix on Twitter

Watch Geeks in Phoenix on YouTube

Geeks in Phoenix is an IT consulting company specializing in all aspects of Computer Repair / PC Repair / Laptop Repair. Since 2008, our expert computer repair technicians have been providing outstanding Computer Repair, Virus Removal, Data Recovery, Photo Manipulation and Website Support.

Geeks in Phoenix have the best computer repair technicians providing computer repair and service in Phoenix, Scottsdale and Tempe Arizona. We offer In-Shop, On-Site and Remote (with stable Internet connection) computer repair service.

Copyright © 2016 Geeks in Phoenix LLC