正在创建系统还原点_如何使Windows在启动时自动创建系统还原点

正在创建系统还原点

正在创建系统还原点

srs_top

By default, System Restore automatically creates a restore point once per week and also before major events like an app or driver installation. If you want even more protection, you can force Windows to create a restore point automatically every time you start your PC.

默认情况下,“系统还原”会每周一次并且在重大事件(例如应用程序或驱动程序安装)之前自动创建一个还原点。 如果需要更多保护,则可以强制Windows在每次启动PC时自动创建一个还原点。

System Restore is an important tool that can help you recover from many different types of problems. The only trouble is that when restoring to a previous restore point, you reverse many of the changes made to your PC since that restore point was created. These changes include apps and drivers that have been installed or uninstalled, changes that apps have made to the Registry and settings files, and Windows updates that have been applied. System Restore does create weekly restore points for you—and you can create your own manual restore points—but for a little more peace of mind, you can also have System Restore create a restore point every time Windows starts.

系统还原是一个重要的工具,可以帮助您从许多不同类型的问题中恢复。 唯一的麻烦是,还原到先前的还原点时,您会撤消自从创建该还原点以来对PC所做的许多更改。 这些更改包括已安装或卸载的应用程序和驱动程序,应用程序对注册表和设置文件所做的更改以及已应用的Windows更新。 系统还原确实会为您创建每周还原点,您也可以创建自己的手动还原点,但是为了更加省心,您还可以让系统还原每次Windows启动时创建一个还原点。

Making this change requires two steps. First, you’ll use the Windows Registry to change the frequency at which Windows can trigger automatic restore points, and then you’ll use Task Scheduler to set a startup task that creates a restore point.

进行此更改需要两个步骤。 首先,您将使用Windows注册表来更改Windows触发自动还原点的频率,然后将使用“任务计划程序”来设置创建还原点的启动任务。

第一步:更改还原点的创建频率 (Step One: Change the Restore Point Creation Frequency)

Windows controls the creation of automatic restore points based on a frequency setting to help limit the number of restore points that get saved. By default, Windows won’t create an automatic restore point if another restore point has been created in the last 24 hours. This does not prevent you from creating a manual restore point, and it does not prevent the creation of restore points due to an app or driver installation. Rather, it limits how often Windows creates its own periodic restore points. In order for Task Scheduler to create a restore point at every startup, you’ll need to turn that frequency setting off. And don’t worry, your drive is not going to fill up with tons of restore points. For one thing, you get to set the limit on how much disk space System Restore can use, which by default is about 2% of a drive’s space. Also, Windows does a pretty good job and clearing out old restore points.

Windows根据频率设置控制自动还原点的创建,以帮助限制保存的还原点的数量。 默认情况下,如果最近24小时内创建了另一个还原点,则Windows不会创建自动还原点。 这不会阻止您创建手动还原点,也不会阻止由于安装应用程序或驱动程序而创建还原点。 而是,它限制了Windows创建自己的定期还原点的频率。 为了让Task Scheduler在每次启动时创建一个还原点,您需要关闭该频率设置。 不用担心,您的驱动器将不会充满大量的还原点。 一方面,您需要设置系统还原可以使用的磁盘空间的限制,默认情况下,该限制约为驱动器空间的2%。 而且,Windows做得很好,并且清除了旧的还原点。

To adjust the restore point frequency, you can either dive in and make a simple change to the Registry yourself or download our one-click Registry hacks.

要调整恢复点的频率,您可以自己潜入并对注册表进行简单的更改,也可以下载我们的一键式注册表黑客。

通过手动编辑注册表来更改还原点创建频率 (Change the Restore Point Creation Frequency by Editing the Registry Manually)

Standard warning: Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. This is a pretty simple hack and as long as you stick to the instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry (and your computer!) before making changes.

标准警告:注册表编辑器是一个功能强大的工具,滥用它会使您的系统不稳定甚至无法运行。 这是一个非常简单的技巧,只要您按照说明进行操作,就不会有任何问题。 也就是说,如果您以前从未使用过它,请在开始之前考虑阅读有关如何使用注册表编辑器的信息。 并在进行更改之前一定要备份注册表(和您的计算机!)。

