Applies ToWindows 8.1

Getting a message that your PC is running out of room can be a stressful event—or, even a genuine emergency if you're in the middle of an important project. The good news is you can probably free up a lot of space on your PC running Windows by following the tips here. But if you keep getting messages about low drive space, you might want to consider other options, including adding additional removable storage.

To get the most out of these tips, do them in order from top to bottom.

  1. Swipe in from the right edge of the screen, tap Settings, and then tap Change PC settings. (If you're using a mouse, point to the lower-right corner of the screen, move the mouse pointer up, click Settings, and then click Change PC settings.)

  2. Select PC and devices, and then select Disk space.

  3. Under Free up space on this PC, note the amount of free space and total size.

  • You can view the size of your Windows Store apps and choose whether to uninstall them by tapping or clicking See my app sizes.

  • You can also free up space by tapping or clicking Empty my Recycle Bin if you have files there.

  • You can check the current space on your PC in File Explorer by searching for This PC.

Cleaning out your PC on a regular basis frees up drive space and helps it run better. One of the easiest ways to clean up files you no longer need is by using Disk Cleanup.

  1. Open Disk Cleanup by clicking the Start button . In the search box, type Disk Cleanup, and then, in the list of results, select Disk Cleanup.

  2. If prompted, select the drive that you want to clean up, and then select OK.

  3. In the Disk Cleanup dialog box in the Description section, select Clean up system files.

  4. If prompted, select the drive that you want to clean up, and then select OK.

  5. In the Disk Cleanup dialog box, on the Disk Cleanup tab, select the check boxes for the file types that you want to delete, and then select OK. To remove data from a previous installation of Windows, select the Previous Windows installation(s) check box.

  6. In the message that appears, select Delete files.

  7. Go back to Computer in File Explorer, select the drive you cleaned up, and then select Refresh. If you need to free more space (the drive is still marked red), go to the next tip.

 

Uninstall desktop apps you don't need any more in Programs and Features.

To uninstall or change a program

  1. Open Programs and Features by clicking the Start button , clicking Control Panel, clicking Programs, and then clicking Programs and Features.

  2. Select a program, and then click Uninstall. Some programs include the option to change or repair the program in addition to uninstalling it, but many simply offer the option to uninstall. To change a program, click Change or Repair. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

If the program you want to uninstall isn't listed, it might not have been written for this version of Windows. To uninstall the program, check the information that came with the program.

 

You can also uninstall Store apps you don't want anymore.

  1. Swipe in from the right edge of the screen, tap Settings, and then tap Change PC settings. (If you're using a mouse, point to the lower-right corner of the screen, move the mouse pointer up, click Settings, and then click Change PC settings.)

  2. Select Search and apps, and then select App sizes to see how much space each app is taking on the local drive.

  3. Once you locate an app you want to uninstall, select the app, and then select Uninstall.

This will only uninstall Store apps from your user account.

 

If you have photos, music, videos, or other files that you want to keep but don't necessarily want on your PC, consider saving them to removable media, such as an external drive, USB drive, DVD, or cloud storage. You'll still be able to view those files as long as your PC is connected to the removable media or cloud storage, but they won't take up space on your PC.

  1. Open This PC by swiping in from the right edge of the screen, tapping Search (or if you're using a mouse, pointing to the upper-right corner of the screen, moving the mouse pointer down, and then clicking Search), entering This PC in the search box, and then tapping or clicking This PC.

  2. In the Search This PC box in the upper-right, enter size:huge.

  3. Select the View menu, select Sort by, and then select Size. The largest files display at the top.

  4. Once you locate a file you want to delete, press and hold or right-click the file and then select Delete.  

Deleting files from the WinSxS folder or deleting the entire WinSxS folder might severely damage your system and make it impossible to restart or update your PC.

The WinSxS folder is located in the Windows folder on your PC (for example, C:\Windows\WinSxS). It stores the Windows Component Store files, which are used to support functions needed to customize and update Windows. You can use the Task Scheduler to reduce the size of this folder.

  1. Swipe in from the right edge of the screen, and then tap Search. (If you're using a mouse, point to the lower-right corner of the screen, move the mouse pointer up, and then click Search.)

  2. Enter Control Panel in the search box, and then select Control Panel.

  3. Select System and Security, and then select Schedule tasks under Administrative Tools.

  4. Select the arrow next to Task Scheduler Library, select Microsoft, select Windows, and then select Servicing.

  5. Select StartComponentCleanup, and then select Run under Selected item.  

Files that are available offline take up more space on your PC. OneDrive also needs 200 MB of free space on your PC to sync your files. To free up space, you can make some files or folders online-only.

  • If you have Access all files offline turned on, you need to first turn off this setting before you can make files online-only.

  • If you have pending uploads to OneDrive, you need to wait until they are completed before making files online-only.

 

  1. On the Start screen, select OneDrive to open the OneDrive app.

  2. Browse to the file or folder you want to make online-only.

  3. Swipe down or right-click the file or folder to select it.

  4. Select Make online-only. To make your entire OneDrive online-only, swipe in from the right edge of the screen (or, if you're using a mouse, point to the lower-right corner of the screen, and move the mouse pointer up), select Settings, select Options, and then select Make all files online-only.  

  1. Open File Explorer by swiping in from the right edge of the screen, tapping Search (or if you're using a mouse, pointing to the upper-right corner of the screen, moving the mouse pointer down, and then clicking Search), entering File Explorer in the search box, and then tapping or clicking File Explorer.

  2. Browse to the file or folder you want to make online-only.

  3. Press and hold or right-click the file or folder, and then choose Make available online-only. To make your entire OneDrive online-only, press and hold or right-click OneDrive, and then choose Make available online-only.  

The removable drive will need to be formatted with the NTFS file system.

To check space availability

Before you move your OneDrive files, you should make sure the removable drive has enough space to store your files. Follow these steps:

  1. Open File Explorer by swiping in from the right edge of the screen, tapping Search (or if you're using a mouse, pointing to the upper-right corner of the screen, moving the mouse pointer down, and then clicking Search), entering File Explorer in the search box, and then tapping or clicking File Explorer.

  2. Press and hold or right-click OneDrive.

  3. Select Properties, and then look at the amount next to Size on disk.

  4. In File Explorer, select This PC, and then see how much space is free on the removable drive.

To move your OneDrive files

First, you'll need to create a folder on the removable drive for your OneDrive files. After you create the folder, follow these steps to move your files:

Moving your OneDrive files will cancel any pending uploads.

  1. In File Explorer, press and hold or right-click OneDrive.

  2. Select Properties, and then select the Location tab.

  3. Select Move.

  4. Browse to the removable drive, and then select Select Folder.

  5. In the OneDrive Properties dialog box, select OK.

  6. In the Move Folder dialog box, select Yes. Your OneDrive files have been moved to the new drive. You can now delete the old OneDrive location.

For more help with moving files in OneDrive, contact customer support.

 

A longer-term strategy for expanding your PC's storage capacity is to add removable storage, including SD cards, USB flash drives, DVDs or CDs, or using cloud storage or network drives. Removable storage options:

  • Secure Digital (SD) cards. There are few different types of cards, including SD (32.0x24 mm), miniSD (21.5x20 mm), and microSD (15.0x11 mm). It's important to check with your PC manufacturer to understand which types of SD cards options are available on your PC.

If you're using Surface, you can add up to 64 GB of storage with a microSD card. On Surface RT, the microSD card reader is located under the kickstand on the right side. On Surface Pro, the card reader is located on the right edge, above the power connection.

  • USB and external drives. Most PCs include one or more USB ports that you can plug a USB flash or external drives into. Some newer PCs include a USB 3.0 port, which includes faster transfer speeds of up to 10 times USB 2.0. While you can use a USB 2.0 flash drive in a USB 3.0 port (at USB transfer speeds), you can't use a USB 3.0 flash drive with a USB 2.0 port. Check with your PC manufacturer to understand which USB ports your PC supports.

  • DVDs and CDs. If your PC has a CD, DVD, or Blu-ray Disc drive that can read and write to a blank disc, you can use the drive to store data, much like an SD or USB flash drive. Here's how: When you insert a blank disc into the PC, choose Like a USB flash drive from the list of options.

  • Cloud storage using OneDrive. Windows comes with the OneDrive app, which helps you get to your free OneDrive storage in the cloud, sometimes referred to as online storage. You can save files to OneDrive and work with them in several different ways: on the website (OneDrive.com), with the app for Windows 8.1 and Windows RT 8.1, with the desktop apps for a PC or Mac, and with apps for your mobile devices.

  • To see how much storage is available, and add more storage, swipe in from the right edge of the screen (or, if you're using a mouse, point to the lower-right corner of the screen), select Settings, select Change PC settings, and then select OneDrive. You can also go to Manage storage on the OneDrive website.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Find solutions to common problems or get help from a support agent.