Menu
Is free
check in
the main  /  Navigators / Log files. What is the Perflogs folder on drive C and can it be deleted? Windows 10 system logs folder

Log files. What is the Perflogs folder on drive C and can it be deleted? Windows 10 system logs folder

Many are faced with the problem of lack of free space on the hard drive. The disc on which it is installed is especially often clogged. operating system... This is due to the fact that there are a lot of folders on it, which the system itself fills with the information it needs. This problem It is also relevant for Windows 7. You can clean up system folders from unnecessary garbage either manually or using special programs.

Windows 7 system folders: the need to clean up and possible consequences

Each of the system folders has its own purpose and stores information of a certain kind. Before clearing the disk, carefully read what function this or that folder is responsible for, otherwise you may lose important data or severely harm the operating system, which will lead to its breakdown:

  • System Volume Information - by default this folder is hidden so that the user does not accidentally add unnecessary files to it and damage existing ones. It stores restore points that are created periodically after a certain period of time. Thanks to them, in the event of an unrecoverable error in the system, you can roll back all changes and updates to Windows and everything in it until the moment when everything worked fine. So think about whether to delete restore points, maybe someday they will be very useful to you;
  • Temp - This folder is also hidden by default. It contains all temporary files, that is, information about passed games, application settings, cache, passwords, and more. You can clear the entire folder or delete only some of its components, if you are sure that they are definitely not needed anymore;
  • Temporary internet files is one of the subfolders under the Temp folder. It stores all temporary files related to the browser: passwords, history, cache, cookies, modules and add-ons. Also, if you are using offline mode in internet browser Explorer, after deleting this folder, previously saved sites will no longer be available without an Internet connection;
  • Winsxs is a folder that stores information about system updates. If you install updates, this folder will retain the previous version of the updated process or program. It is needed in order to roll back the computer to previous versionwhen no errors occurred in the work. It is worth cleaning it only if you are not going to update the computer, since there is always a risk of getting a critical error during the update;
  • AppData - this folder stores data about all third-party programs. If you have installed any application or game, then all settings and actions performed will be recorded in this folder... You can selectively delete files belonging to programs you no longer use;
  • System32 is a very important folder and should only be cleaned as a last resort. It contains information about the system settings and many programs installed in Windows by default (Notepad, Calculator and others);
  • Drivers is a subfolder located in the System32 folder. Responsible for storing most of the drivers installed on the computer;
  • Pagefiles.sys is not a folder, but a file. It is needed for swap random access memory... The fact is that many computers do not have enough RAM to run big programs... For such cases, this file exists. It is not recommended to delete it, since after that some applications will stop working due to lack of RAM;
  • Assembly - it contains one of microsoft versions.NET Frameworkwhich is responsible for the compatibility of various programs written in different programming languages. Deleting this folder may cause the system to freeze or some third-party applications may not turn on;
  • Installer is a folder containing applications required for the correct removal or updating of other programs. It also stores patches, updates and other files intended for the full operation of applications;
  • DriveStore - a folder with drivers necessary for the correct operation of such computer components as a video card, processor, keyboard, mouse. If updating the current drivers leads to the refusal of this or that component, then this folder also stores the drivers of previous versions, just in case;
  • Downloads - the folder where all files are downloaded by default. If you started the browser for the first time without assigning another folder through the settings, then all downloaded files will be sent to this location. This is one of those folders that need to be cleaned regularly;
  • folders with media files - this item includes folders such as "Videos", "Music", "Pictures". By default, they store desktop screensavers, standard pictures, videos and windows music 7. Their contents can be safely deleted or moved to a more free disk;
  • Windows is a folder, the deletion of files of which will certainly lead to a breakdown of the operating system. Don't clean up disk space by using the contents of this folder;
  • Downloaded Program File - this folder contains modules downloaded when using the Internet, that is, activeX controls and Java applications;
  • "Trash" - the folder to which files are sent before they are permanently deleted. This folder should be cleaned as often as possible, almost daily;
  • Quick Access is the folder where thumbnails are stored recently open files for quick access to them;
  • "Desktop" - everything that you save to the desktop is also transferred to the disk with the operating system in the "Desktop" folder of the same name.
  • Video: what files can be deleted on the system drive

    What not to do when cleaning up system folders

    Please read the specifics of the above folders carefully. Before clearing one of them, consider if its contents will be useful to you in the future. Some folders, such as Windows or System32, shouldn't be touched at all. And don't try to clean up folders by simply deleting their contents. This will lead to the fact that the remnants of them will remain in the computer's memory, which in the future will begin to litter and overload the system. There are only a few folders that you can manually clean up:

  • "Basket";
  • "Downloads";
  • "Images";
  • "Documents";
  • "Video";
  • "Music";
  • "Desktop";
  • Temp and Temporary internet files;
  • AppData.
  • In no case do not delete the folders themselves, this will lead to critical errors in the system, you only need to erase their contents. Also, before clearing system folders, make sure you can free up memory by other methods, for example, by uninstalling third-party applications and games.

    Methods to clean up Windows 7 system folders

    If you do decide to clear hDD from accumulated third-party files, it is easiest to use the built-in windows functions... There are two initial options - standard and advanced cleaning.

    Standard cleaning

    By using the standard cleaning method, you will get rid of following files and folders:

  • Downloaded Program File;
  • cache, temporary browser files loaded in offline pages;
  • game statistics, application settings, temporary files created by various applications;
  • "Basket";
  • "Fast access";
  • system restore points.
  • To spend standard cleaning hard disk, do the following:

  • Right-click on the disk you want to clean up and go to the "Properties" section.

    Opening the properties of the system disk

  • In the window that opens, go to the "General" section.

    Go to the "General" section

  • In the Disk Cleanup section, select the files you want to get rid of and click OK.

    Select the files you want to delete

  • Also, if you go to the "Advanced" tab, you can delete all system restore points except the last one. To do this, in the "System Restore and Shadow Copies" section, click the "Cleanup" button.

    Click the "Clean" button in the "System Restore and Shadow Copy" section

  • Extended cleaning

    With the advanced cleaning option, you will delete the following folders and files:

  • temporary files created when installing third-party programs;
  • Debug dump files - files created by the Windows debugger, a program that deals with errors in the system;
  • old files of the Chkdsk application - excess leftovers of files that appeared on the computer during a hard drive check;
  • files from the previous windows versions - located in the Windows.old folder if you updated the version of the operating system;
  • error reports, history of errors encountered;
  • system update log - files designed to resolve errors that occurred when updating Windows.
  • To perform advanced disk cleanup, follow these steps:

  • Open through windows search "Command line". Right-click on its icon and select the "Run as administrator" section.

    Run "Command Prompt" as administrator

  • Type in the cleanmgr command and press the Enter button on your keyboard.

    We register the cleanmgr command

  • In the list that opens, select the drive you want to clean up and click OK.

    Select the drive on which to perform cleaning

  • Check the files you want to erase and click OK. Selecting the files to be deleted
  • Video: Windows Disk Cleanup

    Disk cleaning with third-party programs

    Before proceeding with manual cleaning of each folder separately, it is worth using special third-party programscreated for automatic search and cleaning the disk from unnecessary files:

  • Download CCleaner from the developer's official site and install it on a free disk.

    Download the CCleaner app

  • Launch the application and go to the "Cleaning" section.

    Go to the "Cleaning" section

  • On the left side of the program there is a list, here we mark all the sections that we want to get rid of.

    Selecting the sections to clear

  • We press the button "Analysis" and wait for the end of the process.

    Press the button "Analysis"

  • Click the "Clear" button. In the top header of the program, we can see how much memory is approximately free on the computer.

    Before deleting files, you can view their details

  • Video: Deleting System Files Using CCleaner

    Features of cleaning individual system folders

    If the previous cleaning methods did not solve your problem or you need to clean one of the folders selectively, then find it in the sections listed below and follow the instructions.

    But many folders are hidden by default so that the user does not accidentally damage them. To display hidden folders in general list do the following:

  • Open File Explorer.

    Opening the explorer

  • Expand the Tools menu.

    Expand the "Service" menu

  • Go to the "Folder Options" section.

    Go to the section "Folder Options"

  • In the window that opens, go to the "View" section.

    Go to the "View" section

  • Uncheck the box next to the words "Hide system-protected files" and put it in front of "Show hidden files, folders and disks ”.

    Changing the parameters of hidden folders

  • Winsxs

    Cleaning the Winsxs folder on Windows 7 is done through a standard disk cleanup. This method has already been described above. Before starting the cleanup, you are presented with a list of files that can be deleted. Check the section "Files backup update package ".

    We mark "Files of the backup copy of the update package"

    Video: how to empty the Winsxs folder in Windows 7

    System Volume Information

    To clear the System Volume Information folder, you must first access it:

  • Right-click on the folder and go to the "Properties" section.

    Open the properties of the System Volume Information folder

  • In the window that opens, go to the "Security" section.

    Go to the "Security" tab

  • Click on the "Change" button.

    Press the button "Change"

  • In the opened settings, click on the "Add" button.

    Click the "Add" button

  • In a special field, enter the name of your account and click the OK button.

    We register the username

  • In the list "Permissions for the group ..." put a tick in front of the words "Full access".

    We issue full access to folder

  • We press successively the buttons "Apply", OK.
  • Now let's move on to the properties of the computer.

    Go to computer properties

  • Go to the "System Protection" section.

    Go to the "System Protection" section

  • Select the disk containing the System Volume Information folder and click the "Configure" button. We indicate the path to the folder.

    Press the button "Configure"

  • In the window that opens, click the "Delete" button. We can also set the maximum amount of memory allocated for this folder by moving the corresponding slider.
  • We successively press the buttons "Apply", OK.

    DriversStore

    To delete outdated drivers from a repository called DriversStore, do the following:

  • Through Windows search open command line as administrator.

    Opening the command line

  • Write the command pnputil.exe –e and press Enter on your keyboard. This command will open a list of all drivers installed on your computer. Remember the number of the one you want to delete.

    We register the command pnputil.exe –e

  • Close the command line and reopen it as administrator.
  • Add the command pnputil.exe -d Oem # .inf, where instead of the pound sign (#) there will be the number of the driver to be removed. If you try to remove a driver connected to this moment to the device computer, a notification will pop up. Remove the device, or use the –f code in the command to remove the affected driver. But remember that without a driver, the connected device may stop working.

    We register and execute the command

  • Installer

    The Installer folder may contain files necessary for the system or programs, but there is a special third party application PatchCleaner, which will automatically determine what can be removed from the content:

  • Download the PatchCleaner app from any trusted site.

    PatchCleaner searches for obsolete update files and allows you to move them to another media or completely remove them

  • Run the program and click the Browse button to start searching for the folder.

    Click the Browse button

  • We indicate the path to the Installer folder.

    Specify the path to the Installer folder

  • After the program analyzes the folder, information will appear about how many files are still in use and how many of them can be deleted. The program will also calculate how much disk space will be freed. Press the Delete button.

    Press the Delete button

  • We confirm the action by clicking the Yes button.

    We confirm the action by clicking on the Yes button

  • Pagefile.sys

    If you are sure that the computer can handle the required tasks without the Pagefile.sys paging file, you can remove it by following these steps:

  • We open the properties of the computer.
  • Go to the section " Extra options systems ".

    Go to the section "Additional system parameters"

  • In the window that opens, go to the "Advanced" section and click the "Options" button.

    Press the button "Options"

  • In the window that opens, go to the "Additional" section again and in the "Virtual memory" subsection press the "Change" button.

    Click the "Change" button in the "Advanced" tab

  • Uncheck the box next to the words "Automatically select the amount of swap memory" and select the option "Without swap file", press the "Set" button.

    Setting the required parameters

  • Reboot your computer. Sys file will disappear, and with it the additional RAM.

    Restart your computer

  • Folders with history, cache and browser cookies

    Browser files can take up a lot of disk space. The easiest and safest way to remove them is through the settings of the browser itself: We mark the files. which need to be removed from the browser history

  • We select the parameter "For all time" and press the button "Clear history".

    We set the parameter "For all time" and clear the history

  • Disk cleaning problems

    If, after you have deleted any files from the system folder, errors appear or the computer starts to slow down, there is only one thing left to do - perform a system restore. This could have happened due to incorrect disk cleaning or deletion required files... System recovery is possible only if the computer has restore points:

  • Start your computer in safe mode.

    We start the computer in safe mode

  • Search Windows for the System Restore app.

    Open the "System Restore" application

  • In the window that opens, click on the "Next" button.

    Click the "Next" button

  • Select one of the restore points. Better to roll back the system to the point where all processes worked as well as possible.

    Choosing a restore point

  • Video: Windows 7 Recovery

    What to do if there is no "Clean up system files" button

    If, when trying to free up disk space through the standard cleaning method, you encounter the absence of the "Clean up system files" button, this means that you have disabled UAC (control accounts), and the program starts immediately with the ability to clean up system files. That is, pressing the "Clear system files" button gives you administrator rights and with them the ability to edit and clear system folders. But if UAC is disabled, then you have access to changing system files immediately and you do not need to press any additional buttons.

    If the button "Clean up system files" is missing, account control is disabled

    If you want to clean up disk space or are sure that system files part of the virus is preserved, then in this case the operating system itself has a function of standard and extended disk cleaning. You can also use third-party programs or clear each folder separately. But do not delete everything, otherwise it will lead to a breakdown of the computer, and the only way out is to roll back the system to the last restore point.

    Announced the October Update for Windows 10 during its conference in New York on October 2, 2018. Since then, users who dared to install the update were among the first, complain numerous problems that appeared after installation. It is worth noting that each release of Windows 10 updates is accompanied by certain risks, and many users do not dare to upgrade the system due to fear of breakage. This time was no exception.

    One of the most common problems is the sudden loss of personal documents of the computer owner. Some users complain about the loss of several files, others claim that Windows itself deleted hundreds of gigabytes that cannot be recovered.

    “Two months of my work was lost due to the update,” writes one of the victims, who lost files totaling 220 GB. - The most important thing is that these documents do not end up in the "Basket". They just disappeared. "

    “Apparently, my computer installed last update Windows 10 around 3pm and during that process ... it unpacked its own setup files, overwriting my documents. I'm so angry with Microsoft! " - posted by Twitter user @MakatiCub.

    Deletion affects files in the "My Documents" and "Pictures" folders located in the user's personal directory. In this case, it is not possible to return the files even after canceling the update and restoring the previous state of Windows.

    The missing documents are probably related to an update cloud service Microsoft OneDrive, but there is no direct evidence for this.

    Another issue related to October windows update 10, the overload of some models of the brand's processors has become, due to which the battery on laptops is discharged too quickly. This overload is called by the driver Intel Display Audio, which the system offers to install as part of the update. Microsoft has issued a recommendation asking to ignore the driver installation suggestion and close the dialog box.

    It is reported that for the general public automatic update was supposed to start only on October 9th, and those who installed it earlier are a small group of advanced users who have launched the update manually.

    However, Microsoft has already taken the necessary steps to prevent casual users from updating Windows until the existing issues are resolved.

    A company spokesman said the incident was already under investigation.

    Hole in the system

    In late September, it became known about a critical zero-day vulnerability in Windows, allowing hackers to gain access to the victim's system. The vulnerability was discovered four months ago, but has not been fixed to date. Some experts expected a patch to fix the "hole" to be released as part of the ill-fated October update.

    The vulnerability was discovered in the JET Database Engine on Windows 7, but it is possible that newer versions of this operating system, including Windows 10, may be at risk.

    An attacker wishing to exploit this vulnerability sent the victim a file with the .jet extension, which would allow the attacker to simultaneously gain access to their computer and install malware and viruses on it.

    Despite the fact that such a scenario looks scary, information security specialists assess the threat from this vulnerability as moderate, emphasizing the fact that infection is impossible without the active participation of the user himself.

    “There is no other attack scenario through this vulnerability that does not involve user interaction. Personally, I would say that the level of risk in this case can be assessed as low or medium, ”said Martin Chron, security specialist at Avast, in an interview with Gazeta.Ru.

    When switching from the Windows XP operating system to Windows 7 and higher, users find in the root of the system drive (C :) new folder Perflogs. What kind of folder it is, what information it contains and what it is for, we will consider in detail in the article.

    Let's make a guess based on the name. Translated from English:

    1. Log is a log.
    2. Perf is more of an abbreviation for performance, which stands for performance. So the Perflogs folder is where the performance log data is stored.

    Important! The Perflogs directory is not filled with data unless performance analysis programs are running. Otherwise, it is filled with a lot of information.

    Performance analysis

    System performance is the speed at which a PC performs system and application tasks. The quality and comfort of the user's work depends on it.

    To ensure maximum performance personal computer and in case of unstable operation (insufficient response speed), we will use the performance monitor to find out the reason for this behavior.

    Performance Monitor - windows componentwhich sends its reported data to the Perflogs folder. This data can help improve performance and speed up computer operations.

    Data Collector Groups

    To enter the data collection program:

    The results are collected using data collectors that are grouped together.

    Standard groups:

    • performance counter;
    • event tracking data;
    • system configuration information;
    • System Performance;
    • System Diagnostics.

    The collector group is used both template and custom. The monitor allows you to create your own group of data collectors.


    Group report files - report.htm are located on the path C: \\ PerfLogs \\ System \\ Diagnostics in a subfolder with the name of the computer being diagnosed + the date of diagnosis.

    System role of the Perflogs folder

    The Perflogs directory can be removed from disk without affecting system performance. At the next start of the system, it will be created anew (if data collection is started).

    Advice! If you need data to analyze the system, then when you delete the directory, you will lose it and have to run the diagnostics again.

    If you have any difficulties,. Please describe in detail what issue you are facing so that we can help.

    The article describes one of the cases of solving the problem in which from session to session Windows takes up a lot of space on the hard disk, and clearing temporary folders does not work and the problem keeps returning.

    Are you trying to find out where the free space of your hard disk has disappeared? The situation is complicated at times by the fact that nothing seemed to be installed, and tens and sometimes even hundreds of gigabytes of space were blown away ... But listen further.

    Windows users sometimes, meanwhile, strange system behavior is reported. Using the methods of detecting "space absorbers" in the article "?" or, you can count on temporary positive results. However by the end windows session takes up a lot of space repeatedly: Windows log files accumulate from time to time, sometimes occupying hundreds of gigabytes, generating separate files in packs of 100 MB each. The “harmful” folder seems to have been detected - this is C: \\ Windows \\ Temp, however, nothing can be done: files with the extension .cab fill up temporary storage until free disk space disappears completely. This action is similar to a maneuver that by the end of the “session” will consume all free space on the HDD.

    Windows takes up a lot of space: the crux of the matter

    Windows developers have long known about this problem. The problem is known to stem from work results Component Oriented Service systems ( Component-Based Servicing), which sometimes creates logs of incredible sizes. These are located in the folder C: \\ Windows \\ Logs \\ CBS... The current log is named as cbs.log... But as soon as it reaches a certain value in its size, the launched cleaning process immediately renames this file to a file of the type .log and immediately tries to compress it in size, eventually assigning the extension to the resulting file .cab... using the system utility makecab.exe... But here is where the user sometimes lies in wait for a "bonus": when the file cbs.log reaches a size of 2 GB before the cleaning process has time to turn to it for compression, the specified utility .. cannot cope with it - and it, they say, is already too big: the utility makecab.exe frankly "dumb" when faced with files of this size. The log is renamed to C bsPersist-time-date.log and when makecab.exetries to compress it, an error appears. The error loops and as a result: every 15 - 30 minutes. (everyone has it differently)

    • the utility creates the first 100 MB of "compression" .cab
    • stumbles upon an error
    • and all the same is repeated.

    Windows takes up a lot of space: a likely solution

    So, if you are faced with a situation where times from times windows takes up a lot of hard drive space, try this:

    • for the duration of work "slow down" Windows Modules Installer via console
    services.msc

    • looking for a folder C: \\ Windows \\ Logs \\ CBS and rename all files inside the folder (whatever you like)
    • looking for a folder C: \\ Windows \\ Temp and delete all files cab
    • reboot

    Now makecab.exewill not be able to handle files incorrectly and disk clutter should stop. And if you don't need Windows log files, you can delete them too.

    Second option

    Download, unzip and run via Power shell as administrator file

    Unsubscribe how what worked for someone.

    When installing operating rooms windows systems the seventh version and higher (for example, after XP) users saw a lot of innovations. In particular, this concerned the appearance of some incomprehensible directories that were not previously on the system disk. One of these is the PerfLogs directory. What kind of folder with this name is displayed in "Explorer" or in another file manager, further and will be considered. To understand this, first let's consider why this directory was created in the system.

    What is the PerfLogs folder on the C drive?

    This directory was first introduced into the file structure only in Windows 7. At the moment it is present in all recent operating systems. But what is the PerfLogs directory used for? What is this folder in Windows 10, as well as in Windows 7 or 8?

    To understand its purpose, you just need to decipher the abbreviation of the name. The first part (Perf) is derived from the English Performance, which can be interpreted as "design" or "performance", and the second (Logs) denotes logs, or special system reports, corresponding to the performance log.

    What data is stored in the directory

    Thus, speaking about what the PerfLogs folder is, it is easy to understand that it is a place to save special files, in which the results of performance tests, if any, are recorded.

    It should be noted separately that the more tests are carried out, the more more files is saved there. And they, in turn, can be quite large, since old reports do not disappear anywhere. In other words, new reports are not overwritten. Ultimately, the amount of disk space used can increase significantly.

    Default settings

    What is the PerfLogs folder in Windows 7 or higher ranked systems is a little clear. Now a few words about the nuances that every user of a computer system should know.

    The fact is that initially there is no information in this directory (it is empty or takes up minimal space). These reports appear only after performance tests are performed using the operating system. They are mainly used after some time, when the system begins to significantly slow down or cause failures at the system level, which entails an increase in the load on hardware resources. Thus, the more often you run tests, the larger this directory will be. However, all of this applies only to Windows instrumentation. Therefore, in order not to clutter up the system partition, it is better to use third-party utilities for performance testing.

    Viewing log files

    Many users would like to view full reports, for example, to find out why the system performance is slowing down. But it is not possible to open the files located in the PerfLogs directory just like that (no programs are associated with their extensions by default in Windows).

    So what is the PerfLogs folder if you can't open its contents? The problem here is that this directory belongs to the performance monitor service, but not the one that is in the "Task Manager", but the one that is presented as a hidden standard application.

    You can call it through regular menu Run if you enter perfmon, which is the abbreviation for performance monitor. In the monitor itself, you need to use performance counters, divided into groups, where you can see the results of all checks.

    In this case, test files are loaded automatically, but the overall report result for all categories is stored not in the main directory, but in the Diagnostics subdirectory, which is located in the System folder of the main directory (PerfLogs). Thus, you do not need to open files one by one.

    Is it possible to delete the PerfLogs folder

    Let's say a few words about the possibility or impossibility of this action. Since, as already noted, the files contained in a directory can take up too much disk space, many users have a completely natural question about whether it is possible to get rid of this directory.

    You can delete a folder with all files and subdirectories, but this will not affect the performance of the operating system. The user will just lose the ability to view the results of the checks, if he carried them out. As for the folder itself, even after deleting it, the operating system will automatically create the directory of the same name upon restart using its own automated tools for restoring settings (registry entries, folders and files). It will be located in the same place where it was remote folder... As in the default settings, this auto-generated directory will initially be empty! As soon as you start checking the system for performance, you will immediately get an increase in its size. Conclusion: it is not worth doing checks too often, so as not to increase the amount of information in the PerfLogs folder, then it will not interfere.

    If the decision to delete the folder is made, but in the "Explorer" delete it standard method does not work, you can use the Unlocker program or log in to the system under the administrator's account. It is even easier to activate it for login via the command line in order to immediately assign yourself all the admin rights. But herself command console should initially only run with administrator rights.

    Finally

    That's it for the PerfLogs directory. What kind of folder is on the system drive and what it is intended for, hopefully, now it has become clear. As for deleting a directory, the choice is up to the user. If you sometimes need to view the results of a report to compare tests at different time points, it is better not to touch the catalog. If space on the system partition is extremely limited, the directory can be deleted. And remember that for normal operation of any system of the latest generations, it is necessary to keep at least 10-15% of the total system disk free. In the presence of powerful processors and large amounts of RAM, as well as to reduce the use of the system partition, you can simply disable virtual memory (deactivate the use of the paging file).