Open the Registry Editor by hitting Start and typing “regedit.” Press Enter to open Registry Editor and give it permission to make changes to your PC.

通过单击开始并键入“ regedit”来打开注册表编辑器。 按Enter键打开注册表编辑器,并授予其对PC进行更改的权限。

srs_1

In the Registry Editor, use the left sidebar to navigate to the following key:

在注册表编辑器中,使用左侧边栏导航至以下键:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore
srs_2

Next, you’ll create a new value inside the SystemRestore key. Right-click the SystemRestore key and choose New > DWORD (32-bit) Value. Name the new value SystemRestorePointCreationFrequency .

接下来,您将在SystemRestore键中创建一个新值。 右键单击“ SystemRestore键,然后选择“新建”>“ DWORD(32位)值”。 将新值命名为SystemRestorePointCreationFrequency

By default, the SystemRestorePointCreationFrequency will have a value of zero and that’s how we’re going to leave it. This effectively turns off the frequency check by setting the interval to zero. You can now close Registry Editor and move on to step two.

默认情况下, SystemRestorePointCreationFrequency的值为零,这就是我们将其保留的方式。 通过将时间间隔设置为零,可以有效地关闭频率检查。 现在,您可以关闭注册表编辑器,然后继续执行第二步。

下载我们的一键式注册表黑客 (Download Our One-Click Registry Hack)

srs_4

If you don’t feel like diving into the Registry yourself, we’ve created a couple of registry hacks you can use. The “Set System Restore Point Frequency to Zero” hack creates the SystemRestorePointCreationFrequency  value and sets it to zero. The “Restore System Restore Point Frequency to Default” hack deletes the value, restoring the default setting. Both hacks are included in the following ZIP file. Double-click the one you want to use and click through the prompts. When you’ve applied the hack you want, restart your computer (or log off and back on).

如果您不想自己进入注册表,我们已经创建了两个可以使用的注册表黑客。 “将系统还原点频率设置为零”技巧将创建SystemRestorePointCreationFrequency值并将其设置为零。 “将系统还原点频率恢复为默认值” hack会删除该值,并恢复默认设置。 这两种黑客都包含在以下ZIP文件中。 双击您要使用的一个,然后单击提示。 应用所需的黑客程序后,请重新启动计算机(或注销并重新启动)。

Restore Point Frequency Hacks

恢复点频黑客

These hacks are really just the SystemRestore  key, stripped down to the SystemRestorePointCreationFrequency  value we talked about in the previous section and then exported to a .REG file. Running either of the hacks sets that value to the appropriate number.  And if you enjoy fiddling with the Registry, it’s worth taking the time to learn how to make your own Registry hacks.

这些技巧实际上只是SystemRestore密钥,被简化为我们在上一节中讨论的SystemRestorePointCreationFrequency值,然后导出到.REG文件。 运行任何一个hack都会将该值设置为适当的数字。 而且,如果您喜欢使用注册表,则值得花时间学习如何制作自己的注册表黑客

第二步:安排启动任务以创建新的还原点 (Step Two: Schedule a Startup Task to Create a New Restore Point)

After setting the restore point frequency to zero in the Registry, your next step is to use the Windows Task Scheduler to create a task that runs when Windows starts and creates a new restore point.

在注册表中将还原点频率设置为零后,下一步是使用Windows Task Scheduler创建一个任务,该任务在Windows启动时运行并创建一个新的还原点。

Open Task Scheduler by pressing Start, typing “Task Scheduler,” and then hitting Enter.

通过按开始,键入“任务计划程序”,然后按Enter,打开任务计划程序。

srs_5

In the Task Scheduler window, in the Action pane on the right-hand side, click “Create Task.”

在“任务计划程序”窗口中,在右侧的“操作”窗格中,单击“创建任务”。

srs_6

In the Create Task window, on the “General” tab, type a name for your task and then select both the “Run whether user is logged on or not” and “Run with highest privileges” options. On the “Configure for” drop-down menu, select the version of Windows you’re running.

