Windows Group Policy Name :- Group Policy - Wireless Display Require PIN pairing
At least Windows Server 2016, Windows 10
This policy applies to Wireless Display connections. This policy means that the use of a PIN for pairing to Wireless Display devices is required rather than optional.
Conversely it means that Push Button is NOT allowed.
If this policy setting is disabled or is not configured, by default Push Button pairing is allowed (but not necessarily preferred).
After changing group policy options, you need to update group policy. If you do not update group policy then settings will not effect. To update it just simply type below command and also sample image is shown.
In about command we used "/force" option, this will help up to update policy options forcefully.