Don't forget to clean the Temp folder

When quoting, just click the “Like” button

To clean the registry and unnecessary files There are many operating systems special programs. Reg Cleaner, Reg Organizer, CCleaner - just a few free programs, which can be safely used to maintain the hygiene of the operating system. But not only the operating system requires constant care, the system HDD also requires regular user attention. Piling up the system disk with unnecessary files can cause the system to freeze, it will work slower, and in the end, you will not be left alone by a system message stating that drive C is overloaded and requires active user participation in solving the problem.

Overloading the system disk is far from an alien phenomenon for Windows 7 and 8. Both versions of the system require at least 16 GB free space on disk. Along with installed programs on system disk, the volume of the latter quickly grows to 20-25 GB. For low-power office machines or old computers manufactured in the mid-2000s, this immediately affects their performance.

Freeing up space on the hard system drive is done manually. You can remove unused programs or move them to a non-system drive by reinstalling them. You can also free up space on your system disk by deleting unnecessary files from the Temp folder.

The purpose of the Temp system folder is to store temporary files. These could be program installers downloaded on the Internet, these could be unzipped files that you don’t even know about, these could be fragments of office documents, these could be various add-ons to programs that automatically end up in this folder. Ideally, the Temp folder is for temporary files, but such temporary files often become permanent, piling up unnecessary rubbish system disk.

For users who actively use a long-installed operating system, unaware of the existence of dead weight, the volume of the Temp folder can reach 4-5 GB. Notable numbers, right?

The Temp folder itself cannot be deleted. And it is unlikely that you will be able to destroy it if you do not have access to perform such an operation. But regularly deleting unnecessary files from this folder will relieve the load on the system disk.

The Temp folder is located on the system drive - usually drive C -, in the Windows folder. This is a general temporary folder, but there is also a user folder, it is located in the user folder (C:\Users\username\AppData\Local).

We delete temporary files from these folders.


2. If it contains the documents or files you need, transfer them to a non-system drive - drive D or E.

3. Select and delete all other files.


Now all that remains is to clean the user's temporary Temp folder.


2. Now you need to display hidden folders and files. To do this, in Windows 7, click on the Organize button - Folder and Search Options.


In Windows 8 - go to the View tab - Options - Change folder and search options.


In the Folder Options window, go to the View tab and enable the Show hidden files and folders options and uncheck the Hide protected system files option.


4. Select all files (key combination Ctrl + A on the keyboard) and delete.


If during the deletion process the File is already in use dialog box appears, check the box next to Execute for all current items and click the Skip button.

If any files remain in this folder, leave them. The bulk of useless computer junk has been removed.

Most modern operating systems have a hierarchical file system, with access to objects determined by a set of permissions. Some users can, for example, only read from a file, others can only write to it, others can both write and read, and still others can also launch and delete from disk.

In addition to access credentials, there are also so-called visibility credentials. Some objects - files and folders - are invisible by default. On top of this, individual folders on the computer are used in a specific way by the OS. This is the folder called temp in Windows. How to open a folder called temp in Windows is the subject of our conversation.

Strictly speaking, there can be any number of such folders. It costs the user nothing to call any of the folders he has created on the disk this way. But, in this case, we're talking about about a resource created by Windows itself. This directory is located in one of the following places:

  • Or at the root of the system partition (for example, directly on drive C).
  • Or in the Windows directory.
  • Or along the path “\Users\user name\AppData\Local\Temp” in the partition on which the OS is installed.
  • In one of the subfolders of “My Documents”: “C:\Documents and Settings\user name\Local Settings\Temp”.

This is where the operating system stores temporary results of its work, which, however, it may no longer need. The growth of these directories is not the least of the reasons for running out of disk space. Therefore, the question becomes relevant: is it possible to delete the contents of temporary folders, and if so, how can this be done more efficiently?

Trying to remove it manually

The simplest and first method that comes to mind is to delete the contents of directories manually. Visually, the temp folder in Windows 7 is no different from others, but some features of its files do not allow the operation to be completed cleanly and completely.

Really:

  • Open the directory in the usual way.
  • We select all the files and subdirectories in it by clicking the key combination “Ctrl” + “A” (equivalent to the “Edit” => “Select All” menu option).
  • We press “Shift” + “Del” and we get... not exactly what we wanted. The process is terminated by a message indicating that the system does not want to delete a particular file. Here's what it looks like:

In other words, nothing worked out for us. Although some files could be deleted and a certain amount of disk space could be freed up. In principle, Windows itself tells us what to do next: we need to restart the computer and do everything again. Such reboot cycles may require not one, but several. Let's consider an alternative method to this.

We clean the disk with standard means

So, to clean temporary directories using standard tools, let’s perform the following steps:

Cleaning on the command line

Now let's learn another method. To do this, launch the command line (or, as it is also called, the console). Access to command line can be obtained through the Start menu or by typing cmd in the Run window. Next, enter the following command on the command line:

