User Tools

Site Tools


other:win7maintain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
other:win7maintain [2016/03/01 09:11]
jypeter [Cleaning the Java cache] Added details
other:win7maintain [2016/03/01 15:02]
jypeter More about cleaning
Line 39: Line 39:
  
 ===== Cleaning the computer ===== ===== Cleaning the computer =====
 +
 +==== Using the Disk Cleanup tool ====
 +
 +  * Right-click on the ''​C:''​ disk and select //​Properties//​
 +  * Disk cleanup => Clean system files
 +    - Other options => Clean restoration files
 +    - Select the file types you want to clean, and then //OK//
  
 ==== Removing the user's temporary files ==== ==== Removing the user's temporary files ====
Line 45: Line 52:
  
   * [[other:​win7config#​displaying_hidden_folders|Display the hidden folders]]   * [[other:​win7config#​displaying_hidden_folders|Display the hidden folders]]
-  * Go to C:​\Users\jypeter\AppData\Local\Temp+  * Go to ''​C:​\Users\jypeter\AppData\Local\Temp''​
   * Delete the files (it will not be possible to remove the files/​folders that are currently being used by the system)   * Delete the files (it will not be possible to remove the files/​folders that are currently being used by the system)
  
Line 61: Line 68:
   * In the //Internet temporary files// section, Clear the cache by clicking on Parameters...=>​ Remove files   * In the //Internet temporary files// section, Clear the cache by clicking on Parameters...=>​ Remove files
   * Note: it's also a good idea to reduce the maximum size allowed for the cache!   * Note: it's also a good idea to reduce the maximum size allowed for the cache!
 +
 +==== Removing the hibernation file ====
 +
 +If you are on a desktop and you don't use the hibernation,​ you can gain a few Gb on the ''​C:''​ partition by removing the hibernation file. See the appropriate [[other:​win7config#​changing_the_sleep_or_hibernation_mode|tech note]].
 +
 +==== Cleaning some hidden Windows temporary files ====
 +
 +//Use with **caution**,​ only if you know what you are doing!// You will need to use the Administrator/​adminuser account
 +
 +An easy way to determine the space used by the Window directories is to run a Cygwin shell as an administrator and execute:\\ ''​du -sh /​cygdrive/​c/​Windows/​* | sort -rh''​
 +
 +=== C:​\Windows\Installer directory ===
 +
 +The hidden ''​C:​\Windows\Installer''​ directory can easily grow to more than 10 Gb, because Windows uses it for storing files it needs at installation/​update/​removal time. Unfortunately,​ some files that could be removed when they are not need anymore (//orphan// files) stay in this directory.
 +
 +You can use the [[http://​www.homedev.com.au/​Free/​PatchCleaner|PatchCleaner]] utility to (re)move these orphan files. Rather than removing those files, you should move them to a disk partition other than ''​C:​\''​ (e.g. ''<​some_disk>:​\Scratch\<​your_login>​\PatchCleanerMovedInstallerFiles''​) and free a few Gb of disk space on ''​C:​\''​. [[http://​www.ghacks.net/​2015/​12/​13/​patchcleaner-remove-orphan-windows-installer-files-to-free-up-disk-space/​|More details...]]
 +
 +=== C:​\Windows\Temp and C:​\Windows\Logs\CBS ===
 +
 +in some cases, the ''​C:​\Windows\Logs\CBS''​ directory may grow to several Gb, due to some log files rotation and compression problem. In that case, remove everything (that you can), except the latest file, ''​CBS.log'',​ and remove what you can in ''​C:​\Windows\Temp''​
 +
 +=== C:​\Windows\winsxs ===
 +
 +It seems that [[https://​support.microsoft.com/​en-us/​kb/​2795190|Windows may need all the files in this directory]]. Don't touch it...
  
 ==== Cleaning the Start Up services ==== ==== Cleaning the Start Up services ====
  
-//Use with **caution**,​ if you know what you are doing!//+//Use with **caution**, ​only if you know what you are doing!// ​You will need to use the Administrator/​adminuser account
  
 Some programs may install start up services that you don't really need. Disabling these services may free some memory and decrease a bit the CPU usage... Some programs may install start up services that you don't really need. Disabling these services may free some memory and decrease a bit the CPU usage...
Line 70: Line 101:
   * Click on //Start//, then type //​msconfig//​ in the search box and launch **msconfig.exe**   * Click on //Start//, then type //​msconfig//​ in the search box and launch **msconfig.exe**
   * Go to the //​Services//​ window, hide the Microsoft services, and uncheck the services that you know for sure you will not need    * Go to the //​Services//​ window, hide the Microsoft services, and uncheck the services that you know for sure you will not need 
- 
-==== Removing the hibernation file ==== 
- 
-If you are on a desktop and you don't use the hibernation,​ you can gain a few Gb on the ''​C:''​ partition by removing the hibernation file. See the appropriate [[other:​win7config#​changing_the_sleep_or_hibernation_mode|tech note]]. 
  
  
other/win7maintain.txt · Last modified: 2016/03/01 15:02 by jypeter