Compartilhar via


Modify firmware environment values

Applies to

  • Windows 11
  • Windows 10

Describes the best practices, location, values, policy management, and security considerations for the Modify firmware environment values security policy setting.

Reference

This security setting determines who can modify firmware environment values. Firmware environment values are settings that are stored in the nonvolatile RAM of non-x86-based computers. The effect of the setting depends on the processor.

On x86-based computers, the only firmware environment value that can be modified by assigning this user right is the Last Known Good Configuration setting, which should only be modified by the system.

On Itanium-based computers, boot information is stored in nonvolatile RAM. Users must be assigned this user right to run bootcfg.exe and to change the Default Operating System setting using the Startup and Recovery feature on the Advanced tab of System Properties.

The exact setting for firmware environment values is determined by the boot firmware. The location of these values is also specified by the firmware. For example, on a UEFI-based system, NVRAM contains firmware environment values that specify system boot settings.

On all computers, this user right is required to install or upgrade Windows.

Constant: SeSystemEnvironmentPrivilege

Possible values

  • User-defined list of accounts
  • Administrators
  • Not Defined

Best practices

  • Ensure that only the local Administrators group is assigned the Modify firmware environment values user right.

Location

Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment

Default values

By default this setting is Administrators on domain controllers and on stand-alone servers.

The following table lists the actual and effective default policy values. Default values are also listed on the policy’s property page.

Server type or GPO Default value
Default Domain Policy Not defined
Default Domain Controller Policy Adminstrators
Stand-Alone Server Default Settings Adminstrators
Domain Controller Effective Default Settings Adminstrators
Member Server Effective Default Settings Adminstrators
Client Computer Effective Default Settings Adminstrators

Policy management

This section describes features, tools, and guidance to help you manage this policy.

A restart of the device is not required for this policy setting to be effective.

Any change to the user rights assignment for an account becomes effective the next time the owner of the account logs on.

This security setting does not affect who can modify the system environment values and user environment values that are displayed on the Advanced tab of System Properties.

Group Policy

Settings are applied in the following order through a Group Policy Object (GPO), which will overwrite settings on the local computer at the next Group Policy update:

  1. Local policy settings
  2. Site policy settings
  3. Domain policy settings
  4. OU policy settings

When a local setting is greyed out, it indicates that a GPO currently controls that setting.

Security considerations

This section describes how an attacker might exploit a feature or its configuration, how to implement the countermeasure, and the possible negative consequences of countermeasure implementation.

Vulnerability

Anyone who is assigned the Modify firmware environment values user right could configure the settings of a hardware component to cause it to fail, which could lead to data corruption or a denial-of-service condition.

Countermeasure

Ensure that only the local Administrators group is assigned the Modify firmware environment values user right.

Potential impact

Removing the local Administrators group from the Modify firmware environment values user right could cause inoperability of the BitLocker Drive Encryption feature.