To free up space disk and remove unnecessary files, Windows Cleanup tool includes the disk space that you can start it using the system interface or by command line.
-A button located on the Properties tab of the disk drives, hard drives ie.
, Writing in the box or the command Home Run the command: CLEANMGR and press the ENTER key.
In both cases a window will be displayed for the user to decide what type of files to delete. Only shows the file types that Windows detected in a short preliminary analysis, it is possible to eliminate.
lot of users want to skip this step, ie avoid being marked boxes each time you need to be cleaned.
The solution in this case is to use the command CLEANMGR.
The first: sageset to create and save user preferences, specifying the type of files to delete the configuration thus created is stored using a number.
The second option: sagerun can run the tool using a previously saved configuration .
It is important to know that you can create and save different configurations for use on different occasions.
CLEANMGR / D unit:
CLEANMGR / sageset: X Sets options and stores them in memory.
CLEANMGR / sagerun: X Run cleanmgr with the saved settings.
X can be any number in the range of 1 to 65535.
• window opens where you can choose the options assigned to X so that was defined in the above command, check the boxes you want and press the ENTER key.
• To free up space just introduced into the Start or Run box: cleanmgr / sagerun: X, replace X with the number that corresponds to the profile created and press the ENTER key.
Repeat the first step as often as necessary to create different profiles using numbers and options.
For example, you can create a profile to make room daily, one to be cleaned regularly once a week, another for use monthly, etc.. this varies according to user needs and tasks in your computer.
This brings the disadvantage that we must be regularly creating new combinations.
We have of all possible options, this requires editing the Windows registry key which stores the system preferences can be done manually or run a REG file that will make it easier.
To test it you can edit it with Notepad (drag the REG over Notepad), also Notepad + + or any other plain text editor .
Each line of code containing a different option to delete files is preceded by a line is a comment (starts with the ";") that clearly explains that is the option that follows.
to disable or not use an option just substitute the dword value 2 for a number 1.
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Active Setup Temp Folders]
"StateFlags0064" = dword: 00000002
Program Files]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Internet Cache Files]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Memory Dump Files]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Offline Pages Files]
"StateFlags0064" = dword: 0000
, after performing a repair disk with CHKDSK.
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Old ChkDsk Files]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Previous Installations]
"StateFlags0064" = dword: 00000002
Bin]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Setup Log Files]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ System error memory dump files]
"StateFlags0064" = dword: 00000002
; Stored in the folder
Error minidump files]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Temporary Files]
"StateFlags0064" = dword: 00000002
Setup Files]
"StateFlags0064" = dword: 00000002
Cache]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Upgrade Discarded Files]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Windows Error Reporting Archive Files]
"StateFlags0064" = dword: 00000002
Error Reporting Queue Files]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Windows Error Reporting System Archive Files]
"StateFlags0064" = dword: 00000002
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ VolumeCaches \ Windows Error Reporting System Queue Files]
"StateFlags0064" = dword: 00000002
Upgrade Log Files]
"StateFlags0064" = dword: 00000002
"are deleted temporary files created during the installation MSDOWNLD.TMP of programs.
"downloaded files are deleted several programs for installation.
"are deleted temporary internet files stored on your hard drive.
"Eliminate junk files stored in the Windows directory extension. dmp
"downloaded pages are removed to see offline offline.
"folders are deleted formatted lost clusters containing FOUND.XXX after a repair disk with the CHKDSK command.
"if there are deleted residues from previous installations of Windows.
"All downloaded files Recycle Bin.
"Deletes all logs or log files setup *. log | setup *. old | setuplog.txt | Winnt32.log stored in the Windows folder.
"files are deleted. dmp errors occurred with information stored in the Windows folder.
"files are deleted. dmp with information about blue screen errors stored in the Windows \ Minidump.
"delete temporary files are found in the% TEMP%
in Windows 7 environment variable% TEMP% refers to :
C: \ Users \ Username \ AppData \ Local \ Temp
In Windows XP the location is:
C: \ Documents and Settings \ Username \ Local Settings \ Temp
"are deleted temporary files created by Windows Installer.
"It removes the view cache thumbnails.
The cache thumbnails saved to disk files needed for rapid charging content displayed by choosing the medium or large icons view, on any folder containing images and videos, if you delete will be created again as to open each folder in succession.
"discarded files are deleted from Windows updates.
"files are deleted user error reports now located in the folder:
% USERPROFILE% \ AppData \ Local \ Microsoft \ Windows \ WER \ ReportArchive
"It delete files from user error reports now pending, located in the folder:
% USERPROFILE% \ AppData \ Local \ Microsoft \ Windows \ WER \ ReportQueue
"Eliminate error report files of all users located in the folder:
% ALLUSERSPROFILE % \ Microsoft \ Windows \ WER \ ReportArchive
"files are deleted pending error reports for all users located in the folder:
% ALLUSERSPROFILE% \ Microsoft \ Windows \ WER \ ReportQueue
"files are deleted logs and records kept of Windows updates .
Write or introduced into the Start or Run box CLEANMGR / sagerun: 64 and press the Enter key.
Give a right click with your mouse on the desktop or another directory in the menu that appears choose "New Shortcut" in the window that appears: " Enter the location of the item "copy and paste: CLEANMGR / sagerun: 64, click Next and Finish to exit the wizard.
Create a new text file with Notepad and type or paste in: @ echo off
wait ...... miss
Cleanmgr.exe / sagerun: 64
Close the file and save the changes.
Rename the file created: limpiar.cmd, make sure the file extension be. cmd and no. txt.
Files
You'll find the value value "LastAccess" that is what defines this behavior, its default value is 7, but you can modify and set a lower value as 2, 3 or 1 according to your convenience.
The Startup folder can be found in the path:
"C: \ Users \ Username \ AppData \ Roaming \ Microsoft \ Windows \ Start Menu \ Programs ", you can also access the Startup folder in a simple Start typing or pasting the following: shell: startup and pressing Enter.
To use them introducing them in the table should be preceded Start the command "cmd / c start"
= Delete Cookies RunDll32.exe inetcpl.cpl, ClearMyTracksByProcess 2
= Delete Temporary Files RunDll32.exe inetcpl.cpl, ClearMyTracksByProcess 4
Delete Temporary Files including offline favorites = RunDll32.exe inetcpl.cpl , ClearMyTracksByProcess 8
= Delete Form Data RunDll32.exe inetcpl.cpl, ClearMyTracksByProcess 16
= Delete Passwords RunDll32.exe inetcpl.cpl, 32 ClearMyTracksByProcess
phishing filter Delete = RunDll32.exe inetcpl.cpl, ClearMyTracksByProcess 64
= Delete All RunDll32.exe InetCpl . cpl, 255 ClearMyTracksByProcess
Clear all more deeply including plugins installed = RunDll32.exe inetcpl.cpl, 4351 ClearMyTracksByProcess
For that creates a batch with the following code or download the link below and run it you create a list in a text file called "stored temporales.txt Directories" in the directory where you run it with a list of all folders that contain temporary files on your system disk.
dir c: \ * Temporary * / a: D / s / b >> "Directories that store temporales.txt"
"C: \ Windows \ Prefetch" in the next system boot Windows will restore the necessary and create a new cache according to the applications you are currently using.