This version of Unity is unsupported.

PlayerSettings.allowFullscreenSwitch

Switch to Manual
public static bool allowFullscreenSwitch;

Description

If enabled, allows the user to switch between full screen and windowed mode using OS specific keyboard short cuts.