如何在指定的时间自动关闭你的电脑(automatically shut down your computer at a specified time)

这个wikiHow教你如何配置你的Mac或PC,使其在某个时间安全关机。确保你经常保存你的文件,这样你就不会在关机时丢失数据。...

方法1 4种方法中的1种:为窗口安排定期关机

  1. 1打开任务调度器应用程序。如果你想让你的计划关机发生一次以上,你会想使用任务调度器。任务调度器在所有版本的Windows中都可用。以下是找到它的方法:Windows 10:按⊞ Win+S打开搜索栏,输入任务调度器,然后在搜索结果中点击任务调度器。Windows 8。按⊞ Win键,键入日程任务,然后在结果中点击日程任务。Windows 7:点击开始菜单,选择控制面板,然后选择系统和安全。点击管理工具,然后点击任务调度器。
  2. Image titled Automatically Shut Down Your Computer at a Specified Time Step 1
  3. 2点击 "行动 "面板中的创建基本任务。它位于窗口右侧面板的顶部。这将打开 "创建基本任务 "的向导。
  4. Image titled Automatically Shut Down Your Computer at a Specified Time Step 2
  5. 3在名称中输入关闭计时器,然后点击下一步。
  6. Image titled Automatically Shut Down Your Computer at a Specified Time Step 3
  7. 4.选择你希望任务激活的时间,然后点击下一步。例如,如果你想让电脑每天晚上11:30关闭,就选择每天。如果这只是一个一次性的计划事项,就选择一次性。
  8. Image titled Automatically Shut Down Your Computer at a Specified Time Step 4
  9. 5输入时间和日期,然后点击下一步。例如,假设从2019年7月19日开始,你希望你的电脑每晚在晚上11:30关闭。你要在日期栏中输入7/19/2019,在时间栏中输入11:30:00。如果你想让这个动作每天都发生,把 "重复出现:X天 "设置为 "1"。
  10. Image titled Automatically Shut Down Your Computer at a Specified Time Step 5
  11. 6选择 "启动一个程序 "并点击下一步。
  12. Image titled Automatically Shut Down Your Computer at a Specified Time Step 6
  13. 7在 "程序/脚本 "框中输入shutdown.exe应用程序的路径。位置应该是C:\Windows\System32\shutdown.exe,除非你已经改变了你的Windows驱动器的字母。
  14. Image titled Automatically Shut Down Your Computer at a Specified Time Step 7
  15. 8在 "添加参数 "字段中输入/s,然后点击下一步。
  16. Image titled Automatically Shut Down Your Computer at a Specified Time Step 8
  17. 9审查你的关机任务并点击完成。摘要屏幕让你有机会审查预定的关机日期和时间。如果你需要编辑或删除你的任务,请打开任务调度器,点击左侧面板中的任务调度器库文件夹。当你在中央面板上找到你的任务时,右键单击它,找到编辑属性或删除任务的选项。
  18. Image titled Automatically Shut Down Your Computer at a Specified Time Step 9

方法二 4个方法中的2个:为Macos安排定期关机

  1. 1、点击苹果菜单。它在屏幕的左上角。一个菜单会展开。
  2. Image titled Automatically Shut Down Your Computer at a Specified Time Step 10Image titled Macapple1.png
  3. 2点击菜单上的系统偏好。
  4. Image titled Automatically Shut Down Your Computer at a Specified Time Step 11
  5. 3、点击 "节能器 "图标。它看起来像一个灯泡。
  6. Image titled Automatically Shut Down Your Computer at a Specified Time Step 12
  7. 4点击窗口右下角的时间表。
  8. Image titled Automatically Shut Down Your Computer at a Specified Time Step 13
  9. 5选中第二个下拉菜单旁边的方框。就是那个写着睡眠、关机或重启的选项。
  10. Image titled Automatically Shut Down Your Computer at a Specified Time Step 14
  11. 6从第二个菜单中选择 "关闭"。
  12. Image titled Automatically Shut Down Your Computer at a Specified Time Step 15
  13. 7输入时间和频率。例如,如果你想让电脑每晚在晚上11:30关闭,你就从中央底部的下拉菜单中选择每天,然后在 "at "框中输入11:30。
  14. Image titled Automatically Shut Down Your Computer at a Specified Time Step 16
  15. 8点击确定。只要你的Mac在预定时间处于清醒状态,它就会自动关闭。
  16. Image titled Automatically Shut Down Your Computer at a Specified Time Step 17

