Geeks in Phoenix

Geek Blog


Essential tips for optimizing storage in Windows 11

Windows 11 introduces an array of features and tools intended to enhance user experience, including its storage management capabilities. As digital storage continues to grow in size and complexity, effectively managing this resource is crucial for ensuring optimal system performance. In this article, we will delve into some essential tips for optimizing storage in Windows 11.

Essential tips for optimizing storage in Windows 11

Before diving into optimization strategies, it’s essential to familiarize yourself with the built-in storage features of Windows 11. The operating system comes equipped with a redesigned Storage menu, making it easier to view and manage your storage resources.

How to get the Storage menu

  1. Left-click on the Start Windows logo key button to bring up the Start menu.
  2. In the list of pinned apps on the Start menu, left-click on Settings.
  3. In the left-hand column, left-click on System.
  4. In the right-hand column, left-click on Storage.

Here, you'll find a comprehensive overview of your storage usage, including system and reserved files, installed apps, temporary files, and other categories.

Analyze storage usage

The first step in optimizing storage is understanding what is consuming space. In the Storage settings, Windows 11 presents a breakdown of your storage utilization. By selecting different categories (like Installed apps, Temporary files, and others), you can identify large files or applications that may no longer be necessary.

Another way of understanding what is consuming your drive space is using a graphic visualization tool that uses blocks in a treemap to display the contents of a drive. This way, you can see what folders and files are taking up the most space.

See what your drive contains with Space Sniffer

Uninstall unused applications

Once you’ve identified space-hogging applications, consider uninstalling those that are no longer needed. You can do this from the same Storage settings or through the Installed apps menu.

How to get the Installed apps menu

  1. Left-click on the Start Windows logo key button to bring up the Start menu.
  2. In the list of pinned apps on the Start menu, left-click on Settings.
  3. In the left-hand column, left-click on Apps.
  4. In the right-hand column, left-click on Installed apps.

Look for programs that you rarely use and uninstall them to clear up significant amounts of space.

Clean up temporary files

Temporary files can accumulate rapidly and take up valuable storage space. Windows 11 provides a straightforward method to remove these files through the Storage settings. Click on Temporary files, and you will see what can be safely removed, including system-created files, browser caches, and old downloads. Cleaning these up can free up substantial storage.

Use Storage Sense

Windows 11 offers a feature called Storage Sense that automates the process of managing storage. You can enable it in the Storage settings. Storage Sense can automatically delete temporary files, old Windows installation files, and empty the Recycle Bin on a schedule that you specify.

How to get to Storage Sense

  1. Left-click on the Start Windows logo key button to bring up the Start menu.
  2. In the list of pinned apps on the Start menu, left-click on Settings.
  3. In the left-hand column, left-click on System.
  4. In the right-hand column, left-click on Storage.
  5. In the right-hand column, left-click on Storage Sense.

This feature is particularly helpful for users who may forget to perform regular cleanups manually.

Offload files to the cloud

Utilizing cloud storage is an excellent way to free up space on your local drive. Windows 11 is integrated with OneDrive, allowing you to back up your Desktop, Documents, and Photos seamlessly. By storing files in the cloud, you can access them from any device and share them easily. Windows 11 also has a feature called Files On-Demand, which lets you see files in your OneDrive without downloading them, thereby saving local storage.

Manage downloads and media files

Over time, downloaded files, photos, and videos can take up significant space. Regularly go through your Downloads folder and delete files you no longer need. Additionally, consider transferring media files (like photos and videos) to an external storage device or cloud service.

Utilize external storage solutions

For users with extensive data needs, maintaining an external storage solution can alleviate the burden on internal drives. External drives provide an excellent way to store large files, backups, or even entire libraries of media content. Using external storage not only extends your overall storage capacity but also improves system performance by reducing the load on primary drives.

Optimize your hard drive

If you're using a traditional Hard Disk Drive (HDD), periodic defragmentation can help improve performance. Windows 11 includes a built-in utility to defragment and optimize your drives.

How to get to Defragment and Optimize Drives

  1. Left-click on the Start Windows logo key button to bring up the Start menu.
  2. In the upper right-hand corner of the Start menu, left-click on All.
  3. Scroll down the list of programs and left-click on Windows Tools.
  4. Left-click on Defragment and Optimize Drives.

For Solid State Drives (SSDs), Windows 11 handles optimization automatically via a different process called TRIM, so no manual defragmentation is necessary. For more information on the advanced features of Defragment and Optimize Drives, check out the link below.

How to defragment and optimize your drive in Windows 11

