一些用户不使用“开始”菜单中的“( Start Menu )关机(Shut down )”按钮来关闭他们的 Windows 计算机。相反,他们更喜欢使用PC 和设备上的硬件电源按钮。(hardware power button)如果您是这样的用户,您可能希望将“开始”菜单(Start Menu)中的“关机(Shut down )”按钮的默认行为(default behavior)更改为您可能更频繁使用的其他内容:注销、锁定、重新启动、睡眠或切换用户(Log off, Lock, Restart, Sleep or Switch User)。或者您可能更喜欢配置Windows 计算机或设备(Windows computer or device)上的硬件电源按钮(hardware power button), 让它进入睡眠状态,而不是像默认情况下那样关闭它。本教程将向您展示如何在Windows 7以及Windows 8.1和 Windows 10 中执行这些操作:
当您按下设备上的硬件电源按钮(hardware power button)时如何更改Windows的操作(Windows)
在所有现代版本的Windows中,您可以选择按下(Windows)电源按钮(power button)时您的 PC 执行的操作。我们指的是您的电脑机箱(computer case)、笔记本电脑、平板电脑或二合一设备上的电源按钮。(power button)
注意:(NOTE:)如果您想更改Windows在按下“(Windows)开始”菜单(Start Menu)(在Windows 10和Windows 7中)或在“开始(Start )”屏幕(在Windows 8.1中)中找到的软件电源(Power)按钮时执行的操作,请跳过第一部分并阅读下一部分从本指南。
无论(Regardless)您使用的是 Windows 10、Windows 7 还是Windows 8.1,首先打开控制面板(Control Panel)。如果您不知道如何操作,请阅读在Windows 10中启动(Windows 10)控制面板(Control Panel)的 8 种方法。如果您使用的是Windows 7,您所要做的就是打开“开始”菜单(Start Menu)并单击“控制面板(Control Panel)” 。
打开控制面板(Control Panel)后,单击或点击“系统和安全”。("System and Security.")
在“电源选项”("Power Options,")下的“系统和安全”("System and Security,")中,您会看到一个名为“更改电源按钮的功能”的链接。("Change what the power buttons do.")单击或点击它。
如果您愿意,您也可以先单击或点击(click or tap)以打开“电源选项”("Power Options,"),然后单击/点击窗口左侧的“更改电源按钮的功能” 。("Change what the power button does")
无论哪种方式,您都会进入一个页面,让您“定义电源按钮并打开密码保护”。("Define power buttons and turn on password protection.")查找名为“电源按钮设置”的部分。("Power button settings.")其中只有一个设置,称为“当我按下电源按钮时”。("When I press the power button.")在其右侧,有一个下拉列表,其中包含您计算机上可用的所有选项。
选择您希望Windows 计算机或设备(Windows computer or device)在按下电源按钮(power button)时执行的操作。默认情况下,它应该设置为“关闭”,("Shut down,")但根据您的设备类型,您应该能够从其他选项中进行选择,例如睡眠、重新启动、(Sleep, Restart, )休眠或“关闭显示器”。("Turn off the display.")
选择按下电源按钮(power button)时要执行的操作后,单击或点击(click or tap)窗口右下角的“保存更改”("Save changes")按钮。
请注意,如果您有带电池的Windows 设备(Windows device),例如笔记本电脑或平板电脑,您可以在按下电源按钮(power button)时选择两种不同的操作:一种用于设备使用电池运行时,另一种用于当它连接到电源时。
此外,如果您的Windows 设备(Windows device)有一个专用的“睡眠(Sleep)”按钮,您可能会看到一个专用的附加下拉列表,如上面的屏幕截图所示。
现在让我们看看可以从Windows 7和Windows 10的“开始”菜单(Start Menu)或Windows 8.1的“开始”屏幕中对软件(Start )电源(Power)按钮进行哪些更改。
如何更改Windows 7开始菜单(Start Menu)中的“关机(Shut)”按钮的功能
在 Windows 7 中,关机按钮位于(Shut down )开始菜单(Start Menu)的右下方。
如果点击Shut down附近的箭头,您可以找到其他相关选项,所有这些都可以设置为默认值。
要更改默认行为(default behavior),请右键单击任务栏,然后从右键菜单中选择属性(Properties)。
“任务栏和开始菜单属性”("Taskbar and Start Menu Properties" )窗口打开。单击开始菜单(Start Menu)选项卡。
单击“电源按钮操作”("Power button action")下拉列表,然后选择要设置为默认的操作。
单击确定(OK)按钮,现在应用更改。
在Windows 8.1(Windows 8.1)和Windows 10中更改软件“关机(Shut)”按钮的作用怎么样?
与Windows 7不同,您无法更改Windows 8.1 中“开始(Start)”屏幕中的“关机(Shut down)”按钮和Windows 10中“(Windows 10)开始”菜单(Start Menu)中的“关机(Shut down)”按钮的功能。在Windows 8.1和Windows 10中,关机(Shut down)按钮不是关机(Shut down )按钮,而只是打开带有选项的菜单的电源按钮。(Power )人们将Windows 8.1(Windows 8.1)和 Windows 10的电源(Power)按钮误认为是Windows 7的(Windows 7)关机(Shut down)按钮。权力(Power)的唯一目的Windows 8.1和Windows 10中的按钮用于打开计算机或设备(computer or device)上可用的电源选项列表。以下是您将在Windows 8.1中看到的内容:
在Windows 10中,可用的选项是相同的:
只有在打开电源(Power)菜单后,您才能选择要执行的操作:睡眠、重新启动、关机(Sleep, Restart, Shut down, )或休眠(Hibernate)(如果启用此选项)。
结论
您可以将计算机的电源(Power)按钮设置为执行您喜欢的操作,只要它是Windows中可用的电源选项(power option),适用于您的特定硬件。如果您使用Windows 7,您还可以从“开始”菜单(Start Menu)中选择单击电源(Power)按钮的默认操作(default action),以便在您关闭或让计算机进入睡眠状态时节省一两次点击。有关Windows中可用电源选项的其他提示,请查看下面推荐的文章。
How to change what the Power or Shut Down button does when you press it
Ѕomе users do not usе the Shut down button from the Start Menu to power off their Windows computers. Instead, they prefer to use the hardware power button found on their PCs and devices. If you are such a user, you might want to change the default behavior of the Shut down button from the Start Menu into something else, which you are likely to use more frequently: Log off, Lock, Restart, Sleep or Switch User. Or you might prefer to configure the hardware power button that's found on your Windows computer or device, to put it to sleep instead of shutting it down as it happens by default. This tutorial will show you how to do these things in Windows 7, as well as in Windows 8.1 and Windows 10:
How to change what Windows does when you press the hardware power button on your device
In all modern versions of Windows, you can choose what your PC does when you push the power button. We mean the power button found on your computer case, on your laptop, on your tablet or 2-in-1 device.
NOTE: If you want to change what Windows does when you press the software Power button found in the Start Menu (in Windows 10 and Windows 7) or on the Start screen (in Windows 8.1), skip this first section and read the next sections from this guide.
Regardless of whether you use Windows 10, Windows 7 or Windows 8.1, start by opening the Control Panel. If you don't know how to do that, read 8 ways to start the Control Panel in Windows 10. If you're using Windows 7, all you have to do is open the Start Menu and click on Control Panel.
Once the Control Panel is opened, click or tap on "System and Security."
In "System and Security," right under "Power Options," you'll see a link called "Change what the power buttons do." Click or tap on it.
If you prefer, you can also first click or tap to open the "Power Options," and then click/tap on "Change what the power button does" on the left side of the window.
Either way, you get to a page that lets you "Define power buttons and turn on password protection." Look for the section called "Power button settings." There's only one setting in it, called "When I press the power button." On its right, there's a drop-down list with all the options available on your computer.
Choose what you'd like your Windows computer or device to do when you press the power button. By default, it should be set to "Shut down," but depending on your type of device, you should be able to choose from other options like Sleep, Restart, Hibernate, or "Turn off the display."
Once you have selected what you want to happen when you press the power button, click or tap on the "Save changes" button at the bottom-right side of the window.
Note that if you have a Windows device with a battery, such as a laptop or a tablet, you will be able to choose two different actions for when you press the power button: one thing for when the device is running on battery and another for when it's connected to a power main.
Also, if your Windows device has a dedicated Sleep button, you might see an additional drop-down list dedicated to it, as you can see in the screenshot above.
Let's see now what can be changed for the software Power button from your Start Menu in Windows 7 and Windows 10, or from your Start screen if you are on Windows 8.1.
How to change what the "Shut down" button from the Start Menu in Windows 7 does
In Windows 7, the Shut down button is located on the bottom-right side of the Start Menu.
If you click on the arrow near Shut down, you can find other related options, all of which can be set as the default.
To change the default behavior, right-click on the taskbar and, from the right-click menu, select Properties.
The "Taskbar and Start Menu Properties" window opens. Click on the Start Menu tab.
Click on the "Power button action" drop-down list and select the action you want to set as default.
Click on the OK button and the change is now applied.
What about changing what the software "Shut down" button does in Windows 8.1 and Windows 10?
Unlike in Windows 7, you cannot change what the Shut down button from the Start screen in Windows 8.1 and the Shut down button from the Start Menu in Windows 10 do. Both in Windows 8.1 and in Windows 10, the Shut down button is not a Shut down button but only a Power button that opens a menu with options. People mistake the Power button from Windows 8.1 and Windows 10 with the Shut down button from Windows 7. The sole purpose of the Power button in Windows 8.1 and Windows 10 is to open the list of power options available on your computer or device. Here's what you'll see in Windows 8.1:
In Windows 10, the options available are the same:
Only after you open the Power menu can you choose what you want to do: Sleep, Restart, Shut down, or Hibernate (if you enable this option).
Conclusion
You can set your computer's Power button to do what you like as long as it is a power option that is available in Windows, for your specific hardware. If you use Windows 7, you can also choose a default action for clicking the Power button from the Start Menu, to save a click or two when you shut down or put your computer to sleep. For other tips related to power options available in Windows, check out the articles recommended below.