What is the PerfLogs folder in Windows 10/11?

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

perflogs folder

PerfLogs (short for Performance Log) is a system-generated folder in Windows 10. It stores the system issues and other reports regarding performance.

You can find the folder in C:, but you can remove it or relocate it in another partition or directory.

It is not recommended to remove this folder (or any system file for that matter), because it might affect your computer.

However, many people want to relocate this folder to another directory, as one user reported on a forum:

I would like to know what is the proper way to move the PerfLogs folder to a location other than the Windows 10 root install directory. Is ti done through Performance Monitor’s data collector set settings or maybe the ones for traces? I looked there but I couldn’t find such an option. Tried stopping some of the traces temporarily to see if that will make the file path fields editable. It didn’t… Or maybe we’re supposed to edit a config file somewhere?

So, this user wants to remove the folder from the Windows 10 root install directory. He already tried to edit the file paths field but to no avail.

When it comes to removing or relocating this system folder, things are not so simple as they seem, and today we will show you how to remove the PerfLogs folder in Windows 10.

How to remove the PerfLogs folder in Windows 10?

Use Command Prompt

You can move C:\PerfLogs folder into the C:\Windows folder by using the commands below, but first, you need to open Command Prompt.

  1. Press the Windows key and type Command Prompt.
  2. Right-click on it and select Run as administrator.command prompt administrator
  3. Enter the following commands:
    • robocopy “C:\PerfLogs” “C:\Windows\PerfLogs” /E /COPYALL /XJ
    • takeown /F “C:\PerfLogs” /R /A /D Y
    • icacls “C:\PerfLogs” /grant Administrators:F /T /C
    • rd /s /q “C:\PerfLogs”
    • mklink /J “C:\PerfLogs” “C:\Windows\PerfLogs”

However, some users said that this is just a workaround, and the PerfLogs folder will reappear on the original directory after a restart.

Windows recreates the folder because it provides important performance information.</p>


Learn to work in Command Prompt like a real expert with the help of our guide!


Conclusion

The PerfLogs folder is necessary for your computer. That’s why we recommend to leave it where Windows puts it.

If you still want to remove it from some reason, check out our solution above.

Did our article help you? Do let us know in the comments section below!

RELATED ARTICLES YOU NEED TO CHECK OUT:

 

 

More about the topics: folder, windows 10

User forum

0 messages