Solved

Remove 300 gigabytes from system profile directory

Posted on 2013-12-02
5
1,805 Views
Last Modified: 2013-12-02
I'm trying to clean up a windows 7 computer that was infected
It currently has 300 Gigabytes of files in the  c:\windows\system32\config\systemprofile\appdata\local\microsoft\windows\temporary internet files\content.ie5

I have tried to delete the directory in safe mode, in command .prompt, with the drive attached as a secondary drive (not the boot drive,
additionly there appears to be about 5,000,000 files there, when I view in explorer the search icon just stops after a couple of hours. tried to del *.*, and waited over night.
0
Comment
Question by:cpudoctor
5 Comments
 
LVL 30

Expert Comment

by:pgm554
ID: 39691623
Try running a chkdsk.

Also try http://lockhunter.com/

Or just go into the user profiles,then delete
0
 
LVL 12

Assisted Solution

by:ibrahim52
ibrahim52 earned 250 total points
ID: 39691627
I suggest you to download the pro trial version of smartprotector from the link below and click ERASE it will take care of all cleaning and its quick.

http://smartprotector.com/eraser/
0
 
LVL 23

Accepted Solution

by:
Mysidia earned 250 total points
ID: 39691634
If you are at 5 million files;  there may be no efficient option for purging it.

Where an infection post-2007 is considered:  a computer known to be infected is not to be considered clean and safe: until formated anyways  ---  so formatting and restoring from backup,  in this case, can potentially save you time in trying to blow away 5 million files: while at the same time,  providing  a  more reliable purge of infection  affecting system files.

The ugly truth is config remnants remain,  and various malware strains have various sneaky techniques of persisting themselves - hiding,  and reinfecting later  -- and many malware bits are pretty darn good at eluding antimalware;  there is no antimalware or antivirus product capable of providing anything approaching a reasonably trustworthy assurance that a known infected machine has been cleaned.




To purge  the content.ie5  in the systemprofile specifically  I would suggest doing this from a command prompt

Ensure that when opening cmd.exe  you did the Right click > Run As Administrator
to run cmd.exe    in an Elevated process.

cd "c:\windows\system32\config\systemprofile\appdata\local\microsoft\windows\temporary internet files\"

From within the target directory

takeown /f content.ie5
attrib -s -h -r   content.ie5
attrib -s -h -r   content.ie5  /d
rd /s content.ie5

takeown /f content.ie5  /r /d Y
attrib -s -h -r   content.ie5 /s /d

attrib -s -h -r   content.ie5\*.*                    /s /d
del content.ie5\*.*
0
 

Author Closing Comment

by:cpudoctor
ID: 39691684
Great options, Thanks everyone, except for chkdsk I hadn't thought of any of the ideas
I did just reinstall to a new drive, The chkdsk solution just hung on an overnight run at 72%
0
 
LVL 18

Expert Comment

by:web_tracker
ID: 39691726
To delete 300 gb of files will take a long time.... You would probably better off rebuilding the system.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question