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.
- Press the Windows key and type Command Prompt.
- Right-click on it and select Run as administrator.
- 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>
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:
- System Volume Information folder is too large? Try these solutions
- Full Fix: Cannot Delete Files, Folders or Icons in Windows 10
- The 10+ best tools to monitor system resources on Windows 10