Weight loss for the Windows Vista system security



Activate interception of the clean-up projects without permission from the preceding description can be seen, Windows Vista built-in Disk Cleanup program can clean out a small project, because this program in the default mode is automatically hidden a lot of features, we can command-line option to activate these features were hidden so as to achieve safe weight loss purposes.

① obtain permission first, please login system administrator-level accounts, since the implementation of the following operations need to obtain the relevant permissions for the job here is cleanmgr.exe set mainly for cleaning up unnecessary files on your computer hard drive, we You can use command-line options to specify cleanmgr.exe clean up certain files.

② Set provides clean-up project cleanmgr.exe "/ sageset: n" parameter, you can display the Disk Cleanup Settings dialog box, but will also create a registry key to store the settings you choose, the n value is stored in the registry It allows you to specify various tasks to run Disk Cleanup, n is from 0 to any integer 65535 represents 1 to 65535 disk clean-up profiles. In other words, can create up to 65,535 disk clean up configuration files, typically "99", I believe your machine's hard disk partition will not be more than 99 more than you?

Press "Win + R" key combination to open the Run dialog box, enter here, "cleanmgrsageset: 99", after the implementation can be seen in the pop-up dialog box provided by the project to be much richer than before, for example, you can delete the downloaded program file, Internet temporary files, system error memory dump files, system error mini dump file, temporary Windows installation file, thumbnails, etc. Here you can check the future clean-up projects, usually to all selected Finally click "OK" button to close the dialog box.

③ to perform cleanup operations before the implementation of the order only the items on the disk clean-up set, to let Vista automatically remember these settings under the next execution will follow the same set to clean up.

If you want to really clean up the disk, also need to use the "/ sagerun: n" This argument, this option will run the n value that is assigned to specific tasks, and a drive selected for each specific configuration file, n, such as the meaning of before, in most cases also use "99", a word here, the figures must be consistent with the previous figures.

Reopen the Run dialog box, enter "cleanmgr / sagerun: 99", now, the system will in accordance with the settings you have automatic cleaning of waste related projects, although it takes some time longer than before, but the deleted items more, but after all, is provided by Microsoft's own stuff, can guarantee absolute security.

Perfect read above, the task plan, friends have suddenly realized the feeling? But if every time the Run dialog box from the implementation of this command, some really have too much trouble. In fact, we can process through the scheduled tasks to run at a specific time designated cleanmgr.exe disk clean-up task, specific steps are as follows: ① activate the Task Scheduler from the Start menu's "attachment → System Tools", under the implementation of "Task Scheduler" in the right pane, select the "Create Task" in the "General" tab for the new task a name, where this task can be specified to run at any time, default setting is only run when the user is logged on, of course, you can set "Regardless of whether the user is logged should run," This will force the run after the login.

② Set the trigger Jump to "Triggers" tab, create a trigger where the trigger to set specific conditions, the default is executed only once, the proposed set to run once a day, of course, to choose according to weekly or every on the implementation of the first.

③ When the specified operation to meet the trigger conditions, we need the system implementation is of course the Disk Cleanup operation Rights, Go to "Actions" tab, click the New button, click the "program or script" below the Browse button to specify the "cleanmgr. exe "path, of course, need further to add" / sagerun: 99 "this parameter, the last not forget to save.

Completion of the all the settings, confirm and save, this new task will appear to lose weight in the "active tasks" list. Later, you can let the system automatically in the specified time to clean up all kinds of garbage on the disk file. To manually executed at any time double click to open "safe weight loss" task, right-click select "Run" button