方法三 4个方法中的3个:为windows安排一次性关机

  1. 1右键单击 "开始 "菜单。它通常在屏幕的左下角。
  2. Image titled Automatically Shut Down Your Computer at a Specified Time Step 18Image titled Windowsstart.png
  3. 2点击命令提示(管理员)或Windows PowerShell(管理员)。一个或两个选项将出现在菜单中。如果被提示给予应用程序运行的许可,请按照屏幕上的指示来做。
  4. Image titled Automatically Shut Down Your Computer at a Specified Time Step 19
  5. 3键入SHUTDOWN /S /F /T number-in-seconds。用你想让电脑从现在开始关闭的时间(以秒为单位)来代替秒内数字。例如,如果你想让电脑在30分钟内关闭,你可以输入SHUTDOWN /S /T 1800.查看这个谷歌工具,它可以帮助你将分钟和/或小时转换为秒。
  6. Image titled Automatically Shut Down Your Computer at a Specified Time Step 20
  7. 4按↵ Enter。这样就可以运行命令并开始计时。如果你想取消自动关机,请返回提示符并使用shutdown /a命令。
  8. Image titled Automatically Shut Down Your Computer at a Specified Time Step 21

方法4方法4:为Windows创建关机快捷方式

  1. 1在你的Windows电脑上打开记事本。你写一个脚本,在你的桌面上添加一个快捷方式,当双击该快捷方式时,就会安排一次关机。你可以在Windows开始菜单中找到记事本,它位于一个名为 "Windows附件 "或 "附件 "的文件夹中。如果你不想安排经常性的关机(例如,每晚11:30),但想在必要时快速安排这样的关机,可以使用这种方法。
  2. Image titled Automatically Shut Down Your Computer at a Specified Time Step 22
  3. 2在记事本文件中输入以下代码。假设你想让这个脚本在你运行它的当天晚上11:30关闭你的电脑。在文件中输入以下每一行:@echo off:Wif %time%==23:30:00.00 goto :Xgoto :W:Xshutdown.exe /s /f /t 60 /c这个脚本将不断检查时间,当晚上11:30到来时,将关闭计算机(经过60秒的宽限期)。你可以用你选择的时间(24小时/军用时间格式)来替换这个时间。
  4. Image titled Automatically Shut Down Your Computer at a Specified Time Step 23
  5. 3点击 "文件 "菜单,选择 "另存为"。将出现 "另存为 "窗口。
  6. Image titled Automatically Shut Down Your Computer at a Specified Time Step 24
  7. 4、打开桌面文件夹。你可以通过扩展左侧面板中的 "这台电脑 "菜单并选择 "桌面 "来实现这一目标。
  8. Image titled Automatically Shut Down Your Computer at a Specified Time Step 25
  9. 5从 "保存类型 "下拉菜单中选择所有文件。它位于 "另存为 "窗口的底部附近。
  10. Image titled Automatically Shut Down Your Computer at a Specified Time Step 26
  11. 6 在 "文件名 "栏中输入shutdown-timer.bat,然后点击保存。你的新脚本现在被保存在你的桌面上。你应该在桌面上看到它的图标(一些齿轮)。
  12. Image titled Automatically Shut Down Your Computer at a Specified Time Step 27
  13. 7双击shutdown-timer.bat文件以安排关机。一个空白的命令提示屏幕应该出现。你将需要打开这个窗口,以便计算机知道在正确的时间关机。一旦时间到了,你将有60秒的时间在电脑关机前保存你的工作。如果你想在关机前禁用该脚本,按⊞Win+R打开运行菜单,输入shutdown -a,然后点击运行。
  14. Image titled Automatically Shut Down Your Computer at a Specified Time Step 28
  • 发表于 2022-03-04 06:36
  • 阅读 ( 62 )
  • 分类:IT

