[SOLVED] C:\ProgramData\Package Cache

Solution
The package cache provides a source of installed packages in case you need to repair Visual Studio or other related products in cases where you have no Internet connection. With some drives or system set ups, however, you might not want to keep all those packages around. The installer will download them when needed, so if you want to save or recover disk space, you can disable or move the package cache.
https://docs.microsoft.com/en-us/visualstudio/install/disable-or-move-the-package-cache?view=vs-2019

TechQuestion1

Great
BANNED
Jan 13, 2020
134
3
85
Hello

There is another built-in Administrator account that is disabled by default. What you can do is, launch CMD as Administrator, go to the path using CD C:\ProgramData\Package Cache and then use DEL command to delete all the contents.

Alternatively, you can go Boot Windows in Safe Mode and then try deleting the contents.

Feel free to report back for any further assistance.

Cheers!!

Thanks, i read that deleting this can breack the OS so im unsure to do it now.
Im just woondering, all the package cache, its created over time right it wasnt there from the begging?
 

Colif

Win 11 Master
Moderator

TechQuestion1

Great
BANNED
Jan 13, 2020
134
3
85
Well, this does suggest that MIcrosoft say Don't delete it. and it offers a solution, move it instead... it can be moved to a USB or DVD if you can still mount it in windows

https://superuser.com/questions/455853/can-i-delete-the-folder-c-programdata-package-cache

it is used for visual studio downloads. Now since you also deleted all of windows update, its questionable if it will do any more damage than you already have.

I dont have any damage neither does my PC, some things like windows store and windows update aswell as all the pre installed bloatware, i gave my best to get rid of it and it worked.
Imagine my OS still works just without windows update, so what is broken ? i cant use the windows update or store, yeah? its not broken that what i wanted exactly...

And i am just curious what is inside the package cache file ?

Maybe i will better use my search engine to find this out on my own.

But if you know what exactly these files are, please explain detailed.
 

Colif

Win 11 Master
Moderator
The package cache provides a source of installed packages in case you need to repair Visual Studio or other related products in cases where you have no Internet connection. With some drives or system set ups, however, you might not want to keep all those packages around. The installer will download them when needed, so if you want to save or recover disk space, you can disable or move the package cache.
https://docs.microsoft.com/en-us/visualstudio/install/disable-or-move-the-package-cache?view=vs-2019
 
  • Like
Reactions: TaQuangKhoi
Solution