Liberar espaço em disco

Free up disk space on Windows Server 2019

The same with previous Windows version, disk drives in Server 2019 runs out of disk space, too. To data drives that used for backup or projects, you may transfer files and change files output location to other drives. But to system C drive, it is much more complicated. This article introduces how to free up disk space in Windows Server 2019 with Disk Cleanup and other methods, then you can reclaim disk space in C drive. In addition, you’d better increase C drive to larger size with free space in other drives.

Run Windows Disk Cleanup utility

The same with previous versions, Windows Server 2019 has built-in Disk Cleanup utility to free up disk space. It can scan and delete most of the unnecessary files in your disk drive. I use Disk Cleanup from Windows XP whose GUI and steps keep the same over 10 years. I still like to use this tool, because it is easy and fast, the most important – safe.

Steps to free up disk space in Windows Server 2019:

  1. Imprensa Windows E R no teclado, digite cleanmgr e prima OKEY.Run disk cleanup
  2. Select the drive that you want to clean up and click OK.Selecione a unidade
  3. Click the check-box in front of the files that you want to clear up. If you don’t know what files are included, click each option and you’ll see its description.

Selecionar arquivos

Selecionar arquivos

Click OK and Disk Cleanup will begin to clear up.

Limpeza

This is my test server that installed not long ago, so there are few junk files to clean up. To the computers that are running for a long time but never freeing up disk space, you may reclaim over 10 GigaBytes disk space.

Opções adicionais para liberar espaço em disco

If you want to regain more disk space from C drive, you may try the options below:

1. Delete Shadow Copies

Se você ativou a cópia de sombra, você pode excluir os Copes anteriores.

  1. Abrir explorador de ficheiros de janela
  2. Clique com o botão direito na unidade C e clique Propriedades, and then switch to Cópias de sombra.
  3. Selecione as cópias anteriores e clique em Excluir agora.

Shadow copies

2. Reset Recycle Bin

Todos os arquivos que excluiu pressionando DEL sem tecla SHIFT irá para lixeira, onde você pode reverter esses arquivos para o local original manualmente se você excluiu-los por engano. Lixeira usar parte do espaço de unidade C por padrão, para que mais arquivos na lixeira significa menos espaço livre na unidade C.

You can change the location of Recycle Bin to other larger partition.

  1. Clique com o botão direito Lixeira.
  2. Selecione a unidade para lixeira.
  3. Select Customer size and enter an amount.

Lixeira

3. Reset Page file

O arquivo de paginação usa parte do espaço em disco como RAM virtual e está localizado na unidade C por padrão. Você pode alterá-lo para outra partição quando a unidade C está em baixa. Passos:

  1. Clique com o botão direito Windows bandeira na parte inferior esquerda e selecione Configurações
  2. Type “advanced” and select View advanced system settings
  3. Clique Configurações below Performance in Avançado tab.
  4. Clique Mudar below Virtual Memory
  5. Select drive, enter amount of Initial size and Maximum size in Customer size, and then click Definir E OKEY. (Requer reinicialização para ter efeito.)

Page file

4. Uninstall apps

You may uninstall some programs that you no longer use or that came preinstalled on your computer from the manufacturer. Steps:

  1. Aberto Configurações
  2. Clique Apps > Aplicativos e recursos
  3. Clique nos itens que você deseja remover e clique em Desinstalar.

All options above help you regain disk space in Windows Server 2019, then there will be more free space in C drive, so the server could back to right way. However, this is not the final step.

Aumentar o tamanho da partição

Many people feedback that C drive become full again after freeing up disk space. New files are written and generated in C drive continuously, so the free space by cleaning up disk will be eaten up quickly by new files. You’d better expand C drive to larger size, so there will be plenty of free space.

NIUBI Partition Editor can expand C drive with Unallocated or free space of other drives in the same disk. Integrated with innovative 1 Second Rollback technology, NIUBI can ensure system and data intact.

Download NIUBI Partition Editor e siga os passos no vídeo:

Final steps

Windows Disk Cleanup helps you reclaim disk space, NIUBI Partition Editor helps you increase C drive space, but to completely solve C drive full issue, you’d better also complete the steps below:

1. Save files to new location

You can change the default save locations for apps, documents, music, pictures, and videos to other place, so these types of new files will be saved to other partitions.

  1. Aberto Configurações.
  2. Clique SistemaArmazenamento.
  3. Em "mais configurações de armazenamento", clique em Alterar onde o novo conteúdo é salvo.
  4. Clique no menu suspenso para selecionar o novo local.

2. Change output location for programs

All programs are installed to C drive by default and many of them output files there, too. The programs for videos and projects, as well as some Windows services output many large files, so you’d better change the default output location to other large drives.

3. Turn on Storage Sense

Senso de armazenamento can free up disk space automatically when a drive is running out of space. It can delete temporary files and files in Recycle Bin and the Downloads folder. To enable Storage Sense in Windows Server 2019:

  1. Aberto Configurações
  2. Ir para Sistema > Armazenamento
  3. Desligue para ligado em sentido de armazenamento no lado direito.

4. Free up disk space regularly

Storage Sense free up disk space automatically but only when the drive is running low, and it can only clear up part of the junk files, so you should run standalone Disk Cleanup utility regularly (once a month).

Em resumo

When system C drive is getting full in Windows Server 2019, the right strategy is:

  1. Free up disk space to get some precious free space.
  2. Executar NIUBI Partition Editor to expand C drive as large as possible.
  3. Run Disk Cleanup monthly to clear up new junk files.

Download NIUBI