f.lux stores location and temperature preferences in HKCU\SOFTWARE\Michael Herf\f.lux.
Color temperature values are in Kelvin: 6500K = daylight, 2700K = warm/candlelight.
The /noshow flag in the startup entry suppresses the splash on login.
# Export f.lux settings for migrationregexport"HKCU\SOFTWARE\Michael Herf\f.lux""$env:USERPROFILE\flux-settings.reg"# Set location coordinates for automatic sunrise/sunset$path="HKCU:\SOFTWARE\Michael Herf\f.lux"Set-ItemProperty-Path$path-Name"lat"-Value"51.5074"Set-ItemProperty-Path$path-Name"lon"-Value"-0.1278"Set-ItemProperty-Path$path-Name"location"-Value"London, UK"
🗑️ Cleanup
# Remove f.lux settings and startup entryRemove-Item-Path"HKCU:\SOFTWARE\Michael Herf\f.lux"-Recurse-ErrorActionSilentlyContinueRemove-Item-Path"HKCU:\SOFTWARE\Michael Herf"-Recurse-ErrorActionSilentlyContinueRemove-ItemProperty-Path"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"`-Name"f.lux"-ErrorActionSilentlyContinue