BarryMurphy
Technical User
I'm running Windows XP Pro on a standalone computer and have been trying to clear out my C:\Documents and Settings\[User]\Local Settings\Temp folder but I have a problem with Perflib_Perfdataxxx.dat files. Some I can delete, but there is always one that is locked.
I located a relevant Microsoft Knowledge Base Article - 285798 (
"Perflib_Perfdataxxx.dat Files Accumulate Under %SystemRoot%\System32
The information in this article applies to:
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Datacenter Server
This article was previously published under Q285798
SUMMARY
Files with the name Perflib_Perfdataxxx.dat may accumulate under the %SystemRoot%\System32 folder, where xxx is a random number.
MORE INFORMATION
These files are generated by processes in the normal course of operation; however, files are orphaned when you do not shut down a computer properly, such as by pressing the power button on a computer.
Note: It is also possible that these files can be orphaned while a server is running. Microsoft is researching this problem and will post more information in this article when the information becomes available.
To delete the orphaned files, you can use an automated logon script."
Now I have found the above explanation and suggested remedy in a number of different locations, such as this (
"3343 » What are the %SystemRoot%\System32\Perflib_Perfdataxxx.dat files?
The %SystemRoot%\System32\Perflib_Perfdataxxx.dat files are created by the System Monitor. When you shutdown normally, the file should be deleted.
If you have an abormal shutdown, these files can become orphaned, and accumulate on your computer.
Under some yet to be determined circumstances, these files can become orphaned during normal operation.
The best way to remove these files is to add a command in a logon script:
del /q %SystemRoot%\System32\Perflib_Perfdata*.dat"
This sounds simple enough but I have my doubts. So far I am yet to find any explanation of what a Windows XP logon script is and how it can be edited. Anyone willing to try?
Perflib_Perfdata*.dat really annoys me. There is no reason for it to exist and there must be some way to get rid of it. I would appreciate any help.
I located a relevant Microsoft Knowledge Base Article - 285798 (
"Perflib_Perfdataxxx.dat Files Accumulate Under %SystemRoot%\System32
The information in this article applies to:
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Datacenter Server
This article was previously published under Q285798
SUMMARY
Files with the name Perflib_Perfdataxxx.dat may accumulate under the %SystemRoot%\System32 folder, where xxx is a random number.
MORE INFORMATION
These files are generated by processes in the normal course of operation; however, files are orphaned when you do not shut down a computer properly, such as by pressing the power button on a computer.
Note: It is also possible that these files can be orphaned while a server is running. Microsoft is researching this problem and will post more information in this article when the information becomes available.
To delete the orphaned files, you can use an automated logon script."
Now I have found the above explanation and suggested remedy in a number of different locations, such as this (
"3343 » What are the %SystemRoot%\System32\Perflib_Perfdataxxx.dat files?
The %SystemRoot%\System32\Perflib_Perfdataxxx.dat files are created by the System Monitor. When you shutdown normally, the file should be deleted.
If you have an abormal shutdown, these files can become orphaned, and accumulate on your computer.
Under some yet to be determined circumstances, these files can become orphaned during normal operation.
The best way to remove these files is to add a command in a logon script:
del /q %SystemRoot%\System32\Perflib_Perfdata*.dat"
This sounds simple enough but I have my doubts. So far I am yet to find any explanation of what a Windows XP logon script is and how it can be edited. Anyone willing to try?
Perflib_Perfdata*.dat really annoys me. There is no reason for it to exist and there must be some way to get rid of it. I would appreciate any help.