Microsoft added the following additional power CSP settings in Windows 10 1903 version. In this article, we will discuss how you can configure the lid close action (when I close the lid) using Intune when the notebook or laptop is plugged into power.
Power CSP Settings Available in Windows 10 1903
- Power/EnergySaverBatteryThresholdOnBattery
- Power/EnergySaverBatteryThresholdPluggedIn
- Power/SelectLidCloseActionOnBattery
- Power/SelectLidCloseActionPluggedIn
- Power/SelectPowerButtonActionOnBattery
- Power/SelectPowerButtonActionPluggedIn
- Power/SelectSleepButtonActionOnBattery
- Power/SelectSleepButtonActionPluggedIn
- Power/TurnOffHybridSleepOnBattery
- Power/TurnOffHybridSleepPluggedIn
- Power/UnattendedSleepTimeoutOnBattery
- Power/UnattendedSleepTimeoutPluggedIn
You can use these settings on the following editions of Windows 10:

Intune Configure Lid Close Action
Step 1: Open the Azure Portal
Open https://portal.azure.com and select Intune or search Intune from the search bar located on top.

Step 2: Select Device Configuration
Select the Device configuration blade.

Step 3: Select Profiles
Select Profiles from the right-side menu.

Step 4: Create a New Profile
Select Create profile.

Step 5: Choose Platform and Profile Type
Select the options below:
- Platform: Windows 10 and later
- Profile: Custom

Step 6: Enter Name and Description
Enter the name and description of the custom profile.

Step 7: Configure the OMA-URI Settings
Select Add in the configuration settings tab and enter the following settings in each Row section:
- Name: You write whatever you want
- Description: You can write anything you want
- OMA-URI:
./Device/Vendor/MSFT/Policy/Config/Power/SelectLidCloseActionPluggedIn - Data Type: Integer
- Value:
0

Step 8: Assign the Profile
Assign this custom Intune profile to the group.

Step 9: Save the Custom Profile
Select Create to save the custom profile.

Step 10: Verify the Profile on the Device
Once the profile is applied to a user, you can see the following output on the Intune device.

Lid Close Action Integer Values
You can change the settings of when I close the lid from "Do nothing" by using the following integer values:
- 0 - Take no action
- 1 - Sleep
- 2 - System hibernate sleep state
- 3 - System shutdown
Frequently Asked Questions
How do I configure the lid close action on battery using Intune?
Use the same steps above but replace the OMA-URI with ./Device/Vendor/MSFT/Policy/Config/Power/SelectLidCloseActionOnBattery and set the integer value for your desired action (0 = no action, 1 = sleep, 2 = hibernate, 3 = shutdown).
What Windows 10 version is required for the lid close action CSP?
The Power CSP settings for lid close action were introduced in Windows 10 version 1903. Devices must be running 1903 or later for these policies to take effect.
Why is my Intune lid close action policy not applying?
Ensure the device has synced with Intune after the profile assignment. Check that the device is running Windows 10 1903 or later and that the profile is assigned to the correct user or device group. You can verify the status in the Intune portal under Device Configuration > Profiles.
Can I configure both plugged-in and on-battery lid close actions?
Yes. Create two OMA-URI rows in the same custom profile: one using SelectLidCloseActionPluggedIn and another using SelectLidCloseActionOnBattery, each with the desired integer value.
