6

I have a large hard drive, but over the course of time, I find that I now only have 5 GB of space. While manually looking through my hard drive, I noticed that the folder C:\ProgramData\Microsoft takes up 2.2 GB of space.

Is it possible to manually delete C:\ProgramData\Microsoft folder or at the very least reduce the size of this folder without breaking Microsoft programs?

If there are other ways to reduce the size of this folder, please detail the necessary steps to take.

Dennis
  • 50,701

5 Answers5

3

You cannot delete the Program Data folder. Instead look at other options. Some of them will be:

  1. Disable hibernation and delete the hidden hiberfil.sys
  2. Move the page file from C:\ drive to an alternate drive.
  3. Run CCleaner and see if helps clean up some stuff.
  4. See if you can uninstall some junk / obselete / now unwanted programs.
  5. Check for Memory.dmp file in C:\Windows. This is a BSOD file that may take up space.
Ganesh R.
  • 5,259
2

Is it possible to manually delete C:\ProgramData\Microsoft folder or at the very least reduce the size of this folder without breaking Microsoft programs?

No.

If there are other ways to reduce the size of this folder, please detail the necessary steps to take.

There is one possibility.

That is the default location for the windows search database, which can be several gigabytes on its own. If this happens to be indexing more information that you really need, then you could reduce the database size by excluding these options from the index.

To do that, you go the your Control Panel and search for 'Indexing options' it this should allow you see what is being currently indexed and you can modify the criteria.

You may also need to delete and rebuild the index which can be done from the advanced section. (It also allows you to change the location of the database, but I presume that isn't off any benefit to you)

sgmoore
  • 6,599
2

You can delete the contents of the \ProgramData\Microsoft\Windows\Caches\ folder, and you can also delete contents of \ProgramData\Microsoft\Windows\Power Efficiency Diagnostics. These will automatically re-generate. Some of these files you won't be able to delete even by taking ownership of the files, but Unlocker can delete them. When you then reboot, you will see the files get re-created by themselves, given time.

If you don't use Windows Defender you can also delete its definition files in ProgramData. Etc.

But no, you should not delete ProgramData\Microsoft.

trala
  • 21
1

No, it isn’t. This folder contains files used by Windows and other applications.

kinokijuf
  • 8,364
0

I have two subfolders under ProgramData\Microsoft:

  • HelpLibrary 1GB
  • HelpLibrary2 2GB

which are help files for old versions of Visual Studio. The parts for ver. 12 and 14 are empty, but ver. 10 and 11 left total of 3GB junk after uninstall. I deleted them manually without causing any problems, since I'm using only ver. 15 of Visual Studio.

Paul Jurczak
  • 275
  • 1
  • 2
  • 12