IsRECEnabled

IsRECEnabled 指定是否在 系统 > 电源和电池 设置中默认启用或禁用清洁能源充电。

价值观

1

默认启用清洁能源充电。

0

默认情况下禁用清洁能源充电。

有效的配置传递

  • offlineServicing
  • specialize
  • oobeSystem

父层次结构

Microsoft-Windows-SystemSettings-SettingsHandlers-OneCore-BatterySaver | IsRECEnabled

应用到

有关此组件支持的 Windows 版本和体系结构的完整列表,请参阅 Microsoft-Windows-SystemSettings-SettingsHandlers-OneCore-BatterySaver

XML 示例

以下 XML 输出显示如何默认 启用 清洁能源充电。

<settings pass="specialize">
    <component name="Microsoft-Windows-SystemSettings-SettingsHandlers-OneCore-BatterySaver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <IsRECEnabled>1</IsRECEnabled>
    </component>
</settings>

以下 XML 输出显示如何默认 禁用 清洁能源充电。

<settings pass="specialize">
    <component name="Microsoft-Windows-SystemSettings-SettingsHandlers-OneCore-BatterySaver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <IsRECEnabled>0</IsRECEnabled>
    </component>
</settings>

Microsoft-Windows-SystemSettings-SettingsHandlers-OneCore-BatterySaver