Tiger Posted March 19, 2004 Share Posted March 19, 2004 I have files in the temp folder ~DFEAFC.tmp; Perflib_Perfdata_21c and cannot delete them because programs are open which apparently need them.what are the programs using the files?how do i stop the programs so that i can delete the files? ps i am unable to totally clear the web/client publisher tempory files using disk cleanup 40 kb always remains undeleted! thanks in advance Link to comment Share on other sites More sharing options...
Skyfrog Posted March 19, 2004 Share Posted March 19, 2004 See this page:http://www.jsiinc.com/SUBG/TIP3300/rh3343.htm Link to comment Share on other sites More sharing options...
XtremeMaC Posted March 20, 2004 Share Posted March 20, 2004 use sysinternals process explorer type that file in the find handles thingclose the handle... Link to comment Share on other sites More sharing options...
Tiger Posted March 20, 2004 Author Share Posted March 20, 2004 useful bit of software thank you! ~DFEAFC.tmp was outlook mail count file.refering back to skyfrog post referenced web page and advice given therein:The best way to remove these files is to add a command in a logon script:del /q %SystemRoot%\System32\Perflib_Perfdata*.datplease could you explain (in how to dummy terms) how to do the above.many thanks in advance Link to comment Share on other sites More sharing options...
XtremeMaC Posted March 21, 2004 Share Posted March 21, 2004 (edited) well those files will be created all the timebest way to get rid of them is to get rid of the system monitorwhich is by: type services.msc in run thenfind Performance Logs and Alertsright click on itthen propertiesthen startup type manual/disableI hope that answers your question..I had configured lots of inf files when installing xp. I don't remember if that services is set to automatic upon unmodified install of xp but when i installed the service was on manual and i don't even have a perflib*.dat file...and I forgot to answer the question to apply that line of codesave it to a notepad file then go to save as and save it as filename.bat or filename.cmdthen easiest way to run this would be putting it in start menu /start upassuming u saved the file as lets say "perflib_del.cmd"go here C:\Documents and Settings\All Users\Start Menu\Programs\Startupand copy/move the file in there...or better yet just copy and paste this code to a notepad and save as create.cmdecho del /q %SystemRoot%\System32\Perflib_Perfdata*.dat>>del_perflib.cmdmove "del_perflib.cmd" "%allusersprofile%\Start Menu\Programs\Startup\"echo Windows Registry Editor Version 5.00>>disable_perflib.regecho.>>disable_perflib.regecho [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysmonLog]>>disable_perflib.regecho "Start"=dword:00000003>>disable_perflib.regregedit /s disable_perflib.regdel create.cmd Edited March 21, 2004 by XtremeMaC Link to comment Share on other sites More sharing options...
Tiger Posted March 21, 2004 Author Share Posted March 21, 2004 thanks extrememac i guess you'll have pm just sent sorry i read your reply first before looking here:one last point (together with the pm requested confirmation) the create.cmd you have kindly written - would you also apply this to:gpedit.msc start menu /startor computer management local user / properties profile / profile path and also logon script?where there is seemingly two separte methods for a script function its confusing to know which to use and why!(edit) have disabled as you advised but just rebooted and the file has been regenerated!!many thanksps you might be interested: http://support.microsoft.com/default.aspx?...85798#appliesto Link to comment Share on other sites More sharing options...
XtremeMaC Posted March 22, 2004 Share Posted March 22, 2004 1st of all instead of pm'ing me u'd rather post it hereu'll get quicker and clearer answers... and I don't know why u prefered pm'ing but no one laughs and think that u're stupid or something. so post here. and i think it'd make more sense since this is a public forum.. I might not have the answer, if u pm me only i'll see it so if u want better answers post it here i had a screen shot that'll explain this but i'm having internet problems therefore can't access my web server.yes u can apply it to the logon script under user conf.cursor flashing part okay i just understood what u meant by thatgo to gpedit and add a script there under script name enter the path to the .cmd file or simply browse to it.no need for parameters. i just have 1 user so i don't know if that applies to all users but u can add this to computer configuration instead of user conf.hope this solves it that website doesn't help me its old its for win2000. and doesn't state anything but saying there are perfdata*.dat files.... Link to comment Share on other sites More sharing options...
Tiger Posted March 22, 2004 Author Share Posted March 22, 2004 extrememac thanks for your advice much appreciated!! i'm also trying to understand the difference between the various methods of writing a script and to determine which method to use for a given task and wonder whether i've got this right?gpedit.msc start menu/start = a computer configurationcompmgmt.msc local user/properties profile/profile path = a user configurationare you saying i don't actually need to do either option above but just copy the file create.cmdto C:\Documents and Settings\All Users\Start Menu\Programs\Startup and this will achieve the same result? whats the difference between .bat and .cmd files if i can save the file as either or and the same function is achieved?finally back to the Perflib_Perfdata_21c file done all you have advised but upon reboot the file has been regenerated!! Link to comment Share on other sites More sharing options...
XtremeMaC Posted March 22, 2004 Share Posted March 22, 2004 yes i believe having it under all users apply to all users.bat .cmd doesn't matter afaiki dunno the code i have given u was setting the service to manual maybe disable it?other than that I cannot help u cause i dunno! Link to comment Share on other sites More sharing options...
Tiger Posted March 22, 2004 Author Share Posted March 22, 2004 thanks for your help - if you get a chance please post the screenshot you mentioned Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now