Automatic Discovery: registry value automaticdiscoveryUserHKCU\software\policies\microsoft\office\16.0\sharepointtracking
- Policy ID
- L_AutomaticDiscovery
- Scope
- User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Office 2016 › Global Options › Customize › Shared Workspace
Registry
automaticdiscovery
REG_SZUser- Enabled value
- Depends on the option value
- Element
- Automatic Discovery
| Item | Stored value |
|---|---|
| On | On |
| Off | Off |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\sharepointtracking] ; Options (use only one) ; On "automaticdiscovery"="On" ; Off "automaticdiscovery"="Off"
CMD
:: Options (use only one) :: On reg add "HKCU\software\policies\microsoft\office\16.0\sharepointtracking" /v "automaticdiscovery" /t REG_SZ /d "On" /f :: Off reg add "HKCU\software\policies\microsoft\office\16.0\sharepointtracking" /v "automaticdiscovery" /t REG_SZ /d "Off" /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\sharepointtracking' -Force | Out-Null # Options (use only one) # On New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\sharepointtracking' -Name 'automaticdiscovery' -PropertyType String -Value 'On' -Force | Out-Null # Off New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\sharepointtracking' -Name 'automaticdiscovery' -PropertyType String -Value 'Off' -Force | Out-Null