Specify duration of Desktop Alert on mouse over (in milliseconds)
Classic Outlook only. The new Outlook for Windows ignores most of these Office policies – it is configured through Exchange Online (OWA mailbox policy) instead.
| Registry value | timefocus |
| Group Policy | Specify duration of Desktop Alert on mouse over (in milliseconds) |
| German version | Dauer der Desktopbenachrichtigung bei Mouseover angeben (in Millisekunden) |
| Intune settings catalog | Specify duration of Desktop Alert on mouse over (in milliseconds) (User) |
| Scope | User · HKCU |
| ADMX | outlk16.admx · L_SpecifydurationofDesktopAlertonmouseoverinmillisec |
Group Policy path
Registry
| Value | Data |
|---|---|
HKCU\Software\policies\microsoft\office\16.0\common\desktopalerts | |
| timefocus | decimal 0–250000 |
Not configured = the value does not exist – the application default applies and users may change the setting.
PowerShell
Check the current value (read-only)
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
$key = "$root\Software\policies\microsoft\office\16.0\common\desktopalerts"
foreach ($name in @('timefocus')) {
try { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
catch { '{0}: not configured' -f $name }
}Admin rights needed: HKCU\Software\Policies is read-only for standard users. An elevated session writes to the admin's own HKCU – to set it for another signed-in user, change $root to Registry::HKEY_USERS\<SID>.
Enable
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
try {
$key = "$root\Software\policies\microsoft\office\16.0\common\desktopalerts"
if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
New-ItemProperty -Path $key -Name 'timefocus' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null # range 0–250000
'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }Reset to Not configured
# --- Settings --- $root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>' $key = "$root\Software\policies\microsoft\office\16.0\common\desktopalerts" Remove-ItemProperty -Path $key -Name 'timefocus' -ErrorAction SilentlyContinue 'Policy values removed (Not configured).'
Intune (settings catalog)
Specify duration of Desktop Alert on mouse over (in milliseconds) (User)
Settings catalog → Add settings → search for the name above.
Intune Settings Catalog Viewer ↗
Alternative: custom profile (OMA-URI)
| OMA-URI | ./User/Vendor/MSFT/Policy/Config/outlk16v2~Policy~L_MicrosoftOfficeOutlook~L_OutlookOptions~L_Preferences~L_Emailoptions~L_AdvancedEmailoptions~L_DesktopAlert/L_SpecifydurationofDesktopAlertonmouseoverinmillisec |
| Data type | String |
| Value | <enabled/> · <disabled/> |
This policy has options: add one <data id="…" value="…"/> per element after <enabled/>. The element IDs are in the ADMX file.
Cloud Policy
Cloud Policy (config.office.com → Customization → Policy Management) offers many user policies of the Microsoft 365 Apps – search for Specify duration of Desktop Alert on mouse over (in milliseconds). It also applies to unmanaged devices and wins over GPO and Intune for the same setting.
Microsoft explanation
Specify duration of Desktop Alert on mouse over (in milliseconds)
Same category: Microsoft Outlook 2016 › Outlook Options › Preferences › E-mail Options › Advanced E-mail Options › Desktop Alert
- Do not display New Mail alert for usersnewmaildesktopalerts
- Specify duration of fade in (in milliseconds)timein
- Specify duration of Desktop Alert before fade (in milliseconds)timeon
- Specify duration of fade out (in milliseconds)timeout
- Specify opacity of Desktop Alertopacity
- Specify opacity at start of fade infirstopacity
- Specify default location of Desktop Alertcorner
All policies in this category · All 406 policies of outlk16.admx