ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

ccleaner

After writing the article yesterday about how to run CCleaner silently through a shortcut or a hotkey, many people expressed to me that they’d like to know how to run it every single night on a schedule, so I’m writing that up for everybody’s benefit.

昨天写了关于如何通过快捷方式或热键静默运行CCleaner的文章之后,许多人向我表达了他们想知道如何按计划每天晚上运行它,因此我将其写给每个人效益。

Setup Your Options

设置您的选项

You’ll need to decide which settings you want to run when CCleaner is run automatically… for instance, I’d look at whether or not you want to clean out your cookies or recent documents (which is a feature I use often, so I don’t want them cleaned out)

您需要确定自动运行CCleaner时要运行哪些设置……例如,我要查看您是否要清理cookie或最新文档(这是我经常使用的功能,因此我不想把它们清理掉)

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Next, take a trip over to Options \ Advanced and make sure that the “Save all settings to INI file” option is checked (it should be checked by default). This makes sure that whatever settings you’ve chosen are saved out to an INI file in the same directory.

接下来,跳至“选项\高级”,并确保选中“将所有设置保存到INI文件”选项(默认情况下应选中)。 这样可以确保将您选择的任何设置都保存到同一目录的INI文件中。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Create the Scheduled Task in Windows 7 or Vista

在Windows 7或Vista中创建计划任务

Open up Task Scheduler by typing it into the Start menu search box, or browsing to Accessories \ System Tools.

通过在“开始”菜单搜索框中键入任务计划程序或浏览至“附件\系统工具”来打开它。

Once you are there, click the link for “Create Basic Task” on the right-hand side.

到那里后,单击右侧的“创建基本任务”链接。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Give the task a memorable name like “Run CCleaner”

给任务起一个令人难忘的名称,例如“ Run CCleaner”

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Choose “Daily” or “Weekly”, depending on how often you want the task to run.

根据您希望任务运行的频率,选择“每日”或“每周”。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Now choose a time of the day that your computer is usually on, but you aren’t using it.

现在,选择一天中计算机通常开启的时间,但是您没有使用它。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

On the next screen, choose to “Start a program” and go to the next screen.

在下一个屏幕上,选择“启动程序”并转到下一个屏幕。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Now you’ll need to browse down to the CCleaner executable file, which is typically found in the following location, but could be elsewhere:

现在,您需要浏览到CCleaner可执行文件,该文件通常在以下位置找到,但可能在其他位置:

C:\Program Files\CCleaner\CCleaner.exe

C:\ Program Files \ CCleaner \ CCleaner.exe

Make sure to add the /AUTO switch to the “Add arguments” box.

确保将/ AUTO开关添加到“添加参数”框中。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

On the Summary screen, make sure to click the box for “Open the Properties dialog” before clicking on the Finish button.

在“摘要”屏幕上,确保在单击“完成”按钮之前,单击“打开属性对话框”框。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Now you’ll want to choose the option for “Run with highest privileges”, so that the task will automatically run with administrator privileges.

现在,您要选择“以最高特权运行”选项,以便任务将以管理员特权自动运行。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Optional: You can also take a look at the Conditions tab, and choose the option to start the task only when the computer is idle for a certain amount of minutes.

可选:您还可以查看“条件”选项卡,并选择仅在计算机闲置一定时间后才启动任务的选项。

You should notice the “Wake the computer to run this task” option as well… if you usually put your computer into Sleep mode, you can check that box so that the computer will wake up to run CCleaner.

您还应该注意到“唤醒计算机以运行此任务”选项…如果通常将计算机置于睡眠模式,则可以选中该框,以便计算机唤醒以运行CCleaner。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

You can test out the task by right-clicking on the item in the list, and choose Run. CCleaner should run silently in the background.

您可以通过右键单击列表中的项目来测试任务,然后选择“运行”。 CCleaner应该在后台静默运行。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

You can look around at some of the other options… for instance some people run CCleaner a couple times a day (although that seems a little excessive to me… once a week would probably be good enough)

您可以查看其他一些选项……例如,有些人一天运行几次CCleaner(尽管对我来说似乎有点过头了……每周一次可能就足够了)

Create the Scheduled Task in Windows XP

在Windows XP中创建计划任务

If you are using Windows XP, there is a whole different wizard you’ll have to go through… open up Scheduled Tasks in Control Panel or from the Start Menu’s Accessories \ System Tools section, and then click on “Add Scheduled Task”

如果您使用的是Windows XP,则必须完成一个完全不同的向导…在“控制面板”中或从“开始”菜单的“附件” \“系统工具”部分中打开“计划任务”,然后单击“添加计划任务”

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

If you’ve installed CCleaner using the regular installer, you should see it in the list. If not, then you’ll have to browse down to the location of the file.

如果您使用常规安装程序安装了CCleaner,则应在列表中看到它。 如果没有,那么您将必须向下浏览到文件的位置。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Then you’ll want to give the task a helpful name, and choose “Daily” or “Weekly”, depending on how often you want to run it.

然后,您将要给任务起一个有用的名称,并根据您要运行该任务的频率选择“每日”或“每周”。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Now choose a time of the day that your computer will be on, but you won’t be using it, like 1AM (or if you are like me, 8AM)

现在,选择一天中您计算机将开启的时间,但是您将不会使用它,例如1AM(如果像我一样,则是8AM)

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

You’ll be asked to enter the password for your user account.

系统将要求您输入用户帐户的密码。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Make sure to check the box for “Open advanced properties” and then click on the Finish button.

确保选中“打开高级属性”复选框,然后单击“完成”按钮。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Now you’ll want to modify the Run command to include the /AUTO switch at the end. Make sure to put a space between.

现在,您将要修改“运行”命令,以在最后包含/ AUTO开关。 确保在两者之间留一个空格。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

If you look at the Settings tab, you’ll see the options to only start the task if the computer is idle, and also the same option to “Wake the computer to run this task”, which is useful if you usually put your computer into standby mode when you aren’t using it.

如果查看“设置”选项卡,则将看到仅在计算机空闲时才启动任务的选项,以及与“唤醒计算机以运行此任务”相同的选项,如果您通常将计算机放在计算机上,则该选项非常有用不使用时进入待机模式。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

You can test out your scheduled task by right-clicking on it and choosing Run. CCleaner should open and run in the background.

您可以通过右键单击计划任务并选择运行来测试您的计划任务。 CCleaner应该在后台打开并运行。

ccleaner_设置CCleaner以在Windows 7,Vista或XP中自动每晚运行

Download CCleaner from ccleaner.com (Download the Slim build which doesn’t bundle the Yahoo! toolbar)

从ccleaner.com下载CCleaner (下载不捆绑Yahoo!工具栏的Slim版本)

翻译自: https://www.howtogeek.com/howto/windows-vista/setup-ccleaner-to-automatically-run-each-night-in-vista-or-xp/

ccleaner