It was good to be in the habit of periodically deleting the temp files created in c:\\tmp by windows and other software, or else you'd risk filling up your fancy. Windows server 2019 the problem: It will try to delete.
The temp folder will open, ctrl+a to select all and ctrl+del to delete all files, some files and folders will give you issues (permission etc.) just skip and make sure to check the apply.
The temp folder is not always deleted, even after proper shutdowns, and the space can pile up to large proportions. Make sure you are indeed in the temp folder, then hit yes. In theory, appdata's temp folder (%temp%) is the place for programs to put files that can be deleted immediately after all handles to them are closed. I wondered if deleting the contents of it won't harm my computer.
One of our servers has a lot of accumulated files under c:\windows\temp folder. The question is quite straight forward, i need a list of environment variables (which is a fixed list) and is answered by dennis williamson. The %temp% in the run command line will show the contents of the logged in user's temp folder. You don't need to delete the folder itself though, only its content.
I always recommend deleting as many files as possible in this folder, as they are only.
I wanted to do disk cleanup myself and found a large folder in %localappdata% called temp. Since windows 11 (or maybe earlier) windows notepad internally stores unsaved files so if the application (or windows) crashes they will be still there later.