Solved

Huge size Windows TEMP

Posted on 2014-02-25
4
2,528 Views
Last Modified: 2014-02-25
Hi,

I see 59 GB in a C:\Windows\Temp folder of a server. Windows Folder has a size of 69Gb. I thought that I can delete inside this temp folder. Would it be harmfull for Application or data?
0
Comment
Question by:certuran
4 Comments
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 67 total points
ID: 39885299
Depends on your running applications. That folder should contain only temporary files, so deleting them will only affect open applications.

Usually you won't be able to delete open files anyway, so if you simply delete what you can from that folder you'll be fine.

HTH,
Dan
0
 
LVL 8

Assisted Solution

by:Shahnawaz Ahmed
Shahnawaz Ahmed earned 67 total points
ID: 39885315
Dear Certurn,

you can delete the C:\windows\temp folder data. If any application would have using any file it will give you error that you can not delete this file. However in the C:\Windows\temp there is always temporary files stored which meant to be deleted automatic , however they wont delete some reason so we can delete then manually. Also you can look temp folder in the system32 , I have personal experience to delete such folders to make space in c drive of the domain and its pretty safe.
0
 
LVL 8

Assisted Solution

by:jpgobert
jpgobert earned 66 total points
ID: 39885317
That's a LOT of temp usage...  the only thing I can think of would be that something in the temp folder is currently being used by a running process but even then you just wouldn't be able to delete those files until whatever is using them is shut down.  You could just go the super simple and safe route and use the Disk Cleanup Wizard.  It'll give you the option to clear out your temp directories.

The disk cleanup wizard isn't installed by default in Server 2008 but you can easily take care of that by copying the two files needed into the correct folders.  

64-bit
copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui C:\Windows\System32\en-US\cleanmgr.exe.mui
copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe C:\Windows\System32\cleanmgr.exe

Open in new window

32-bit
copy C:\Windows\winsxs\x86_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_5dacc610f9fa5b2d\cleanmgr.exe.mui C:\Windows\System32\en-US\cleanmgr.exe.mui
copy C:\Windows\winsxs\x86_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_6d1a8c84bedf66a4\cleanmgr.exe C:\Windows\System32\cleanmgr.exe

Open in new window


Once you've run the correct commands based on your platform version you will be able to launch the program by typing cleanmgr.exe into a run box or by browsing to your System32 folder and double clicking on that executable.
0
 

Author Closing Comment

by:certuran
ID: 39885413
First of all I used cleanmgr. It did not cleaned all temporary files. Then I deleted them manually. Very big size I gained. Thank you very much.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

790 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