崩溃时快速自动重新启动Windows程序

00_lead_image_restartme

We’ve all had programs crash on us in Windows at one time or another. You can take the time to manually start the program again, or you can have a simple program like ReStartMe restart it automatically for you.

我们都曾经一次或多次在Windows上使程序崩溃。 您可以花时间手动重新启动该程序,也可以使用简单的程序(例如ReStartMe)为您自动重新启动它。

ReStartMe is a free program that has one purpose in life, to restart processes. You tell it to watch specific processes and if any of those processes exit, whether they crashed or you accidentally closed them, ReStartMe will automatically restart them.

ReStartMe是一个免费程序,具有一个旨在重新启动进程的作用。 您告诉它监视特定的进程,并且如果这些进程中的任何一个退出,无论它们崩溃还是意外关闭它们,ReStartMe都会自动重新启动它们。

To install the program, double-click on the restartmeinstaller.exe file you downloaded (see the link at the end of the article). Follow the easy installation process, accepting the default settings.

要安装该程序,请双击您下载的restartmeinstaller.exe文件(请参阅文章末尾的链接)。 按照简单的安装过程,接受默认设置。

01_running_restartme_installer

NOTE: ReStartMe installs into the Program Files directory. If you’re installing it in Windows 7 or Vista, you have to take ownership of the ReStartMe program directory because the program settings are written into a file in the same directory. If you don’t take ownership, you’ll encounter the following error. If you click Continue, the program will still work, but the settings won’t be saved.

注意:ReStartMe安装到Program Files目录中。 如果要在Windows 7或Vista中安装它,则必须拥有ReStartMe程序目录的所有权,因为程序设置被写入同一目录中的文件中。 如果您不拥有所有权,则会遇到以下错误。 如果单击“继续”,该程序仍将运行,但不会保存设置。

02_error_dialog

To take ownership of the ReStartMe program directory (C:\Program Files\ReStartMe), see our article about adding a Take Ownership option to the right-click menu in Explorer. Then, you can easily use the right-click menu to take ownership of the program directory.

要获得ReStartMe程序目录(C:\ Program Files \ ReStartMe)的所有权 ,请参阅有关在Explorer中的右键菜单上添加“获得所有权”选项的文章。 然后,您可以轻松地使用右键单击菜单来获取程序目录的所有权。

03_taking_ownership

Because we were already in the Program Files directory, we chose to start ReStartMe by double-clicking the ReStartMe.exe file. You can also start the program from the Start menu.

因为我们已经在Program Files目录中,所以我们选择通过双击ReStartMe.exe文件来启动ReStartMe。 您也可以从“开始”菜单启动程序。

04_running_restartme

To add a process to be watched by ReStartMe, click Add a process.

要添加ReStartMe监视的进程,请单击“添加进程”。

05_clicking_add_a_process

You can either add a currently running process, or select a program to watch that is not yet running. To select a currently running process, select the process from the drop-down list. To add a program that is not currently running, click Browse for a program, navigate to the program’s directory and select the .exe file for the program.

您可以添加当前正在运行的进程,也可以选择要监视的程序尚未运行。 要选择当前正在运行的进程,请从下拉列表中选择进程。 要添加当前未运行的程序,请单击“浏览程序”,导航到该程序的目录,然后为该程序选择.exe文件。

06_browsing_for_a_process

Once you have selected the process to watch, click Add.

选择要监视的过程后,单击“添加”。

07_clicking_add

NOTE: You can add multiple processes, both currently running and new programs. This allows you to ensure that critical programs and ones you use often are always running.

注意:您可以添加多个进程,包括当前正在运行的程序和新程序。 这使您可以确保关键程序和您经常使用的程序始终运行。

To remove a process you don’t want ReStartMe to watch anymore, select the process in the list and click Remove Selected.

要删除您不希望ReStartMe观看的进程,请在列表中选择该进程,然后单击“删除选定的对象”。

08_removing_a_process

There are some options you can set in ReStartMe. You can choose to have the program remember the processes you have chosen to watch the next time you start the program by selecting the Remember processes for the next time check box. For processes that are not already started when ReStartMe starts, the program can either ignore them (Do nothing), Watch for them, or Start them.

您可以在ReStartMe中设置一些选项。 您可以通过选中记住下一次进程复选框来选择让程序记住下一次启动程序时观看的进程。 对于ReStartMe启动时尚未启动的进程,程序可以忽略它们(不执行任何操作),注意它们或启动它们。

If you want ReStartMe to automatically start when you log into Windows, select the Start with Windows check box. This setting is only applicable for the current user.

如果希望ReStartMe在登录Windows时自动启动,请选中“从Windows启动”复选框。 此设置仅适用于当前用户。

When ReStartMe starts, the main program window displays by default. Once you set up the program with the desired processes and options, you may not need to change anything. If that’s the case, you can choose to have ReStartMe and automatically minimize to the system tray when it starts. To do this, select the Start in system tray check box.

当ReStartMe启动时,默认情况下会显示主程序窗口。 使用所需的过程和选项设置程序后,可能无需更改任何内容。 如果是这种情况,您可以选择安装ReStartMe并在启动时自动最小化到系统托盘。 为此,请选中“从系统托盘中启动”复选框。

09_setting_options

ReStartMe allows you to lock the program to prevent other users of the computer from changing options, adding and removing processes, or closing the program. To do this, enter a password in the edit box above ReStartMe Options and click the lock button, which currently shows an open lock.

ReStartMe允许您锁定程序,以防止计算机的其他用户更改选项,添加和删除进程或关闭程序。 为此,请在ReStartMe Options上方的编辑框中输入密码,然后单击锁定按钮,该按钮当前显示打开的锁定。

10_setting_password

Everything on the ReStartMe window becomes grayed out and unavailable except the password edit box, lock button, and Minimize to Tray button. The lock button changes to show a closed lock. To unlock the program, enter the password again in the edit box and click the lock button.

除了密码编辑框,锁定按钮和最小化到纸盘按钮之外,ReStartMe窗口上的所有内容均变灰且不可用。 锁定按钮更改为显示关闭的锁定。 要解锁程序,请在编辑框中再次输入密码,然后单击锁定按钮。

11_unlocking_program

To minimize ReStartMe to the system tray, click Minimize To Tray. The processes you chose to watch are still monitored by ReStartMe in the background, and when one crashes, or exits for any reason, it will be restarted.

要将ReStartMe最小化到系统托盘,请单击“最小化到托盘”。 您选择观看的进程仍在后台由ReStartMe监视,并且当一个进程崩溃或由于任何原因退出时,它将重新启动。

12_minimize_to_tray

To close ReStartMe, and stop monitoring processes, click Close ReStartMe.

要关闭ReStartMe,并停止监视进程,请单击“关闭ReStartMe”。

13_closing_restartme

Download ReStartMe from http://bkprograms.weebly.com/restartme.html. The program runs on all 32-bit and 64-bit versions of Windows.

http://bkprograms.weebly.com/restartme.html下载ReStartMe。 该程序可在Windows的所有32位和64位版本上运行。

NOTE: ReStartMe is not being actively developed anymore, so errors you may encounter most likely won’t get fixed. However, we didn’t experience any bugs while testing the program. The simple, single-purpose nature of the program makes it a useful tool as is.

注意:ReStartMe不再被积极开发,因此您可能遇到的错误将无法修复。 但是,我们在测试程序时没有遇到任何错误。 该程序的简单,单一用途的性质使其本身成为有用的工具。

翻译自: https://www.howtogeek.com/130665/quickly-and-automatically-restart-a-windows-program-when-it-crashes/

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值