windows 7z 内置_如何删除内置的Windows 7电源计划(以及为什么您不应该这样做)...

windows 7z 内置_如何删除内置的Windows 7电源计划(以及为什么您不应该这样做)...

windows 7z 内置

Do you actually use the Windows 7 power management features? If so, have you ever wanted to just delete one of the built-in power plans? Here’s how you can do so, and why you probably should leave it alone.

您实际上使用Windows 7电源管理功能吗? 如果是这样,您是否曾经想只删除其中一个内置电源计划? 这是您可以执行的操作,以及为什么您可能不应该这样做。

Just in case you’re new to the party, we’re talking about the power plans that you see when you click on the battery/plug icon in the system tray. The problem is that one of the built-in plans always shows up there, even if you only use custom plans.

以防万一您刚参加聚会,我们正在谈论的是单击系统任务栏中的电池/插头图标时看到的电源计划。 问题在于,即使您仅使用自定义计划,也始终会在其中显示一个内置计划。

windows 7z 内置_如何删除内置的Windows 7电源计划(以及为什么您不应该这样做)...

When you go to “More power options” on the menu there, you’ll be taken to a list of them, but you’ll be unable to get rid of any of the built-in ones, even if you have your own.

当您转到菜单上的“更多电源选项”时,将看到其中的一个列表,但即使拥有自己的内置菜单,也将无法摆脱它们。

windows 7z 内置_如何删除内置的Windows 7电源计划(以及为什么您不应该这样做)...

You can actually delete the power plans, but it will probably cause problems, so we highly recommend against it. If you still want to proceed, keep reading.

您实际上可以删除电源计划,但是它可能会引起问题,因此我们强烈建议您删除它。 如果仍然要继续,请继续阅读。

Delete Built-in Power Plans in Windows 7

删除Windows 7中的内置电源计划

Open up an Administrator mode command prompt by right-clicking on the command prompt and choosing “Run as Administrator”, then type in the following command, which will show you a whole list of the plans.

右键单击命令提示符并选择“以管理员身份运行”,以打开管理员模式命令提示符,然后键入以下命令,这将为您显示整个计划列表。

powercfg list

powercfg列表

windows 7z 内置_如何删除内置的Windows 7电源计划(以及为什么您不应该这样做)...

Do you see that really long GUID code in the middle of each listing? That’s what we’re going to need for the next step. To make it easier, we’ll provide the codes here, just in case you don’t know how to copy to the clipboard from the command prompt.

您是否在每个清单的中间看到很长的GUID代码? 这就是我们下一步需要的东西。 为了简化操作,我们在此处提供代码,以防万一您不知道如何从命令提示符下复制到剪贴板

Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e  (Balanced) Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c  (High performance)Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a  (Power saver)

电源方案GUID:381b4222-f694-41f0-9685-ff5bb260df2e(平衡)电源方案GUID:8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c(高性能)电源方案GUID:a1841308-3541-4fab-bc81-f71556f20b4a

Before you do any deleting, what you’re going to want to do is export the plan to a file using the –export parameter. For some unknown reason, I used the .xml extension when I did this, though the file isn’t in XML format. Moving on… here’s the syntax of the command:

在进行任何删除之前,您要做的就是使用–export参数将计划导出到文件中。 出于某种未知的原因,尽管文件不是XML格式,但在执行此操作时使用了.xml扩展名。 继续……这是命令的语法:

powercfg –export balanced.xml 381b4222-f694-41f0-9685-ff5bb260df2e

powercfg –出口平衡.xml 381b4222-f694-41f0-9685-ff5bb260df2e

This will export the Balanced plan to the file balanced.xml.

这会将“平衡计划”导出到文件“ balanced.xml”中。

windows 7z 内置_如何删除内置的Windows 7电源计划(以及为什么您不应该这样做)...

And now, we can delete the plan by using the –delete parameter, and the same GUID. 

现在,我们可以使用–delete参数和相同的GUID删除计划。

powercfg –delete 381b4222-f694-41f0-9685-ff5bb260df2e

powercfg –删除381b4222-f694-41f0-9685-ff5bb260df2e

windows 7z 内置_如何删除内置的Windows 7电源计划(以及为什么您不应该这样做)...

If you want to import the plan again, you can use the -import parameter, though it has one weirdness—you have to specify the full path to the file, like this:

如果要再次导入计划,则可以使用-import参数,尽管它有一个怪异之处-您必须指定文件的完整路径,如下所示:

powercfg –import c:\balanced.xml

powercfg –导入c:\ balanced.xml

Using what you’ve learned, you can export each of the plans to a file, and then delete the ones you want to delete.

使用所学知识,可以将每个计划导出到文件中,然后删除要删除的计划。

Why Shouldn’t You Do This?

你为什么不这样做呢?

Very simple. Stuff will break. On my test machine, for example, I removed all of the built-in plans, and then imported them all back in, but I’m still getting this error anytime I try to access the panel to choose what the power buttons do:

很简单。 东西W¯¯ 生病休息。 例如,在测试机上,我删除了所有内置计划,然后将它们全部重新导入,但是无论何时我尝试访问面板以选择电源按钮的功能时,仍然会出现此错误:

windows 7z 内置_如何删除内置的Windows 7电源计划(以及为什么您不应该这样做)...

There’s a lot more error messages, but I’m not going to waste your time with all of them. So if you want to delete the plans, do so at your own peril. At least you’ve been warned!

还有更多错误消息,但我不会浪费您所有的时间。 因此,如果要删除计划,则后果自负。 至少您已经被警告过!

翻译自: https://www.howtogeek.com/howto/16206/how-to-delete-built-in-windows-7-power-plans-and-why-you-probably-shouldnt/

windows 7z 内置