Turn On/Off Find My Device
Activer/désactiver l’option Localiser mon appareil
Explanation
This policy turns on Find My Device.
When Find My Device is on, the device and its location are registered in the cloud so that the device can be located when the user initiates a Find command from account.microsoft.com. On devices that are compatible with active digitizers, enabling Find My Device will also allow the user to view the last location of use of their active digitizer on their device; this location is stored locally on the user's device after each use of their active digitizer.
When Find My Device is off, the device and its location are not registered and the Find My Device feature will not work.The user will also not be able to view the location of the last use of their active digitizer on their device.
Cette stratégie active la fonctionnalité Localiser mon appareil.
Lorsque la fonctionnalité Localiser mon appareil est activée, l’appareil et son emplacement sont enregistrés dans le cloud, de manière à ce que l’appareil puisse être localisé lorsque l’utilisateur initialise la commande Trouver à partir de l’adresse account.microsoft.com. Sur les appareils compatibles avec les digitaliseurs actifs, activer Localiser mon appareil permet également à l'utilisateur d'afficher le dernier emplacement d'utilisation du digitaliseur actif sur son appareil. Cet emplacement est enregistré localement sur l'appareil de l'utilisateur après chaque utilisation de leur digitaliseur actif.
Lorsque la fonctionnalité Localiser mon appareil est désactivée, l’appareil et son emplacement ne sont pas enregistrés et la fonctionnalité Localiser mon appareil ne marche pas. De plus, l'utilisateur ne peut pas afficher le dernier emplacement d'utilisation du digitaliseur actif sur son appareil.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FindMyDevice- Value name
AllowFindMyDevice
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: FindMy/FindMy_AllowFindMyDeviceConfig
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\FindMyDevice'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowFindMyDevice' -Value 1 -Type DWordDisable
# Disable: FindMy/FindMy_AllowFindMyDeviceConfig
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\FindMyDevice'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowFindMyDevice' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": FindMy/FindMy_AllowFindMyDeviceConfig
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\FindMyDevice'
Remove-ItemProperty -Path $k -Name 'AllowFindMyDevice' -ErrorAction SilentlyContinue