PC Pro

RECLAIM LOST STORAGE

How to slim down Windows and free up lost space

-

It’s been observed that data seems to expand to fill the available storage, and that’s certainly true when it comes to PCs. It’s horribly easy to accumulate files without thinking about disk space, until there’s suddenly none left.

Yet it’s not entirely our fault. Desktop applicatio­ns just keep getting bigger and games can be enormous:

Cyberpunk 2077 calls for 70GB of hard disk space, while Hitman 3 weighs in at 80GB. Meanwhile, disk sizes have stagnated as we’ve switched from cheap mechanical disks to much faster – but pricier – SSDs.

If you’re constantly running out of space, therefore, don’t feel too bad: that’s just the way the technology is at the moment. In five or ten years it will probably be possible to buy a huge SSD for a tiny price, but for now we must manage our limited space as best we can.

GETTING AN OVERVIEW

Windows doesn’t exactly make it easy to see what’s consuming your disk space. If you open an Explorer window, it will show you the sizes of any files in the current directory, but the “size” column is left blank for folders. If you want to find out the total size of a folder’s contents, you must right-click on it, select “Properties” and wait, possibly for a minute or more, while Windows scans its contents and calculates the total size. It’s a cumbersome process that’s hardly convenient for quickly spotting which folders are consuming more than their fair share of storage.

You can’t customise the Explorer window to show folder sizes, but you can use a replacemen­t file manager, such as the open-source Explorer++ ( explorerpl­usplus.com), which offers such an option (you’ll find it under Tools | Options | Files and Folders).

Alternativ­ely, you can keep a disk usage analysis tool on hand to keep tabs on the state of your storage. Our favourite is another open-source utility called WinDirStat, which you can download from windirstat.net.

This shows a directory tree view with folder sizes, similar to Explorer++, and adds a clever (if garish) visualisat­ion of space usage, which is organised by directory and colour-coded by file type. This can help you to instantly spot any massive files, or identify when a collection of MP3s or JPEG images is becoming unwieldy.

CLEARING OUT THE CLUTTER

If you have an acute need to free up space, deleting a few plus-sized downloads or temporary files is a great quick fix. However, it’s not just the big files you need to look out for. Once you’ve been using Windows for a year or two, your disk will probably be laden with unneeded items that are individual­ly quite reasonably sized, but which add up to tens or even hundreds of gigabytes.

It goes without saying that if you want to free up space, the first step is to empty your Recycle Bin – but we’re going to say it anyway because it’s a very easy thing to forget about. Once an item has gone from your desktop, Documents folder or wherever, the principle of “out of sight, out of mind” tends to apply, yet that file can lurk in the bin indefinite­ly and take up as much space as ever.

Once your Recycle Bin is definitive­ly emptied, your next stop should be the Storage page in the Settings app. The main pane shows how much space is in use on your primary hard disk, with bar graphs to represent how much of that is taken

up by documents, applicatio­ns and so forth. For the top graph, the full length of the bar represents the total size of the disk, whereas in the subgraphs below the bar represents used space, with the coloured sections showing what proportion of that is accounted for by different file types. It’s a bit confusing, but it can help you zero in on the dead wood.

You can click on the individual bars to get a closer look at each category of content. Some of these aren’t very useful – the Documents bar just opens an Explorer window on your Documents folder – but if you click on “Temporary files” you’ll see a breakdown of various types of system file that can safely be purged, along with a handy “Remove files” button, while clicking on Other shows you any unrecognis­ed folders that contain large wodges of data. If you’re alarmed by the amount of space taken up by applicatio­ns, you can click on the relevant bar to be taken to the automatica­lly cleans up temporary files and empties the Recycle Bin from time to time. It’s enabled with a simple switch at the top of the Storage pane; to set it up, click the link below labelled “Configure Storage Sense or run it now”. The page that opens will give you the option of clearing out unwanted files to a fixed schedule or when space runs low, and lets you choose whether to delete items that have been sitting untouched in your Downloads folder for more than a certain length of time. You can also click “Clean now” to give your hard disk an immediate sweep.

If you find all these different settings pages a tad fiddly, you can alternativ­ely use the old Disk Clean-up tool, as introduced way back in Windows 98.

It’s officially deprecated, meaning it could disappear in a future update, but it’s still available in the 20H2 release of Windows 10, and can be launched by name from the Start menu.

This tool lets you tick to clean

up eight categories of junk, including temporary files, downloads and system-generated thumbnails. Clicking the “Clean up system files” button will re-scan the system and add seven further clean-up categories, including backups of old system files that have been replaced by Windows Update and memory dump files generated when Windows crashes. On my system, these extra options accounted for 7.75GB of removable data. On the “More Options” tab you’ll also find links to remove unneeded programs, and to delete old System Restore data – although if your system has been flaky lately you might prefer to hang onto those restoratio­n points just in case.

Finally, it’s worth checking your system for needlessly duplicated files, which can accrue when you end up downloadin­g the same thing twice, or copying a folder from one location to another when you mean to move it. Windows doesn’t have an easy way of spotting duplicate files and folders, but a free tool called DupFinder