你可能感兴趣的文章

如何设置你的mac电脑每天自动开机

...在您不想唤醒时唤醒,并耗尽电池电量。 More Mac Startup Automation Tips If you want to save even more time, you can enable auto-login in the “Users and Groups” menu. Then, you’ll no longer have to select your account and type your password each day. However, keep in mind th...

  • 发布于 2021-04-01 22:41
  • 阅读 ( 242 )

短路会损坏硬盘吗?

当你打开电脑的时候,几乎没有什么东西能比得上你的沉沦感,因为硬件问题,电脑很快就会死掉。考虑到这个问题,今天的超级用户问答帖子回答了一个压力很大的读者问题。 今天的问答环节是由SuperUser提供的,SuperUser是Stac...

  • 发布于 2021-04-07 23:30
  • 阅读 ( 258 )

如何确定程序启动时完全加载所需的时间?

...序在启动时完全加载所需的时间: There are some programs that automatically start whenever I boot my Windows 10 computer and I would like to shorten the amount of time it takes for my system to fully load and be ready to use. I would like to find out which programs are slowing my comput...

  • 发布于 2021-04-08 00:29
  • 阅读 ( 206 )

如何确定windows是否在给定时间运行?

...什么?有鉴于此,今天的超级用户问答帖子向读者展示了如何监控电脑的活动。 今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。 问题 超级用户读者ePezhman想知道您是如...

  • 发布于 2021-04-08 21:58
  • 阅读 ( 191 )

如何安装和使用adb,android调试桥工具

...ve Linux command-line shell on your device. adb shell command – Runs the specified shell command on your device. 有关ADB的完整指南,请参阅谷歌Android开发者网站上的Android调试桥页面。 图片来源:Flickr上的LAI Ryanne

  • 发布于 2021-04-09 00:32
  • 阅读 ( 209 )

为什么windows会休眠而不是完全关闭?

...一个非常有用的“功能”,但有时您希望或需要每次完全关闭操作系统,而不是偶尔关闭。有鉴于此,今天的超级用户问答帖子提供了一个快速而简单的解决读者问题的方法。 今天的问答环节是由SuperUser提供的,SuperUser是Stack Ex...

  • 发布于 2021-04-09 11:03
  • 阅读 ( 202 )

从命令提示符关闭窗口是否会导致损坏?

...Programs If any programs preventing the shutdown are running, Windows will automatically try to terminate them and, if that is not possible, will prompt you about it. The only problem you can have here arises with programs performing unsaved changes to files. If they provide an automatic recovery of...

  • 发布于 2021-04-09 13:06
  • 阅读 ( 234 )

为什么操作系统有关闭选项?

我们大多数人都使用操作系统内置的“关机功能”来关闭电脑,但如果你考虑改用电脑的电源开关呢?你使用哪种方法真的很重要吗?或者如果你使用电源开关会导致问题吗?今天的超级用户问答帖子对一位好奇的读者的问题...

  • 发布于 2021-04-09 21:15
  • 阅读 ( 200 )

当windows计算机关闭时,实际发生了什么?

虽然我们大多数人可能很少考虑每次关闭电脑时发生的所有事情,但在关闭过程中到底发生了什么?今天的超级用户问答帖子回答了一位好奇的读者的问题。 今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支...

  • 发布于 2021-04-10 02:48
  • 阅读 ( 162 )

即使前一天电池充满电了,怎么会没电呢?

...明 您还可以使用本文中的说明生成电池运行状况报告: 如何在Windows 8或Windows 10上生成电池运行状况报告 有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整...

  • 发布于 2021-04-10 05:52
  • 阅读 ( 211 )
qv052336
qv052336

0 篇文章

相关推荐