CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

$9736.22 of $21422.68
left sidedonated so farneed $11686.46 donated to reach our goalright side, our goal
Help CastleCops serve the community on new servers, Donate Here to reach our goal.

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
Survey
spacer
Was 2007 a good year?

Yes it was a wonderful year
Yes, but there is always room for improvement
Status quo
It was a challenge
Other (leave comment)



Results
Polls

Votes: 949
Comments: 28
block bottom
spacer spacer

temporary files

 
Post new topic   Reply to topic       All -> FavForums -> General Computer Problems [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
Romulan

Guest
IP: 70.104.*.*






PostPosted: Sat Jul 19, 2008 10:03 pm    Post subject: temporary files
Reply with quote

Windows XP Pro SP2:
Under C:\Documents and Settings\{user name}\Local Settings\Temp there are 36,735 files, 1690 folders for 5.2gb and under C:\Documents and Settings\Fred\Local Settings\Temporary Internet Files I have 2583 files in 7 folders for 45.4 mb. I have run CCleaner and MS Disk Cleanup and neither one has removed all of these files.
How do I remove them and is it safe to do so??

Back to top
Mister2

SRT Team Lead
SRT Team Lead
Premium Member

Joined: Oct 28, 2004
Posts: 7293

Moderators MVP Premium SRT Team F@H

PostPosted: Sun Jul 20, 2008 5:10 am    Post subject:
Reply with quote

Hi Romulan,

The short answer is yes, you can remove these files, though I'm surprised CCleaner hasn't removed them

For the Temporary Internet files, try opening Internet Explorer and going to Tools, Internet Options, Browsing History, Delete, Delete Files in the Temporary Internet Files section, Yes. Then click Close, OK and close IE. Check your TIF folder to make sure the files have gone.

Those instructions apply to IE7. The process in IE6 is similar but you need to put a check mark in the box by 'Delete all offline content'.

If that didn't work then a general way to empty a temporary file directory is as follows:

- Start your computer in Safe Mode. To do this, keep tapping the F8 key as soon as you turn your system on. Use the cursor (arrow) keys to choose Safe Mode from the menu that eventually appears and press Enter. Wait until the system has fully booted up.

- Open My Computer and navigate to the appropriate Temp directory

- Go to Edit, Select All to select all files and folders in that directory

- Press the Del key

You may still find that the operation fails because a file is in use. In this case, make a note of the name of this file, right click the background and select Arrange Icons by, Name. Then click the first file or folder, hold the Shift key down and click the file immediately before the one you wrote down. Press Del. Then go back to Edit, Select All, hold the Ctrl key down and click the first file to deselect it and press Del. Repeat the process until you only have a handful of files that are being used. Finally restart your system and you should be free of temp files.

Note - don't remove the temporary folders themselves, just the contents.


_________________
Never stop learning
Back to top
View users profile Send private message
pwillener

SRT Trainee
SRT Trainee
Premium Member

Joined: Apr 17, 2006
Posts: 1736
Location: Japan
Premium

PostPosted: Sun Jul 20, 2008 8:10 am    Post subject:
Reply with quote

Mister2 wrote:
... though I'm surprised CCleaner hasn't removed them.

I believe that CCleaner only removes the temp files of the user that is running it, not from other users.

Back to top
View users profile Send private message Visit posters website
Mister2

SRT Team Lead
SRT Team Lead
Premium Member

Joined: Oct 28, 2004
Posts: 7293

Moderators MVP Premium SRT Team F@H

PostPosted: Sun Jul 20, 2008 10:56 am    Post subject:
Reply with quote

Good point!
I tend to forget that as I always work on a 1-user system.


_________________
Never stop learning
Back to top
View users profile Send private message
Bill_Bright

General
General
Premium Member

Joined: Jan 16, 2004
Posts: 8961
Location: Nebraska, USA
MVP Premium

PostPosted: Sun Jul 20, 2008 1:00 pm    Post subject:
Reply with quote

Quote:
I believe that CCleaner only removes the temp files of the user that is running it, not from other users.
And that depends on how it is installed.

I would let Windows own tools do it.

With an administrator account, under My Computer, right click on a drive and select Properties, then under the General tab, click on Disk Cleanup. Wait for the display to populate, make sure "Compress" is NOT checked, then hit okay. Repeat the process for each drive.


_________________
image Bill, AFE7Ret
Freedom is NOT Free!

image
Back to top
View users profile Send private message
romulan

Cadet
Cadet


Joined: Jul 19, 2008
Posts: 4
Location: USA

PostPosted: Sun Jul 20, 2008 1:36 pm    Post subject:
Reply with quote

Sorry I didn't mention this on my first post but I am the only user and an Admin. My main concern is \Local Settings\Temp with all of the files and directories.
When I installed ccleaner I just downloaded it and installed it. Do I install it in a special way??
I know how to delete the files manually but would rather let a tool do it. Just don't know why ccleaner or Disk Cleanup doesn't clean it out??

Back to top
View users profile Send private message
Bill_Bright

General
General
Premium Member

Joined: Jan 16, 2004
Posts: 8961
Location: Nebraska, USA
MVP Premium

PostPosted: Sun Jul 20, 2008 2:16 pm    Post subject:
Reply with quote

For CCleaner, before use, go to Options > Settings > Advanced and ensure Only delete files in Windows Temp folders older than 48 hours is unchecked. To delete all "tracking" cookies, (which I urge you do), you must delete all cookies, so ensure the Cookies setting remains checked. Ensure you know your site credentials (user name and password) for sites you frequent; you will have to login again at next visit. Beginners and experts alike will benefit from the excellent, CCleaner Beginner's Guide.

Do you tried Disk Cleanup too?

Were you always the only user?

Another option is, from a command prompt, enter: del /q /f /s %temp%\*

This will delete all the temp files in what Windows thinks is its temp folders. If those files are still there after running that, then I think they are abandoned and you can simply delete them all manually. What are some of the time stamps?


_________________
image Bill, AFE7Ret
Freedom is NOT Free!

image
Back to top
View users profile Send private message
romulan

Cadet
Cadet


Joined: Jul 19, 2008
Posts: 4
Location: USA

PostPosted: Sun Jul 20, 2008 2:55 pm    Post subject:
Reply with quote

I have not tried the "older than 48" yet but most of these files are .tmp files with a few .txt, .xml, ~xxx.doc and the files go back to 11/1/2006. Only 9 of the 1690 folders are time stamped 7/2008. All of the rest are from 2007 and 2006. Some of the directory names end in .tmp and some have names like {CDB5B4F2-219D-48BA-AC26-39F1FB4C324F}.

I had tried both Disk Cleanup and CCleaner.

I am the one and only user and have always been. The \Local Settings is under my user name.

Is it possible that these programs don't "know" that this is a temp directory??

Back to top
View users profile Send private message
Bill_Bright

General
General
Premium Member

Joined: Jan 16, 2004
Posts: 8961
Location: Nebraska, USA
MVP Premium

PostPosted: Sun Jul 20, 2008 4:01 pm    Post subject:
Reply with quote

Quote:
Is it possible that these programs don't "know" that this is a temp directory??
I don't know, but if me, I would delete them all. If any are currently in use, the system will yell at you and stop the delete process.

If that bothers you, rename the folder for awhile.

Old: foldername
New: foldername-delete-7-20-2008

Same with any files you are not sure of

Old: filename.abc
New: filename.abc-delete-7-20-2008
(acknowledge that you know changing the .3 extension may break something - that's part of what you are checking out)

I use the above method all the time. Then next week, month, year, when I stumble upon that file or folder, I can tell immediately how long it has been renamed, and if safe to delete.

If a program needs the original folder or any subfolder or file underneath, it will yell at you "File not found" and you will know to simply go back and rename it back. And since you merely appended "delete" and the date you renamed it, you know the original name.


_________________
image Bill, AFE7Ret
Freedom is NOT Free!

image
Back to top
View users profile Send private message
romulan

Cadet
Cadet


Joined: Jul 19, 2008
Posts: 4
Location: USA

PostPosted: Sun Jul 20, 2008 4:16 pm    Post subject:
Reply with quote

I will try your renaming solution. Still curious why ccleaner doesn't work. Have a post on their site about this.

Thanks for all of your help.

Back to top
View users profile Send private message
pwillener

SRT Trainee
SRT Trainee
Premium Member

Joined: Apr 17, 2006
Posts: 1736
Location: Japan
Premium

PostPosted: Mon Jul 21, 2008 1:50 am    Post subject:
Reply with quote

Is it possible that you have changed your %temp% environment variable?

Open a Commant Prompt, then type echo %temp% - what do you get?

Back to top
View users profile Send private message Visit posters website
romulan

Cadet
Cadet


Joined: Jul 19, 2008
Posts: 4
Location: USA

PostPosted: Mon Jul 21, 2008 10:21 am    Post subject:
Reply with quote

I unchecked the "Only delete files in Windows Temp folder older than 48 hours" and it cleaned everything up. Took a long time but it is now clean.

I think if that box is checked it only cleans the Temp folder!!

Thanks for everyones help!!

Back to top
View users profile Send private message
Mister2

SRT Team Lead
SRT Team Lead
Premium Member

Joined: Oct 28, 2004
Posts: 7293

Moderators MVP Premium SRT Team F@H

PostPosted: Mon Jul 21, 2008 12:08 pm    Post subject:
Reply with quote

Glad you got it fixed - thanks for letting us know! Very Happy


_________________
Never stop learning
Back to top
View users profile Send private message
Bill_Bright

General
General
Premium Member

Joined: Jan 16, 2004
Posts: 8961
Location: Nebraska, USA
MVP Premium

PostPosted: Mon Jul 21, 2008 12:14 pm    Post subject:
Reply with quote

Quote:
I think if that box is checked it only cleans the Temp folder!!
No, I think it means you visited sites within the last 48 hours that dump lots of temporary files on your computer!

Thanks for the followup.


_________________
image Bill, AFE7Ret
Freedom is NOT Free!

image
Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> General Computer Problems All times are GMT
Page 1 of 1

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can report post to moderators in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001 phpBB Group
spacer spacer