Manage System Restore points

System Restore can consume a significant amount of disk space, especially if multiple restore points are created. To manage this, you can adjust the amount of disk space allocated for system restore points, delete older restore points that you no longer need, and customize your restore settings.

How to get to System Restore

  1. Left-click on the Start Windows logo key button to bring up the Start menu.
  2. In the list of pinned apps on the Start menu, left-click on Settings.
  3. In the left-hand column, left-click on System.
  4. Scroll down the right-hand column and left-click on About.
  5. Scroll down the right-hand column and left-click on the System protection link.

Regular maintenance

Finally, the key to efficient storage management is consistency. Set a reminder to review your storage usage periodically and implement the strategies mentioned above. By regularly checking for unnecessary files, app usage, and cleaning up temporary items, you can maintain an optimized storage environment in Windows 11.

Optimizing storage in Windows 11 doesn't have to be a daunting task. By utilizing the built-in tools and applying the strategies outlined in this guide, you can effectively manage your digital resources, improve system performance, and ensure that your device runs smoothly. A proactive approach to storage management will enhance your overall experience with Windows 11 and keep your device operating at its best.

How to defragment and optimize your drive in Windows 11

Updated December 27, 2024

When it comes to the performance of your Windows 11 computer, the faster your drive can read and write files, the better. So keeping your drive in tip-top shape is essential. So here is how to defragment and optimize your drive in Windows 11.

How to defragment and optimize your drive in Windows 11

Imagine opening a filing cabinet and finding someone mixed up all the files. It would take you more time to find the files you were looking right? The same thing holds true for your computer.

When I started working with computers, there were only a couple of storage options: Hard Disk Drives (HDD) and Floppy Disk Drives (FDD). DOS and early versions of Windows were notorious for not writing files back to exactly where they were found, and this is how a drive gets fragmented.

So, HDDs require regular defragmentation to maintain their performance. On the other hand, Solid State Drives (SSD) write files back to the same place they found them. The only maintenance SSDs require is free space consolidation.

The built-in defragment/optimization program in Windows 11 can handle HDDs and SSDs. There are two (2) versions of the defrag program. One has a GUI (Graphic User Interface), and the other uses a Command Line Interface (CLI).

I like to refer to the different versions as Standard (GUI) and Advanced (CLI). The Standard version is simple to use but has limited features, and the Advanced version is a little harder to use but has more features.

The Standard way to defrag/optimize your drives in Windows 11

Using the GUI version of Defrag in Windows 11

To perform Standard defragment/optimization, you will need to open the Defragment and Optimize Drives program. Here are a couple of ways to open the app.

  1. Left-click on the Start button Windows logo to bring up the Start menu.
  2. In the upper right-hand corner of the Start menu, left-click on All apps.
  3. Scroll down the list of programs and left-click on Windows Tools.
  4. Left-click on Defragment and Optimize Drives.

or

  1. Open File Explorer using one of the following:
    • Left-click on the File Explorer icon (manilla folder) on the Taskbar.
    • Press the Windows logo key Windows logo + E at the same time.
    • Use the Power User menu by right-clicking on the Start Windows logo button and selecting File Explorer.
  2. In the left-side column, left-click on This PC.
  3. In the right-side column, right-click on the drive you want to optimize and select Properties.
  4. Left-click on the Tools tab.
  5. Under Optimize and defragment drive, left-click on Optimize.

Once you open the Optimize Drives program, highlight the drive you want to optimize and select either Analyze or Optimize. You can also change the schedule that Windows 11 uses for scheduled optimization.

The Advanced way to defrag/optimize your drives in Windows 11

Using the CLI version of Defrag in Windows 11

To perform Advanced defragment/optimization, you will need to run command-line syntax(s) and parameter(s) in an administrative Command Prompt or PowerShell. In Windows 11, you can access both of these through the Terminal app.

Open Terminal with Administrator privileges in Windows 11

  1. Right-click on the Start button Windows logo to bring up the Power User menu.
  2. Left-click on Terminal (Admin). If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

or

  1. Press the Windows logo key Windows logo key + X to bring up the Power User menu.
  2. Press the letter A to select Terminal (Admin). If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

Open a Command Prompt or PowerShell with Administrator privileges in Windows 11

  1. Left-click on the Start button Windows logo to bring up the Start menu.
  2. In the upper right-hand corner of the Start menu, left-click on All apps.
  3. Scroll down the list of programs and left-click on Windows Tools.
  4. Right-click on Command Prompt or Windows PowerShell.
  5. On the context menu that appears, left-click on Run as administrator. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