Lines with the names of the files to be deleted flash on the screen. This process will take some time, and when it is finished, you will find that the temp directory is empty. The example above deletes the Temp folder located inside the Windows folder. At the beginning of our conversation, we mentioned several other possible locations.

Run the given command for each of these directories. Naturally, preserving all the options of the “Del” command that follow it after the forward slashes (F, S, Q, A). Without these options, the system will behave the same as when attempting manual removal. Another small but significant point: the console is called as an administrator.

This is all that Windows 7 offers to solve our problem. However, this is not all that can be done at all. Removal can also be done using third-party utilities. At the same time, checking and repairing the system.

Programs that we regularly install on a computer, during their operation, create temporary files in it designed to extract data or archive them, simple distributions of programs, and even step-by-step saving of work text editors. To prevent them from hanging around in confusion all over the computer, the programs that create them determine the location of such files in the Temp folder.

Theoretically, after work on programs is completed, such files should be deleted on their own, but this does not always happen. Remember how often, in an attempt to resurrect a frozen system, you pulled the plug from the socket or incorrectly disabled a running program?

Such actions in relation to our computer cannot take place without a trace: temporary files are “collected” in it constantly and overload the Temp folder, which is already filled to the top.

And since we all know that free space is one of the keys to the success of efficient PC operation, the Temp folder overloaded with “garbage”, accordingly, constantly slows down operating processes. Therefore, we will consider the question - how to clean the Temp folder?

Step One: Search for Temp Folders

There may be several similar file storages on a PC, but most often we have only two Temp folders. One is located in the Windows folder, namely in the system partition of the PC, while the second can be easily found in the user profile by enabling hidden folder displays. So, in Windows system 7 you need to follow the path: Drive C: Users Folder - Username - AppData - Local

If for some reason you do not find the Temp folder here, please contact true friend“Search” and the “Run” command. In the window that appears, simply enter the command %TEMP%, and it will automatically open before your eyes.

Stage two: making it more convenient

If there is a need to make working with folders more convenient, then both Temps with the temporary files stored in them can be combined into one or a completely new one can be created in another place convenient for you. Go to the Start menu, click on Computer and open system settings.



In the window that opens, change the path to the entered TEMP and TMP addresses to the created or selected folder. This is easy to do: left-click on each variable, then use the “Edit” function and type new way to the folder.

Confirm your selection with the "OK" key. As a result, you will get one folder storing temporary files in a place convenient for you.

Stage three: cleaning the Temp folder without harming the system

If you still have a question: “Is it possible to delete the Temp folder?”, We hasten to warn you that this is absolutely forbidden. But it must be cleaned regularly to free up disk space for work.

The easiest way to do this is to select the entire contents of the folder and delete it manually. However, if some of the files in it are involved in work (the system will warn you about this using pop-up windows), you will not be able to delete such files.

You can get rid of the “indigenous inhabitants” only by calling for help special utilities, such as: CCleaner. However, if there are few such files in the folder, then the easiest way would be to leave them alone and not touch them for the time being. Keep in mind: such robot assistants can also remove files from your computer that should not be removed under any circumstances. That is why developers include in cleaning programs the ability to create a backup copy of files.

Now let's look at the second method of cleaning the Temp folder, which is not inferior to the first in either efficiency or simplicity. So, in Windows 7 you will find a special service called “Disk Cleanup”: it is located in the Start utilities and allows you to delete those temporary files that have not been used by the system for more than a week.

To do this you need to follow a few simple steps.

First, go: From the Start menu to Computer.

Right-click the system drive (usually the C:\ drive) and check “Properties”.

Place a checkmark next to the “Temporary files” item. After clicking Ok, a small window will appear that will “ask” you if you really want to do this. Just confirm your intentions.

If you want to try manually deleting temporary files, you will first need to find them yourself.

We remind you that if you have not previously combined the Temp folders into one, then they are located either here:

And here: drive C:\Users\Account Name\AppData\Local\Temp

There is another way to find Temp folders. Press the hot keys “Win ​​+ R”, open the “Run” window, enter the command “%TEMP%” and click Ok. The folder C:\Users\Account Name\AppData\Local\Temp will open

There is another option that allows you to clear the Temp folder.

Go to notepad and write the following command there: rmdir /s /q %temp% Save the document under some name. For example clean.bat



When you run this shortcut, the Temp folder will be cleaned up on its own. You can even set it up to automatically clean it, which will start immediately when you turn on the computer. To do this, simply add the file to startup.

Now temporary files will not clog the system drive “C” and interfere with its operation. And this is, in fact, what we achieved, and you don’t have to manually clean out the Temp folders

There are a lot of different folders or processes in Windows that take up a lot of space, both physical and operational. Many users are so afraid of the computer and the OS that they don’t even want to get into the system disk, but sometimes this needs to be done. In particular, today I will write to you about the Temp folder.

