Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #182593

Re: Windows %TEMP% folder & files

From Frank Slootweg <this@ddress.is.invalid>
Newsgroups alt.comp.os.windows-10
Subject Re: Windows %TEMP% folder & files
Date 2025-02-27 13:29 +0000
Organization NOYB
Message-ID <vppss0.ddo.1@ID-201911.user.individual.net> (permalink)
References <vpn7gg$2jeht$1@dont-email.me> <vpnkfg$2lrls$1@dont-email.me> <e4349lx2gk.ln2@Telcontar.valinor> <vpo23a.nco.1@ID-201911.user.individual.net> <sfiuwyjydahk$.dlg@v.nguard.lh>

Show all headers | View raw


VanguardLH <V@nguard.lh> wrote:
> Frank Slootweg <this@ddress.is.invalid> wrote:
> 
> >   One thing I noted in my %TEMP% folder [1], is that, while there are
> > quite a lot of files and folders which use quite some space (210 Files,
> > 105 Folders, Size 312MB), they are not very old! The oldest (both files
> > and folders) are of December 17, so a bit over two months old.
> > 
> >   So it seems the %TEMP% folder *is* being cleaned by some mechanism.
> > 
> >   Anybody having any insight on what is doing that cleaning?
> > 
> > [1[ C:\Users\<user>\AppData\Local\Temp
> 
> Windows has its own cleanup schedule.  Look in Task Scheduler under
> Microsoft -> Windows for DiskCleanup.  That cleans when space is low.  I
> thought there was another cleanup event, but don't remember it now.  Of
> course, it's possible cleanmgr.exe was scheduled to run, but you had to
> add that.
> 
> In the Start Menu, search on "storage sense".  Or, go to Settings ->
> System -> Storage.  If that is enabled, it cleans up the drive(s).
> There is a "Configure Storage Sense or run it now" link there.  Click on
> it to see, if enabled, at what intervals it runs.
> 
> https://support.microsoft.com/en-us/windows/manage-drive-space-with-storage-sense-654f6ada-7bfc-45e5-966b-e24aded96ad5

  Thanks for that! You hit the nail on the head!

[BTW, my system is Windows 11, but probably most, if not all, of this
also goes for Windows 10.]

  There's indeed a 'SilentCleanup' task in the DiskCleanup Task
Scheduler folder which runs 'cleanmgr.exe /autocleanstoragesense' and it
has run today at 09:03.

  The task is indeed triggered from outside the Task Scheduler, because
the 'Next Run Time' field is empty and there are no triggers on the
'Triggers' tab of the task.

  'Storage Sense' is Off, but on the Storage Sense page (in Settings),
there is this section:

"Cleanup of temporary files

 [V] Keep Windows running smootly by automatically cleaning up temporary
     system and app files"

  So 'Disk Clean-up' (cleanmgr.exe) only cleans temporary files, not any
of its other possible tasks, and it does this anyway, not just "when
disk space is running low" (I have 760GB free), so the 'Description:' of
the Task Scheduler task is a bit misleading.

  The 'Storage Sense' part (in Settings) says it "runs when disk space
is low", but, as mentioned, Storage Sense is off on my system and indeed
says "We have cleaned up 0 bytes in the past month.".

  Summary: This setting causes the %TEMP% folder to be cleaned
automatically:

Settings -> System -> Storage -> Storage Sense ->

"Cleanup of temporary files

 [V] Keep Windows running smootly by automatically cleaning up temporary
     system and app files"

  Thanks again, VanguardLH!

Back to alt.comp.os.windows-10 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Windows %TEMP% folder & files Jim Dell <Jim.Dell@gmail.com> - 2025-02-26 09:12 -0500
  Re: Windows %TEMP% folder & files "R.Wieser" <address@is.invalid> - 2025-02-26 16:51 +0100
  Re: Windows %TEMP% folder & files Paul <nospam@needed.invalid> - 2025-02-26 12:53 -0500
    Re: Windows %TEMP% folder & files "Carlos E.R." <robin_listas@es.invalid> - 2025-02-26 19:29 +0100
      Re: Windows %TEMP% folder & files Frank Slootweg <this@ddress.is.invalid> - 2025-02-26 20:46 +0000
        Re: Windows %TEMP% folder & files Ed Cryer <ed@somewhere.in.the.uk> - 2025-02-26 21:15 +0000
          Re: Windows %TEMP% folder & files Newyana2 <newyana@invalid.nospam> - 2025-02-26 20:06 -0500
            Re: Windows %TEMP% folder & files Paul <nospam@needed.invalid> - 2025-02-26 21:09 -0500
            Re: Windows %TEMP% folder & files Ed Cryer <ed@somewhere.in.the.uk> - 2025-02-27 11:15 +0000
              Re: Windows %TEMP% folder & files Newyana2 <newyana@invalid.nospam> - 2025-02-27 07:34 -0500
                Re: Windows %TEMP% folder & files Ed Cryer <ed@somewhere.in.the.uk> - 2025-02-27 19:00 +0000
                Re: Windows %TEMP% folder & files Newyana2 <newyana@invalid.nospam> - 2025-02-27 16:54 -0500
                Re: Windows %TEMP% folder & files Ed Cryer <ed@somewhere.in.the.uk> - 2025-02-27 22:54 +0000
                Re: Windows %TEMP% folder & files Frank Slootweg <this@ddress.is.invalid> - 2025-03-01 15:29 +0000
        Re: Windows %TEMP% folder & files VanguardLH <V@nguard.LH> - 2025-02-26 16:06 -0600
          Re: Windows %TEMP% folder & files Frank Slootweg <this@ddress.is.invalid> - 2025-02-27 13:29 +0000
        Re: Windows %TEMP% folder & files Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2025-02-27 12:37 +0200
      Re: Windows %TEMP% folder & files Char Jackson <none@none.invalid> - 2025-02-26 17:57 -0600
        Re: Windows %TEMP% folder & files John <Man@the.keyboard> - 2025-02-27 12:01 +0000
      Re: Windows %TEMP% folder & files Zaidy036 <Zaidy036@air.isp.spam> - 2025-02-26 19:20 -0500
  Re: Windows %TEMP% folder & files Newyana2 <newyana@invalid.nospam> - 2025-02-26 13:42 -0500
  Re: Windows %TEMP% folder & files VanguardLH <V@nguard.LH> - 2025-02-26 13:55 -0600
    Re: Windows %TEMP% folder & files VanguardLH <V@nguard.LH> - 2025-02-26 14:23 -0600
  Re: Windows %TEMP% folder & files John <Man@the.keyboard> - 2025-02-27 11:47 +0000
    Re: Windows %TEMP% folder & files Jim Dell <Jim.Dell@gmail.com> - 2025-02-27 08:49 -0500
      Re: Windows %TEMP% folder & files Frank Slootweg <this@ddress.is.invalid> - 2025-02-27 15:00 +0000
    Re: Windows %TEMP% folder & files Jim Dell <Jim.Dell@gmail.com> - 2025-02-27 08:49 -0500
  Re: Windows %TEMP% folder & files "John C." <r9jmg0@yahoo.com> - 2025-02-27 06:43 -0800
    Re: Windows %TEMP% folder & files Frank Slootweg <this@ddress.is.invalid> - 2025-02-27 15:31 +0000
      Re: Windows %TEMP% folder & files "John C." <r9jmg0@yahoo.com> - 2025-02-28 05:29 -0800
        Re: Windows %TEMP% folder & files Paul <nospam@needed.invalid> - 2025-02-28 12:32 -0500
          Re: Windows %TEMP% folder & files "John C." <r9jmg0@yahoo.com> - 2025-03-02 06:11 -0800
        Re: Windows %TEMP% folder & files VanguardLH <V@nguard.LH> - 2025-02-28 11:39 -0600
          Re: Windows %TEMP% folder & files "John C." <r9jmg0@yahoo.com> - 2025-03-02 06:14 -0800
            Re: Windows %TEMP% folder & files Frank Slootweg <this@ddress.is.invalid> - 2025-03-02 15:20 +0000
              Re: Windows %TEMP% folder & files Paul <nospam@needed.invalid> - 2025-03-02 14:57 -0500
                Re: Windows %TEMP% folder & files Frank Slootweg <this@ddress.is.invalid> - 2025-03-02 20:28 +0000
              Re: Windows %TEMP% folder & files "John C." <r9jmg0@yahoo.com> - 2025-03-03 06:15 -0800
            Re: Windows %TEMP% folder & files VanguardLH <V@nguard.LH> - 2025-03-02 14:44 -0600
        Re: Windows %TEMP% folder & files Mr Xi Ji Ping <ping@china.cn> - 2025-02-28 17:39 +0000
          Re: Windows %TEMP% folder & files VanguardLH <V@nguard.LH> - 2025-02-28 12:10 -0600
          Re: Windows %TEMP% folder & files "John C." <r9jmg0@yahoo.com> - 2025-03-02 06:18 -0800
        Re: Windows %TEMP% folder & files Jim Dell <Jim.Dell@gmail.com> - 2025-03-01 19:11 -0500
    Re: Windows %TEMP% folder & files John <Man@the.keyboard> - 2025-02-28 23:40 +0000
  Re: Windows %TEMP% folder & files Zaidy036 <Zaidy036@air.isp.spam> - 2025-02-27 10:03 -0500

csiph-web