or

  1. Left-click on the magnifying glass to the right of the Start button Windows logo to bring up the Search dialog box.
  2. In the Search dialog box, type Command Prompt or Windows PowerShell.
  3. The Command Prompt or Windows PowerShell should be highlighted in the results list.
  4. An options menu is in the right-hand column under Command Prompt or Windows PowerShell. Left-click on Run as administrator. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

The name of the program you want to run is Defrag. There are multiple syntaxes and parameters you can use with Defrag. The complete list and a few examples are listed below. I use Defrag C: /B | /BootOptimize on most systems I work on.

The correct usage of syntaxes and parameters for Defrag are as follows:

Defrag <Volumes> <Operations> [<Options>]

Examples:

  • Defrag C: /U /V
  • Defrag C: D: /TierOptimize /MultiThread
  • Defrag C:\mountpoint /Analyze /U
  • Defrag /C /H /V
Volumes
/C | /AllVolumes On each volume run only the preferred operations from the given list of operations.
/E | /VolumesExcept <volume paths> Perform all the given operations on each volume except those specified. If the exception list is empty, this behaves as /AllVolumes.
volume paths Specifies the drive letter followed by a colon, mount point, or volume name. More than one volume can be specified. Run all the given operations on each specified volume.
Operations
/A | /Analyze Perform analysis.
/B | /BootOptimize Perform boot optimization to increase boot performance.
/D | /Defrag Perform traditional defrag (this is the default). On a tiered volume, traditional defrag is performed only on the Capacity tier.
/G | /TierOptimize On tiered volumes, optimize files to reside on the appropriate storage tier.
/K | /SlabConsolidate On thinly provisioned volumes, perform slab consolidation to increase slab usage efficiency.
/L | /Retrim On thinly provisioned volumes, perform retrim to release free slabs. On SSDs perform retrim to improve write performance.
/O | /Optimize Perform the proper optimization for each media type.
/T | /TrackProgress Track progress of a running operation for a given volume. An instance can show progress only for a single volume. To see progress for another volume launch another instance.
/U | /PrintProgress Print the progress of the operation on the screen.
/V | /Verbose Print verbose output containing the fragmentation statistics.
/X | /FreespaceConsolidate Perform free space consolidation, moves free space towards the end of the volume (even on thin provisioned volumes). On tiered volumes consolidation is performed only on the Capacity tier.
Options
/H | /NormalPriority Run the operation at normal priority (default is low).
/I | /MaxRuntime n Available only with TierOptimize. Tier optimization would run for at most n seconds on each volume.
/LayoutFile <file path> Available only with BootOptimize. This file contains the list of files to be optimized. The default location is %windir%\Prefetch\layout.ini.
/M | /MultiThread [n] Run the operation on each volume in parallel in the background. For TierOptimize, at most n threads optimize the storage tiers in parallel. Default value of n is 8. All other optimizations ignore n.
/OnlyPreferred When volumes are specified explicitly, defrag performs all the given operations on each specified volume. This switch lets defrag run only the preferred operations, from the given list of operations, on each specified volume.

How to defragment and optimize your drive in Windows 10

Updated September 16, 2024

Have you ever tried to find a file in a disorganized filing cabinet? It can take some time. The same thing can happen when your computer's drive becomes fragmented. But you can keep your computer's folders and files organized with regular defragmentation. Here's how to defragment and optimize your drive in Windows 10.

How to defragment and optimize your drive in Windows 10

There are two (2) types of drives used in computers, Hard Disk Drives (HDD) and Solid State Drives (SSD). The kind of drive you have determines whether you need (or want) to defragment and optimize it. To find out what type of drive(s) you have, follow the standard instructions below. The Optimize Drives screen will tell you what kind of drive(s) you currently have in your computer.

The issue of drive fragmentation stemmed from the early '80s when Microsoft needed an OS, and they bought Quick and Dirty Operating System (QDOS) and renamed it MS-DOS. At that time, HDDs were the only type of drive available, and they are still the de facto standard in the industry. They also need to be defragmented and optimized regularly.

Now, SSDs are different in that there are no moving parts inside; they are just memory chips. So when your computer reads and writes to it, the data goes back to the same location on the drive. You can defrag and optimize an SSD, but it is not recommended since SSDs have limited read/write cycles, and any program that intensively accesses the SSD could shorten the drive's life span. Microsoft started adding support for SSDs in Windows 7 / Windows Server 2008 with the Trim command. Since the low-level operation of SSDs differs from HDDs, the Trim command handles deletes/format requests.

