Prevent window from cleaning temp folder

Anonymous
2024-12-04T10:15:27+00:00

Hello,

I need help with preventing Windows from automatically deleting files in the C:\Users\<username>\AppData\Local\Temp folder. I have turned off Storage Sense, but I still have the option “Keep Windows running smoothly by automatically cleaning up temporary system and app files” checked.

Is this setting causing Windows to delete files in the Temp folder? If so, how can I stop this from happening.

Thank you for your assistance!

Windows for business Windows Server User experience Remote desktop services and terminal services

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2024-12-05T02:22:46+00:00

    Hello,

    It seems there's a bit of a misunderstanding regarding Storage Sense. Storage Sense primarily handles the automatic cleanup of user content, such as files from the Recycle Bin, Downloads folder, and OneDrive, when it is turned on. Therefore, toggling Storage Sense on or off wouldn't directly impact the temporary files created by applications.

    Have you tried simply unchecking the option “Keep Windows running smoothly by automatically cleaning up temporary system and app files”? This setting is more directly related to the cleanup of temporary files and could be the cause of the Temp folder files being deleted. Unchecking this box should prevent Windows from automatically removing those temporary system and app files.

    I hope this information helps.

    Best regards,

    Karlie Weng

    0 comments No comments

0 additional answers

Sort by: Most helpful