Intune Platform Script · Forces system-wide dark mode via registry for the logged-on user
Writes to HKCU — must run as the logged-on user. Takes effect immediately; no reboot needed. Won't apply to new user accounts until they log in and the script runs again (assign to user groups, not device groups).
Script
✦
Set dark mode for apps and system shell registry
Two keys: one flips apps, one flips the taskbar/Start/shell. Both need to be 0 for full dark.