( can scan your system for duplicates and even use contentmat­ching to find duplicates with different names.

GET OFF MY DRIVE

If your hard disk is full of files that you don’t want to delete, another possibilit­y is to move them onto a different volume. If you’re using a desktop PC, it may have been supplied with a secondary drive for bulk storage; if not, you can probably install one. It might sound awkward to have your data spread across two different disks, but you can make the experience seamless by telling Windows to relocate your Desktop, Documents, Downloads and other folders onto the second disk.

To do this, right-click on one of these system folders in Explorer, open the Properties window, select the Location tab, click “Move…” and browse to your chosen destinatio­n. Once you click OK, Windows will offer to move all of your existing files across to the new location, so you can keep working exactly as before.

Things are a little less neat with a laptop, but you can use an external disk to store any files you don’t want permanentl­y hogging space on your system drive. You can even move your personal folders onto a USB disk – although you’ll naturally experience error messages and missing data if you try to use the computer without that drive connected.

Alternativ­ely, you might move your files onto a network drive. If you have another computer on your home network, you can easily set it up with a shared folder for overspill storage – although that computer will need to be kept switched on whenever you want to access your files. If you’re willing to invest a few hundred pounds, you could acquire a dedicated NAS appliance instead. Alternativ­ely, some routers offer USB ports, into which you can plug in a standard hard disk for use as network storage. This doesn’t give you the RAID protection you would get with a dedicated NAS device, but it’s a lot cheaper and no

worse than plugging an external hard disk directly into your laptop.

These solutions should all be fairly fuss-free while you’re at home, but if you want to keep your network files available while you’re out and about, you may need to set up some sort of VPN access in your router. If that sounds too much like hard work, you might be better off with a dedicated cloud storage service. Microsoft’s OneDrive supports a feature called Files On-Demand, which stores your files in the cloud, downloads them dynamicall­y when you want to access them, then re-uploads them and reclaims the disk space when you’re done. You can turn it on by rightclick­ing on the OneDrive icon in your system tray, selecting Settings and ticking the box labelled “Save space and download files as you use them”.

Dropbox users on a paid plan can use a very similar system called Smart Sync: to make a file or folder resident in the cloud, right-click it and select Smart Sync | Online Only. In the main app Preference­s you can also enable the option to “Save hard drive space automatica­lly”, which will routinely enable the Online Only mode for any files or folders you haven’t accessed in a few months.

SLIMMING DOWN WINDOWS

So, you’ve cleared out your unwanted personal files, superfluou­s apps and general Windows detritus. If you’re still hurting for space, it’s time to see if you can squeeze the operating system itself down a bit.

Start by auditing optional system components, and removing any you’re not using: this is a risk-free process because you can easily reinstall them should you later change your mind. This being Windows 10, there are two different places to check for optional components. First, open the Settings app, go to the “Apps & features” pane and click on “Optional features” to review and optionally remove apps such as Microsoft Paint and WordPad.

Next, search the Start menu for “Turn Windows features on or off”: the window that opens will show a long list of system components, such as Hyper-V and PowerShell 2.0. Untick anything that you don’t want and click OK to remove it. You’ll probably only save a few gigabytes at most by uninstalli­ng components, but if space is at a premium that could make a difference – and at any rate, it’s a sensible idea from a security standpoint to disable any technologi­es you’re not using.

Another way to reduce Windows’ footprint is to clean up the WinSxS directory. If you’ve been analysing your disk usage, you may have noticed that large subdirecto­ry inside your Windows folder – on my computer it weighs in at 9.56GB. The name stands for Windows Side by Side, and it’s used to store multiple versions of system components to ensure that all of the apps and drivers on your computer can access the resources they need (thus avoiding the “DLL Hell” issue that plagued older Windows releases).

Windows periodical­ly scans the WinSxS folder for obsolete components, but you can tell it to do so right away by opening a command prompt as Administra­tor and entering the following command:

 ??  ??
 ??  ?? “Apps & features” Settings page. Click the “Sort by:” dropdown and you can immediatel­y see which programs are eating up acres of disk space, and uninstall them there and then if you figure they’re not worth the gigabytes.
Another low-key feature – but potentiall­y a very useful one – is Storage Sense, which
LEFT The Storage pane graphs break used space down into categories
“Apps & features” Settings page. Click the “Sort by:” dropdown and you can immediatel­y see which programs are eating up acres of disk space, and uninstall them there and then if you figure they’re not worth the gigabytes. Another low-key feature – but potentiall­y a very useful one – is Storage Sense, which LEFT The Storage pane graphs break used space down into categories
 ??  ?? BELOW The free DupFinder sniffs out pesky duplicate files in your system
BELOW The free DupFinder sniffs out pesky duplicate files in your system
 ??  ?? ABOVE The opensource file manager Explorer++ reveals the size of folders
ABOVE The opensource file manager Explorer++ reveals the size of folders
 ??  ?? LEFT Compressin­g files can take quite a while so make yourself a cuppa
LEFT Compressin­g files can take quite a while so make yourself a cuppa
 ??  ?? LEFT WinDirStat provides a trippy visualisat­ion of how storage is being used
LEFT WinDirStat provides a trippy visualisat­ion of how storage is being used
 ??  ?? ABOVE Storage Sense allows you to automate certain housekeepi­ng tasks
ABOVE Storage Sense allows you to automate certain housekeepi­ng tasks

Newspapers in English

Newspapers from United Kingdom