System Optimization: Changing the cache location of Vista offline files

  
        After using Windows Vista for a while, we will find that the system disk space is getting more and more tight. What should I do at this time? Reason analysis: Since the cache of offline files in the Vista system is saved in the system disk, it is often used by offline files. The system disk space is tight. Workaround: This problem can be solved by changing the cache location of offline files. The default save location of the offline file cache in the Vista system is: "c:\\Windows\\csc". The method for changing its default save location is as follows: 1. Run the following command in the command prompt window of the administrator's permission: REG ADD "HKLM\\System\\CurrentControlSet\\Services\\CSC\\Parameters" /v MigrationParameters /t REG_DWord /d 1 /f 2. Run the following command using the local administrator account: (Replace the partition drive letter according to the actual situation) c:\\ Windows\\system32\\migwiz\\migwiz.exe 3. In the Windows Easy Transfer Wizard, select the following options: (1) Click Start New Transfer. (2) Click on my old computer. (3) Click to use CD, DVD or other removable media. (4) Click on the external hard disk or network location. (5) Enter the location where you want Savedata.mig to save and click Next. (6) Click on the advanced option. (7) On the Select User Accounts, Files, and Settings page to transfer, do the following: i. Deselect all selected check boxes. Ii. Under System and Program Settings (All Users), expand Windows Settings, expand Network and Internet, and select Offline Files. Iii. Repeat this for each user listed on this page. (8) Click Next to start the transfer. 4. Create a new string name named CacheLocation under the HKLM\\System\\CurrentControlSet\\Services\\CSC\\Parameters key in the registry, and set the value to the NT format name corresponding to the location where you want the cache to be saved. . For example, if you want the cache to be saved in the d:\\csc directory, type \\??\\d:\\csc. Create the d:\\csc directory (or any other directory you specify). 5. Restart the computer, run the following command: c:\\Windows\\system32\\migwiz\\migwiz.exe , and then, in the wizard, do the following: (1) Click to continue the transfer in progress. (2) Click No, I have copied the files and settings to CD, DVD or other removable media. (3) Click on the external hard disk or network location. (4) Enter the path to the .mig file created in the third step. (5) One-to-one correspondence between the old computer and the user account on the new computer. (6) Click Next and then click Transfer. 6. Log out, log back in, and confirm that you can access the offline files correctly. 7. Delete the old cache. Run the following command in the command prompt window of the administrator's permission: takeown /r /f c:\\Windows\\csc rd /s c:\\Windows\\csc
Copyright © Windows knowledge All Rights Reserved