Search for:: registry value findshapesallwordsUserHKCU\software\policies\microsoft\office\16.0\visio\application

Policy ID
L_Searchfor
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 Visio 2016 › Visio Options › Advanced › Shape Search

Registry

findshapesallwords

REG_SZUser
Enabled value
Depends on the option value
Element
Search for:
Options
ItemStored value
All of the words (AND)1
Any of the words (OR)0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\visio\application]

; Options (use only one)
; All of the words (AND)
"findshapesallwords"="1"
; Any of the words (OR)
"findshapesallwords"="0"
CMD
:: Options (use only one)

:: All of the words (AND)
reg add "HKCU\software\policies\microsoft\office\16.0\visio\application" /v "findshapesallwords" /t REG_SZ /d 1 /f
:: Any of the words (OR)
reg add "HKCU\software\policies\microsoft\office\16.0\visio\application" /v "findshapesallwords" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\application' -Force | Out-Null

# Options (use only one)
# All of the words (AND)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\application' -Name 'findshapesallwords' -PropertyType String -Value '1' -Force | Out-Null
# Any of the words (OR)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\application' -Name 'findshapesallwords' -PropertyType String -Value '0' -Force | Out-Null