What is the temp folder for?
In the Windows operating system, many different processes constantly occur, belonging both to the OS itself and installed programs. In the process of this work, in order to save the intermediate or unfinished result of their activity, all running applications create temporary data files and actively use them. It is precisely the Temp folder in Windows that is the storage of temporary files.

Where is the temp folder?
So it has about 5 paths, but usually it is located and takes up the most space along the path

(system_drive):\Users\(user)\AppData\Local\Temp


Read about the AppData folder in the article

Is it possible to delete the temp folder
It is possible and necessary. This will not do anything to the system. But it’s better to do this before turning off the computer and ending the session. But you can right now enter in the address bar of Explorer %USERPROFILE%\AppData\Local\Temp and, having selected everything, delete.
Be prepared that not all files and folders will be deleted. An error may appear indicating that they are busy.

How to clear the temp folder
You can use not the direct method described above, but a more correct one - through Disk Cleanup.
Right-click on the OS disk and select Properties. In this window, click the button Disk Cleanup

We are waiting for the information to be collected


Now select temporary files and clear


By the way, you can delete others too.

Let's modernize it a little this method and make sure that the temporary folder is cleared when the computer is turned off.

1) Click RMB on To my computer and choose Properties.
2) On the left edge select Advanced System Settings.
3) In this window we select Environment Variables


4) Changing the TEMP and TMP values


to C:/Windows/Temp



5) Create a file in Notepad with any name and content:

pushd %TEMP% && rd /s /q . > nul 2>&1
pushd %WinDir%\TEMP && rd /s /q . > nul 2>&1


and save with cmd extension.
For example alex.cmd
or download from here
6) Opening Group Policy Editor (Win + R-> enter gpedit.msc) and go along the path Computer Configuration -> Windows Configuration -> Scripts (startup/shutdown).
7) We highlight Completed work and click the link Properties

Is it possible to delete the Temp folder in Windows 7 or simply clean it?

You probably want to know how to consistently earn money online from 500 rubles a day?
Download my free book
=>>

We all, sooner or later, encounter problems when working on a computer. It seems to us that our faithful assistant, for no apparent reason, begins to “be capricious.” He slows down without visible reasons, turns off and freezes.

I have already devoted quite a few articles to the problem when, and described in detail what actions need to be taken to fix the problem. One of the main actions in case of any problems with Windows OS is cleaning the computer.

Moreover, you need to clean not only system unit, I mean physically. It is also important to remove garbage from the operating system. The concept of garbage also includes temporary files stored in the system Temp folder.

In this connection, many people have a question: is it possible to delete the Temp folder completely? Perhaps, considering that after this temporary files will not accumulate and clog the system.

I’ll tell you right away - this is a mistaken opinion. Temporary files must be saved. Therefore, if you suddenly delete the Temp folder, the operating system will try to restore it.

Otherwise, there will be malfunctions in the operation of the entire system. Therefore, it is best not to delete the Temp folder. But you need to clean it regularly. And today I will tell you how to do this.

Clearing the Temp folder

The folder for storing temporary files can be located in different directories, and moreover, there is more than one temp folder on your computer. For example, the temp folder can be located in any of the following locations:

How can you find them, you ask? Everything is very simple. At the bottom of the screen, on the taskbar, there is a magnifying glass. Click on it and enter %Temp% into the search window. Naturally, without a dot at the end. Explorer will find the folder and display it in the search. Click on the folder and at the top you will see where it is located.

Click inside the folder and select all the contents with the keys Ctrl + A, and use the Delete button to clear the contents. I would like to warn you that not all files will be deleted. What the system requires cannot be deleted.

A window will pop up indicating that this file is in use. operating system. Don't be alarmed by this, just click skip and the system will move on to the next file.

As practice has shown, there can be from 3 to 5 non-deletable files in the Temp folder.

Temp folder in Windows

Using the method above, we cleared the temp folder for the user. In addition, there is a folder for storing temporary files for Windows OS. Finding it is easy, follow the path: Computer - Local disk - Windows - Temp.

Clean in the same way as I described above, that is, select and delete. Skip undeletable files. As you can see, there is nothing complicated. I described the simplest way cleaning the Windows folder - Temp.

Conclusion

As you can see, it is not necessary to delete the temp folder, but it is advisable to clean it more often. However, if clearing the folder did not resolve your problem and the computer is still slowing down, then I advise you to look for a utility to fix system failures.

There are quite a lot of such programs on the Internet that help you find a problem and fix it. I advise you to first read about the program and its capabilities. Find out reviews from those who have already used the utility. Only after that download it to your computer.

One of such utilities is - Microsoft Windows Fix or MWFix. Personally, I once used it to identify errors on my computer.

Related articles:

P.S. I am attaching a screenshot of my earnings in affiliate programs. Moreover, I remind you that anyone can earn money this way, even a beginner! The main thing is to do it correctly, which means learning from those who are already making money, that is, from Internet business professionals.