[BUG] `secureVmFeaturesEnabled = false` MDM policy not honored — Claude still holds `NoIdleSleepAssertion`
Resolved 💬 2 comments Opened May 12, 2026 by kkeilson Closed May 15, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude Desktop holds a NoIdleSleepAssertion and prevents system sleep even when secureVmFeaturesEnabled is set to false via MDM managed preferences. The "Keep computer awake" toggle in the app remains interactive and functional despite the policy being enforced.
What Should Happen?
With secureVmFeaturesEnabled = false deployed via MDM, Claude Desktop should not assert sleep prevention. The "Keep computer awake" toggle should be inoperative (ideally greyed out or hidden), and no NoIdleSleepAssertion should be held by the process.
Error Messages/Logs
Managed preferences — policy is landing correctly:
$ defaults read /Library/Managed\ Preferences/com.anthropic.claudefordesktop.plist
{
autoUpdaterEnforcementHours = 72;
disableAutoUpdates = 1;
isClaudeCodeForDesktopEnabled = 0;
isDesktopExtensionDirectoryEnabled = 0;
isDesktopExtensionEnabled = 0;
isLocalDevMcpEnabled = 1;
secureVmFeaturesEnabled = 0;
}
Power assertions — Claude is actively preventing sleep:
$ pmset -g assertions
pid 86717(Claude): [0x0002deae000194fa] 00:00:04 NoIdleSleepAssertion named: "Electron"
Steps to Reproduce
- Deploy a computer-level MDM configuration profile targeting the
com.anthropic.claudefordesktoppreference domain withsecureVmFeaturesEnabledset tofalse - Confirm the policy has landed:
defaults read /Library/Managed\ Preferences/com.anthropic.claudefordesktop.plist— verifysecureVmFeaturesEnabled = 0is present - Launch Claude Desktop
- Enable the "Keep computer awake" toggle in Claude Desktop settings
- Run
pmset -g assertionsand observe that Claude holds aNoIdleSleepAssertiondespite the policy
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.131 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