Click here to Skip to main content
14,425,856 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Where do the gigabytes go? Pin
Cp-Coder20-Nov-19 4:42
MemberCp-Coder20-Nov-19 4:42 
GeneralRe: Where do the gigabytes go? Pin
Eddy Vluggen20-Nov-19 5:27
mveEddy Vluggen20-Nov-19 5:27 
GeneralRe: Where do the gigabytes go? Pin
obermd21-Nov-19 4:28
Memberobermd21-Nov-19 4:28 
GeneralRe: Where do the gigabytes go? Pin
Rage20-Nov-19 7:19
professionalRage20-Nov-19 7:19 
GeneralRe: Where do the gigabytes go? Pin
Cp-Coder20-Nov-19 8:19
MemberCp-Coder20-Nov-19 8:19 
GeneralRe: Where do the gigabytes go? Pin
Nelek20-Nov-19 9:38
protectorNelek20-Nov-19 9:38 
GeneralRe: Where do the gigabytes go? Pin
Cp-Coder20-Nov-19 9:43
MemberCp-Coder20-Nov-19 9:43 
GeneralRe: Where do the gigabytes go? Pin
Member 798912220-Nov-19 23:00
MemberMember 798912220-Nov-19 23:00 
We used to do that at work, frequently restoring a clean machine. This was essentially for the software test setups: We wanted tests to be run in a controlled environment.

It worked OK for the first few weeks, maybe a month or two. But then the Windows Updates started piling up (the security guys in the IT group demanded that we install them all. If you install a six month old image, you have to rerun all the same updates as you did when installing the image the week before, and two weeks before, collected over the six months, plus those of last week. It might take an hour or two running the updates.

I think this must have bothered a lot of users. MS did tune up its update procedures to speed up things. This was a few years ago.

We couldn't wait for the update processing (maybe several times a week). So we made an cleanup script to do all the things mentioned here: Clean up all temp directories (including personal ones in \users\<username>\AppData\Local for all users), the \users\<username>\AppData\pip directory (if you are using Python software), any .log, .temp or .tmp file, uninstall files, browser caches, and a number of locations particular to the tools we are using. Nowadays we are introducing Docker, and if your users are not well behaved and forget to include the -rm option when they run a container, you'll soon have a big pile of stale containers that must be cleaned out by a 'docker system prune'.

To catch the big disk space thiefs, I would recommend TreeSize Free[^] (there is a fancy 'pro' pay version as well, but the free version will do the job). It may run as Administrator, to map space usage in directories you cannot access as a non-prileged user. It certianly is not without flaws, but is is fast, catches the most obvious space hogs, and it is free.
GeneralRe: Where do the gigabytes go? Pin
Nelek21-Nov-19 9:28
protectorNelek21-Nov-19 9:28 
GeneralRe: Where do the gigabytes go? Pin
Member 798912221-Nov-19 22:54
MemberMember 798912221-Nov-19 22:54 
GeneralRe: Where do the gigabytes go? Pin
maze321-Nov-19 0:28
professionalmaze321-Nov-19 0:28 
GeneralRe: Where do the gigabytes go? Pin
Member 1457777722-Nov-19 9:03
MemberMember 1457777722-Nov-19 9:03 
GeneralRe: Where do the gigabytes go? Pin
OriginalGriff22-Nov-19 9:04
communityengineerOriginalGriff22-Nov-19 9:04 
GeneralRe: Where do the gigabytes go? Pin
Member 1457777722-Nov-19 11:08
MemberMember 1457777722-Nov-19 11:08 
GeneralCCC Pin
pkfox19-Nov-19 23:57
professionalpkfox19-Nov-19 23:57 
GeneralRe: CCC Pin
Duncan Edwards Jones20-Nov-19 0:03
professionalDuncan Edwards Jones20-Nov-19 0:03 
GeneralRe: CCC Pin
pkfox20-Nov-19 0:23
professionalpkfox20-Nov-19 0:23 
GeneralRe: CCC Pin
OriginalGriff20-Nov-19 0:39
communityengineerOriginalGriff20-Nov-19 0:39 
GeneralRe: CCC Pin
OriginalGriff20-Nov-19 1:05
communityengineerOriginalGriff20-Nov-19 1:05 
GeneralRe: CCC Pin
lw@zi 20-Nov-19 1:11
professional lw@zi 20-Nov-19 1:11 
GeneralRe: CCC Pin
digimanus20-Nov-19 1:58
Memberdigimanus20-Nov-19 1:58 
GeneralRe: CCC Pin
pkfox20-Nov-19 2:42
professionalpkfox20-Nov-19 2:42 
GeneralReal news, from the future! Pin
Super Lloyd19-Nov-19 23:20
MemberSuper Lloyd19-Nov-19 23:20 
GeneralRe: Real news, from the future! Pin
RickZeeland20-Nov-19 0:32
communityengineerRickZeeland20-Nov-19 0:32 
GeneralMini CCCs 146 Pin
Tim Deveaux19-Nov-19 20:34
MemberTim Deveaux19-Nov-19 20:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.