在“创建任务”窗口的“常规”选项卡上,键入任务的名称,然后选择“运行是否登录用户”和“以最高特权运行”选项。 在“配置为”下拉菜单上,选择您正在运行的Windows版本。

srs_7

Next, you’ll set up a trigger to initiate the task when Windows starts. On the “Triggers” tab, click the “New” button.

接下来,您将设置触发器以在Windows启动时启动任务。 在“触发器”选项卡上,单击“新建”按钮。

srs_8

In the New Trigger window, on the “Begin the task” drop-down menu, select the “At startup” option and then click “OK.”

在“新建触发器”窗口的“开始任务”下拉菜单上,选择“启动时”选项,然后单击“确定”。

srs_9

Next, you’ll tell Task Manager what action it should take, which is to run the Windows Management Instrumentation Control program (wmic.exe) with a few arguments to let it know what you want it to do. Back in the Create Task window, switch to the “Actions” tab and click the “New” button.

接下来,您将告诉任务管理器应采取的措施,即运行Windows Management Instrumentation Control程序(wmic.exe),并带有一些参数以使其知道要执行的操作。 返回“创建任务”窗口,切换到“操作”选项卡,然后单击“新建”按钮。

srs_10

In the New Action window, make sure the “Start a program” option is selected in the “Action” drop-down menu. In the “Program/script” box, type the following program name:

在“新建操作”窗口中,确保在“操作”下拉菜单中选择了“启动程序”选项。 在“程序/脚本”框中,键入以下程序名称:

wmic.exe

And in the “Add arguments (optional)” box, type the following arguments:

在“添加参数(可选)”框中,键入以下参数:

/Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "Startup Restore Point", 100, 7

When you’re done, click “OK.”

完成后,单击“确定”。

srs_11

Back in the Create Task window, switch to the “Conditions” tab. If you’re running Windows on a laptop and you want the task to run whether or not the laptop is using battery or AC power, turn the “start the task only if the computer is on AC power” option off. When you’re done, click the “OK” button to create the new task.

返回“创建任务”窗口,切换到“条件”选项卡。 如果您在笔记本电脑上运行Windows,并且希望无论笔记本电脑是使用电池还是使用交流电源来运行任务,请关闭“仅在笔记本计算机使用交流电源时启动任务”选项。 完成后,单击“确定”按钮以创建新任务。

srs_12

Windows will ask you to enter sign in credentials it can use to execute the task. The username should already be filled out, so type your password and then click “OK.”

Windows将要求您输入可用于执行任务的登录凭据。 用户名应该已经填写好,因此输入密码,然后单击“确定”。

srs_13

You can now close Task Scheduler. The next time you restart Windows, System Restore should create a new restore point for you.

现在,您可以关闭任务计划程序。 下次重新启动Windows时,系统还原应为您创建一个新的还原点。

srs_14

If you want to reverse your changes and go back to the default System Restore settings, you’ll need to delete—or disable—the task you created and remove the value you created from the Registry. To remove the task, open up Task Scheduler and select the “Task Scheduler Library” folder in the left-hand pane. Scroll through the list until you find the task you created, right-click it, and then choose either “Disable” or “Delete” from the context menu.

如果要撤消更改并返回到默认的“系统还原”设置,则需要删除或禁用创建的任务,并从注册表中删除创建的值。 要删除任务,请打开“任务计划程序”,然后在左侧窗格中选择“任务计划程序库”文件夹。 滚动列表,直到找到创建的任务,右键单击它,然后从上下文菜单中选择“禁用”或“删除”。

srs_15

To remove the Registry entry you created, go back to the SystemRestore key we talked about and delete the SystemRestorePointCreationFrequency  value you created—or just use our “Restore System Restore Point Frequency to Default” hack.

要删除您创建的注册表项,请回到我们讨论过的SystemRestore项,然后删除您创建的SystemRestorePointCreationFrequency值,或仅使用“将系统还原点频率还原为默认值” hack。

翻译自: https://www.howtogeek.com/278388/how-to-make-windows-automatically-create-a-system-restore-point-at-startup/

正在创建系统还原点

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值