You can verify 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, type the following into the Administrative Command Prompt:

fsutil behavior set DisableDeleteNotify 0

Standard drive defragment and optimization in Windows 10

standard drive defragment and optimization in Windows 10

    1. Bring up the Defragment and Optimize Drives application by:
      1. Left-click on the Start Windows logo button.
      2. Scroll down to Windows Administrative Tools and left-click to expand.
      3. Left-click on Defragment and Optimize Drives.

or

      1. Open File Explorer by left-clicking the File Explorer icon (the manilla folder) on the Taskbar.
      2. In the left-side column, left-click on This PC.
      3. In the right-side column right-click on the drive you want to check and select Properties.
      4. Left-click on the Tools tab.
      5. Under Optimize and defragment drive, left-click on Optimize.

then

  1. Left-click on the drive(s) you want to optimize.
  2. Left-click on Analyze (Analyze all) or Optimize (Optimize all)

Advanced drive defragment and optimization in Windows 10

advanced drive defragment and optimization in Windows 10

  1. Open a Command Prompt with Administrative privileges (click here for instructions)
  2. Use the following command line syntax(s) and parameter(s) to run DEFRAG:

Defrag <Volumes> <Operations> [<Options>]

Examples:

  • Defrag C: /U /V
  • Defrag C: D: /TierOptimize /MultiThread
  • Defrag C:\mountpoint /Analysis /U
  • Defrag /C /H /V
Volumes
/C | /AllVolumes On each volume run only the preferred operations from the given list of operations.
/E | /VolumesExcept <volume paths> Perform all the given operations on each volume except those specified. If the exception list is empty, this behaves as /AllVolumes.
volume paths Specifies the drive letter followed by a colon, mount point, or volume name. More than one volume can be specified. Run all the given operations on each specified volume.
Operations
/A | /Analyze Perform analysis.
/B | /BootOptimize Perform boot optimization to increase boot performance.
/D | /Defrag Perform traditional defrag (this is the default). On a tiered volume, traditional defrag is performed only on the Capacity tier.
/G | /TierOptimize On tiered volumes, optimize files to reside on the appropriate storage tier.
/K | /SlabConsolidate On thinly provisioned volumes, perform slab consolidation to increase slab usage efficiency.
/L | /Retrim On thinly provisioned volumes, perform retrim to release free slabs. On SSDs perform retrim to improve write performance.
/O | /Optimize Perform the proper optimization for each media type.
/T | /TrackProgress Track progress of a running operation for a given volume. An instance can show progress only for a single volume. To see progress for another volume launch another instance.
/U | /PrintProgress Print the progress of the operation on the screen.
/V | /Verbose Print verbose output containing the fragmentation statistics.
/X | /FreespaceConsolidate Perform free space consolidation, moves free space towards the end of the volume (even on thin provisioned volumes). On tiered volumes consolidation is performed only on the Capacity tier.
Options
/H | /NormalPriority Run the operation at normal priority (default is low).
/I | /MaxRuntime n Available only with TierOptimize. Tier optimization would run for at most n seconds on each volume.
/LayoutFile <file path> Available only with BootOptimize. This file contains the list of files to be optimized. The default location is %windir%\Prefetch\layout.ini.
/M | /MultiThread [n] Run the operation on each volume in parallel in the background. For TierOptimize, at most n threads optimize the storage tiers in parallel. Default value of n is 8. All other optimizations ignore n.
/OnlyPreferred When volumes are specified explicitly, defrag performs all the given operations on each specified volume. This switch lets defrag run only the preferred operations, from the given list of operations, on each specified volume.

Free computer diagnostics

Repairing a PC can sometimes be expensive, and that is why we offer free basic in-shop diagnostics. Give one of our professional and experienced technicians a call at (602) 795-1111, and let's see what we can do for you.

Check out our reviews

Geeks In Phoenix LLC, BBB Business Review

This business is BBB Accredited

Customer service is #1

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

Bring your computer to us and save

Repairing a computer can be time-consuming. That is why we base our in-shop service on the time we work on your computer, not the time it takes for your computer to work! From running memory-checking software to scanning for viruses, these are processes that can take some time.

Contact us

If you have any questions, please feel free to give us a call at (602) 795-1111  and talk with one of our Geeks. Or you can send us a message from our contact page , and one of our Geeks will get back to you as soon as possible. Or you can stop by and see us. Here are our hours and location.

Like Geeks in Phoenix on Facebook

Follow Geeks in Phoenix on Twitter

Watch Geeks in Phoenix on YouTube